From 832505873fac289922e02525f96f2467f07f6d49 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Mon, 20 Jul 2026 14:08:05 +0200 Subject: [PATCH 1/7] Fix formatting of nout parameter in CombiTable1Ds --- Modelica/Blocks/Tables.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Tables.mo b/Modelica/Blocks/Tables.mo index 50e38d1d56..257f5f1b83 100644 --- a/Modelica/Blocks/Tables.mo +++ b/Modelica/Blocks/Tables.mo @@ -4,7 +4,7 @@ package Tables extends Modelica.Icons.Package; block CombiTable1Ds "Table look-up in one dimension (matrix/file) with one input and n outputs" - extends Modelica.Blocks.Interfaces.SIMO(final nout=size(columns, 1)); + extends Modelica.Blocks.Interfaces.SIMO(final nout = size(columns, 1)); parameter Boolean tableOnFile=false "= true, if table is defined on file or in function usertab" annotation (Dialog(group="Table data definition")); From c0592d1227e1cb21e969f5f34e8c6ba3bb1f308a Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:26:18 +0200 Subject: [PATCH 2/7] Fix comment formatting in ModelicaIO.c --- Modelica/Resources/C-Sources/ModelicaIO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Resources/C-Sources/ModelicaIO.c b/Modelica/Resources/C-Sources/ModelicaIO.c index 4d5472763d..61205050c7 100644 --- a/Modelica/Resources/C-Sources/ModelicaIO.c +++ b/Modelica/Resources/C-Sources/ModelicaIO.c @@ -1,4 +1,4 @@ -/* ModelicaIO.c - Array I/O functions +/* ModelicaIO.c - Array I/O functions Copyright (C) 2016-2025, Modelica Association and contributors All rights reserved. From e8d08ccba31a8474e200ca70a9462e743d5c0e35 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Wed, 22 Jul 2026 09:05:00 +0200 Subject: [PATCH 3/7] Fix formatting of delimiter parameter declaration --- Modelica/Blocks/Tables.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Tables.mo b/Modelica/Blocks/Tables.mo index 257f5f1b83..2a89e8f1b4 100644 --- a/Modelica/Blocks/Tables.mo +++ b/Modelica/Blocks/Tables.mo @@ -20,7 +20,7 @@ package Tables enable=tableOnFile, loadSelector(filter="Text files (*.txt);;MATLAB MAT-files (*.mat);;Comma-separated values files (*.csv)", caption="Open file in which table is present"))); - parameter String delimiter="," "Column delimiter character for CSV file" + parameter String delimiter = "," "Column delimiter character for CSV file" annotation (Dialog( group="Table data definition", enable=tableOnFile and isCsvExt), From 37900ca2aeef77f60a17ffc1303638eb42e96b6a Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Wed, 22 Jul 2026 09:36:05 +0200 Subject: [PATCH 4/7] Add comment to ModelicaIO.c header Added a comment to the header of ModelicaIO.c. --- Modelica/Resources/C-Sources/ModelicaIO.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modelica/Resources/C-Sources/ModelicaIO.c b/Modelica/Resources/C-Sources/ModelicaIO.c index 61205050c7..a1d19e7e5d 100644 --- a/Modelica/Resources/C-Sources/ModelicaIO.c +++ b/Modelica/Resources/C-Sources/ModelicaIO.c @@ -27,6 +27,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + JUST A STUPID COMMENT */ /* Definition of interface to external functions for array I/O From 55d59e5ff38fbfe40d34a2af626b111780dfcb76 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Wed, 22 Jul 2026 09:44:52 +0200 Subject: [PATCH 5/7] Update comment from 'stupid' to 'smart' --- Modelica/Resources/C-Sources/ModelicaIO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Resources/C-Sources/ModelicaIO.c b/Modelica/Resources/C-Sources/ModelicaIO.c index a1d19e7e5d..2efe042433 100644 --- a/Modelica/Resources/C-Sources/ModelicaIO.c +++ b/Modelica/Resources/C-Sources/ModelicaIO.c @@ -27,7 +27,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - JUST A STUPID COMMENT + JUST A SMART COMMENT */ /* Definition of interface to external functions for array I/O From 58d4ea0402248e45b0ea120149c81ec3e61c5a8b Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Wed, 22 Jul 2026 11:20:33 +0200 Subject: [PATCH 6/7] Update header with changelog entry Updated the header to include a changelog entry for July 22, 2026. --- Modelica/Resources/C-Sources/ModelicaIO.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modelica/Resources/C-Sources/ModelicaIO.c b/Modelica/Resources/C-Sources/ModelicaIO.c index 2efe042433..a9651c89ef 100644 --- a/Modelica/Resources/C-Sources/ModelicaIO.c +++ b/Modelica/Resources/C-Sources/ModelicaIO.c @@ -38,6 +38,9 @@ Modelica.Utilities.Streams.writeRealMatrix Changelog: + July 22, 2026: by Matthias Schaefer + update header + Nov. 27, 2021: by Thomas Beutlich Fixed error handling for invalid format specifier in text file (ticket #3903) From eea5f016b5ed392d2c3eeda315c2212b4aaaa3f3 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer <86839591+MatthiasBSchaefer@users.noreply.github.com> Date: Wed, 22 Jul 2026 11:27:36 +0200 Subject: [PATCH 7/7] Fix formatting of temperature coefficient parameter --- Modelica/Electrical/Analog/Basic/Resistor.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Electrical/Analog/Basic/Resistor.mo b/Modelica/Electrical/Analog/Basic/Resistor.mo index d1e388a86b..cf5e501973 100644 --- a/Modelica/Electrical/Analog/Basic/Resistor.mo +++ b/Modelica/Electrical/Analog/Basic/Resistor.mo @@ -3,7 +3,7 @@ model Resistor "Ideal linear electrical resistor" parameter SI.Resistance R(start=1) "Resistance at temperature T_ref"; parameter SI.Temperature T_ref=300.15 "Reference temperature"; - parameter SI.LinearTemperatureCoefficient alpha=0 + parameter SI.LinearTemperatureCoefficient alpha= 0.0 "Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref)))"; extends Modelica.Electrical.Analog.Interfaces.OnePort;