Timeline


and

2020-11-11:

20:49 Changeset in OpenModelica [0ff9ae6b]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Call update when shapes are resized

20:49 Changeset in OpenModelica [fe55bfd]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Set the transformation instead of setting position and rotation

Fixes ticket:6157

20:49 Changeset in OpenModelica [4da43e92]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Don't apply extends extent on the shapes inside the Element

20:49 Changeset in OpenModelica [d94f8b8a]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Element/Element.cpp

Check for NULL pointer to avoid crashes

20:49 Changeset in OpenModelica [fb063f11]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

First set the connection creation flag false to avoid unexpected events

Fixes ticket:6182

20:49 Changeset in OpenModelica [72c2d2a1]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Compiler/Script/Interactive.mo

Initialize the variable

20:07 Changeset in OpenModelica [de290263]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in OMCompiler/Compiler/Template/SCodeDumpTpl.tpl

Fix comment placement in SCodeDumpTpl

  • Comments go after equations/statements, not after then.
18:51 Changeset in OpenModelica [649352d1] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/Template/SCodeDumpTpl.tpl

Fix comment placement in SCodeDumpTpl

  • Comments go after equations/statements, not after then.
18:18 Changeset in OpenModelica [aead3d10]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 9 edits
    9 adds in /

Add missing low-hanging error checks

  • Check that initial() is used correctly in when-equations, and change the error message to not begin with unnecessary "The standard says that ...".
  • Check that return is only used inside functions and break only inside while- and for-loops.
  • Check for assignment to constants, parameters outside of initial algorithm sections and function inputs.
  • Add message that implicit iteration ranges are not implemented for reductions and array constructors instead of just failing silently.
18:18 Changeset in OpenModelica [f10cce6]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

Fix dumpXMLDAE when using the NF

  • Make sure the NF is not enabled while running dumpXMLDAE since it still uses the old frontend.
17:08 Changeset in OpenModelica [ddd9636] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

Fix dumpXMLDAE when using the NF

  • Make sure the NF is not enabled while running dumpXMLDAE since it still uses the old frontend.
17:06 Changeset in OpenModelica [86acb37] by Per Östlund <perost86@…>
  • 9 edits
    9 adds in /

Add missing low-hanging error checks

  • Check that initial() is used correctly in when-equations, and change the error message to not begin with unnecessary "The standard says that ...".
  • Check that return is only used inside functions and break only inside while- and for-loops.
  • Check for assignment to constants, parameters outside of initial algorithm sections and function inputs.
  • Add message that implicit iteration ranges are not implemented for reductions and array constructors instead of just failing silently.
16:07 Changeset in OpenModelica [fea2ef5] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Call update when shapes are resized

16:05 Changeset in OpenModelica [1c153a9d]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Call update when shapes are resized

16:02 Changeset in OpenModelica [f6673b9] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Set the transformation instead of setting position and rotation

Fixes ticket:6157

16:02 Changeset in OpenModelica [31877374] by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Don't apply extends extent on the shapes inside the Element

15:40 Changeset in OpenModelica [be99d6e] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Call update when shapes are resized

14:48 Changeset in OpenModelica [94032733]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 196 edits
    2 adds in OMCompiler

CMake improvments (#6896)

@mahge
Add missing susan template target.
b5b4271

  • This was working because the normal OpenModelica compilation generated the mo file from the tpl file. The CMake compilation was just picking that one and never complained.

@mahge
[cmake] Generate OpenModelicaScriptingAPI.mo
64eed1d

  • This was missing. CMake compilation worked only because the normal OpenModelica compilation generated this file. The CMake compilation was just picking up that file and never complained.

@mahge
[cmake] Move Dynload_omc.cpp to omcruntime lib.
423c76e

  • It was in omcbackendruntime. It seems like it "belongs" in omcruntime.

@mahge
[cmake] Remove omparse-boot.
2f1a1f4

  • It is not needed. We are trying a different approach for bootstrapping

@mahge
Move some scripting API functions to CevalScript.
e215985

  • This were in CevalScriptBackend.mo before. The reason they were in there was that the original plan for bootstrapping with the CMake config was to not use the bootstrap tarball. Instead the plan was to use the latest C source files of the MetaModelica sources that passed the CI run. This meant these scripting api functions were not technically needed for the 'normal bootstrapping' so they could be in the "backend" interface.

However, bootstrapping just changed. And the tarball(and related nuances)
are mostly gone. So at this point it is worth to take the same source
files that the normal bootstrapping uses since they are already
available within the repo.

@mahge
Add boot folder to cmake configuration/compilation
f5ffb54

@mahge
A quick support for generating config.unix.h.
4aae339

@mahge
Add boot libraries and use them for bootstrapping.
4795955

  • Added omparse-boot
  • Added omcruntime-boot
  • Added omcgraphstream-boot

All of this can probably be avoided if OpenModelciaBootstrapping header
is added to version control and updated with the bootstrapping sources.

For now I am going to do it this way since this is how the 'normal'
bootstrapping works.

@mahge
Use OpenModelicaBootstrappingHeader.h from tarball
03ebe58

  • Use OpenModelicaBootstrappingHeader.h from tarball-include for now.

It would be nice if it is also added to source control just like the
C bootstrapping source files. Otherwise it might actually break.

If we add it to source control we can also remove the boot libraries
like omparse-boot, omcruntime-boot ....

@mahge
Add generation of Util/Autoconf.mo
6714810

  • This adds a quick and ugly generation of Autoconf.mo from Autoconf.mo.in (linux) or from (copy only) Autoconf.mo.omdev.mingw (windows)
  • The generation code is added in Compiler/runtime/CMakeLists because we have a few variables already defiend in there for generation of config.unix.h.

This should probably be moved outside to some higher directory.

@mahge
Add (incomplete) generation of c/RuntimeSources.mo
7079cf4

  • This just a quick way to enable bootstrapping. The contents of the file are not really complete and can not be expected to be used for simulation yet. But that is the case for many other things regarding simulation executable compilation. There is some work needed to handle that.

@mahge
Update 3rdParty submodule.
36ecba5

  • The changes from the branch are merged to master on 3rdParty. Submodule head is updated now.
14:25 Ticket #6154 (OM does not show diagrams correctly when library is late loaded, while ...) closed by adeas31
fixed: This works as expected for me after the fix of #6157.
14:25 Ticket #6157 (Erroneous text position) closed by adeas31
fixed: Fixed in f62cc7f/OpenModelica.
14:14 Changeset in OpenModelica [f62cc7f]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Set the transformation instead of setting position and rotation

Fixes ticket:6157

14:13 Changeset in OpenModelica [7f38cd10]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Don't apply extends extent on the shapes inside the Element

13:49 Changeset in OpenModelica [221b299]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 4669 edits in testsuite

Set explicit frontend in all test cases

13:41 Changeset in OpenModelica [9dbd194a] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

Set the transformation instead of setting position and rotation

Fixes ticket:6157

13:25 Changeset in OpenModelica [074e14e1] by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Don't apply extends extent on the shapes inside the Element

13:16 Changeset in OpenModelica [5c52d524]maintenance/v1.14 by GitHub <noreply@…>
  • 2 edits in OMCompiler

Look for deprecated lapack functions (#6913)

Note that if we do not have the deprecated lapack functions, older
versions of the Modelica standard library will fail to compile since
it uses these functions and no replacement is provided.

https://trac.openmodelica.org/OpenModelica/ticket/4886

Cherry-picked from (#734)

13:01 Changeset in OpenModelica [63aa1a7] by Per Östlund <perost86@…>
  • 4669 edits in testsuite

Set explicit frontend in all test cases

12:30 Changeset in OpenModelica [7a39ab1d] by Martin Sjölund <martin.sjolund@…>
  • 2 edits in OMCompiler

Look for deprecated lapack functions (#734)

Note that if we do not have the deprecated lapack functions, older
versions of the Modelica standard library will fail to compile since
it uses these functions and no replacement is provided.

https://trac.openmodelica.org/OpenModelica/ticket/4886

11:26 Ticket #6216 (Visualisation in MultiBody.Examples.Elementary.Surfaces not functional) created by anonymous
When simulating …
11:14 Changeset in OpenModelica [36ecba55] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/3rdParty

Update 3rdParty submodule.

  • The changes from the branch are merged to master on 3rdParty. Submodule head is updated now.
09:57 Changeset in OpenModelica [78a2103d]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 2 edits in doc/bibliography

Add the OM overview article to the bibtex database (#6912)

09:28 Changeset in OpenModelica [5f88c41] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Element/Element.cpp

Check for NULL pointer to avoid crashes

08:55 Changeset in OpenModelica [472e9ebd] by Martin Sjölund <martin.sjolund@…>
  • 2 edits in doc/bibliography

Add the OM overview article to the bibtex database

00:35 Changeset in OpenModelica [ba128a4] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

First set the connection creation flag false to avoid unexpected events

Fixes ticket:6182

00:35 Changeset in OpenModelica [ee691de1] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/Interactive.mo

Initialize the variable

2020-11-10:

22:36 Ticket #6215 (OMEdit fails to simulate) created by dersh
I hope that it is still useful to create tickets that might be Mac …
18:44 Changeset in OpenModelica [0d286e5f]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Element/Element.cpp

Check for NULL pointer to avoid crashes

16:43 Changeset in OpenModelica [66b06b41] by Per Östlund <perost86@…>
  • 4670 edits in /

Enable -d=newInst as default.

  • Flip the default value for the newInst debug flag.
  • Add -d=-newInst to all test cases using the old frontend.
16:29 Ticket #6214 (Simulate OpenModelica models on linux Server/Cluster) created by lukas.koenemann@…
Hello, I'm using OpenModelica to simulate/optimize an decentralized …
16:25 Changeset in OpenModelica [a26c33e] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Element/Element.cpp

Check for NULL pointer to avoid crashes

16:25 Changeset in OpenModelica [7079cf45] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 2 edits
    1 add in OMCompiler/SimulationRuntime

Add (incomplete) generation of c/RuntimeSources.mo

  • This just a quick way to enable bootstrapping. The contents of the file are not really complete and can not be expected to be used for simulation yet. But that is the case for many other things regarding simulation executable compilation. There is some work needed to handle that.
16:25 Changeset in OpenModelica [6714810] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/runtime/CMakeLists.txt

Add generation of Util/Autoconf.mo

  • This adds a quick and ugly generation of Autoconf.mo from Autoconf.mo.in (linux) or from (copy only) Autoconf.mo.omdev.mingw (windows)
  • The generation code is added in Compiler/runtime/CMakeLists because we have a few variables already defiend in there for generation of config.unix.h.

This should probably be moved outside to some higher directory.

16:25 Changeset in OpenModelica [03ebe580] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/boot/CMakeLists.txt

Use OpenModelicaBootstrappingHeader.h from tarball

  • Use OpenModelicaBootstrappingHeader.h from tarball-include for now.

It would be nice if it is also added to source control just like the
C bootstrapping source files. Otherwise it might actually break.

If we add it to source control we can also remove the boot libraries
like omparse-boot, omcruntime-boot ....

16:25 Changeset in OpenModelica [47959554] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 3 edits in OMCompiler

Add boot libraries and use them for bootstrapping.

  • Added omparse-boot
  • Added omcruntime-boot
  • Added omcgraphstream-boot

All of this can probably be avoided if OpenModelciaBootstrapping header
is added to version control and updated with the bootstrapping sources.

For now I am going to do it this way since this is how the 'normal'
bootstrapping works.

16:25 Changeset in OpenModelica [4aae339] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/runtime/CMakeLists.txt

A quick support for generating config.unix.h.

16:25 Changeset in OpenModelica [f5ffb54] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit
    1 add in OMCompiler/Compiler

Add boot folder to cmake configuration/compilation

16:25 Changeset in OpenModelica [e215985] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 189 edits in OMCompiler/Compiler

Move some scripting API functions to CevalScript.

  • This were in CevalScriptBackend.mo before. The reason they were in there was that the original plan for bootstrapping with the CMake config was to not use the bootstrap tarball. Instead the plan was to use the latest C source files of the MetaModelica sources that passed the CI run. This meant these scripting api functions were not technically needed for the 'normal bootstrapping' so they could be in the "backend" interface.

However, bootstrapping just changed. And the tarball(and related nuances)
are mostly gone. So at this point it is worth to take the same source
files that the normal bootstrapping uses since they are already
available within the repo.

16:25 Changeset in OpenModelica [2f1a1f4c] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Parser/CMakeLists.txt

[cmake] Remove omparse-boot.

  • It is not needed. We are trying a different approach for bootstrapping
16:25 Changeset in OpenModelica [423c76e1] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/runtime/CMakeLists.txt

[cmake] Move Dynload_omc.cpp to omcruntime lib.

  • It was in omcbackendruntime. It seems like it "belongs" in omcruntime.
16:25 Changeset in OpenModelica [64eed1d0] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/CMakeLists.txt

[cmake] Generate OpenModelicaScriptingAPI.mo

  • This was missing. CMake compilation worked only because the normal OpenModelica compilation generated this file. The CMake compilation was just picking up that file and never complained.
16:25 Changeset in OpenModelica [b5b42711] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/.cmake/template_compilation.cmake

Add missing susan template target.

  • This was working because the normal OpenModelica compilation generated the mo file from the tpl file. The CMake compilation was just picking that one and never complained.
16:10 Changeset in OpenModelica [ba83d81]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 78 edits
    2 adds in /

Update SUNDIALS to v5.4.0

  • Updated OMCompiler-3rdParty
  • Updating C, FMI, OMSICpp and old C++ runtimes to use new API of SUNDIALS.
  • Added shared error handling for functions using SUNDIALS routines.
  • Sorted constant strings for includes in runtimes and FMI.
  • Updated testuite.
  • Fixes for SUNDIALS building / linking on MSVC.
15:42 Ticket #6213 (Lookup in wrong scope when redeclaring function field in a function) created by sjoelund.se
Modelica_LinearSystems2.Controller.Examples.DiscretizationSeries has …
15:30 Changeset in OpenModelica [8aeb1f61]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 3 edits in OMEdit/OMEditLIB

Call process events to make sure status bar message is shown (#6905)

  • Call process events to make sure status bar message is shown
  • Call repaint() instead of qApp->processEvents()
14:43 Changeset in OpenModelica [7af1d798] by AnHeuermann <andreas.heuermann@…>
  • 78 edits
    2 adds in /

Update SUNDIALS to v5.4.0

  • Updated OMCompiler-3rdParty
  • Updating C, FMI, OMSICpp and old C++ runtimes to use new API of SUNDIALS.
  • Added shared error handling for functions using SUNDIALS routines.
  • Sorted constant strings for includes in runtimes and FMI.
  • Updated testuite.
  • Fixes for SUNDIALS building / linking on MSVC.
14:30 Changeset in OpenModelica [d21c9264]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 2 edits in OMCompiler/Compiler

Improve check for partial elements.

  • Don't check for partial elements inside redeclared classes.
  • Move check for nfAPI flag to after verifying that an element is partial, to avoid unnecessary flag checking.
14:26 Changeset in OpenModelica [c936d0fb]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 2 edits in OMEdit

Do not put libOMEdit.a in build/ (#6907)

14:26 Changeset in OpenModelica [9e481a4]maintenance/v1.16 by GitHub <noreply@…>
  • 2 edits in OMEdit

Do not put libOMEdit.a in build/ (#6908)

13:30 Changeset in OpenModelica [199fd107] by Martin Sjölund <martin.sjolund@…>
  • 2 edits in OMEdit

Do not put libOMEdit.a in build/

13:29 Changeset in OpenModelica [38a18c9f] by Martin Sjölund <martin.sjolund@…>
  • 2 edits in OMEdit

Do not put libOMEdit.a in build/

13:07 Ticket #6212 (First tick of shiftsample is missing) created by p.van.der.hulst@…
Hi, When shifting a clock with shiftSample (as explained in Fritzson, …
13:05 Changeset in OpenModelica [70aa4c2a] by Per Östlund <perost86@…>
  • 2 edits in OMCompiler/Compiler

Improve check for partial elements.

  • Don't check for partial elements inside redeclared classes.
  • Move check for nfAPI flag to after verifying that an element is partial, to avoid unnecessary flag checking.
11:40 Ticket #6211 (VDI6007.TestCaseXX models fail in Buildings) created by casella
All the VDI6007.TestCaseXX models in Buildings fail because of the …
11:37 Ticket #6210 (Linker error involving Buildings models) created by casella
Please check …
11:36 Changeset in OpenModelica [bbb0ed3] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Util/Utilities.h

Call repaint() instead of qApp->processEvents()

11:31 Ticket #6209 (Issue with record in array in Buildings) created by casella
Please check …
11:12 Ticket #6208 (The NF does not recognize record of parameters as a parameter itself) created by casella
Please check …
10:52 Ticket #6207 (Mixed under/overdetermined initialization problem in Buildings) created by casella
Please check …
10:49 Ticket #6206 (The NF fails to evaluate expression in Buildings library) created by casella
Please check …
10:46 Ticket #6205 (Problem with code generation involving records in Buildings) created by casella
Please check …
10:38 Changeset in OpenModelica [a2396680] by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Call process events to make sure status bar message is shown

10:35 Ticket #6204 (Issues with Buildings model writing files to tmp directory) created by casella
Please check …
10:14 Ticket #6203 (Some parameters seem to be never assigned in Buildings models) created by casella
Please check …
09:52 Ticket #6202 (Make the NF the default also from the command line) created by casella
It's time to make the NF the default choice for compilation also from …

2020-11-09:

20:31 Changeset in OpenModelica [ff3d613b] by GitHub <noreply@…>
  • 1 add in .github/ISSUE_TEMPLATE/bug_report.md

Add issue templates

With this we can get more consistent bug reports.

19:02 Changeset in OpenModelica [af7975b7]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 9 edits in /

[BE] update solveSimpleEquations

  • do not use preprocessed expressions to create new equation if it could not be solved
  • fixes ticket #4293
  • has to change /simulation/libraries/msl32/Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.mos from verified to simple simulation mathematically the initialization has multiple solutions and our results display the second possible solution. taking the description into account the new solution is the intended one and the old one is not. We cannot change the reference file because it is provided by modelica association and we have to comply. Updating the start value rightBoundary1.ports[1].m_flowleftBoundary1.ports[1].m_flow to something like 40 will produce the inteded solution in dymola. Once that and the result file have been updated by the modelica association we can change it back.
  • one optimitazation result file had to be updated because of slightly different trajectories. Same results!

[testsuite] small convergence fix

17:16 Ticket #6182 ([HUBCAP] Crash in latest nigly when connecting FMU ports in SSP) closed by adeas31
fixed: Fixed in bc86d38/OpenModelica.
17:10 Changeset in OpenModelica [bc86d381]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

First set the connection creation flag false to avoid unexpected events

Fixes ticket:6182

16:52 Changeset in OpenModelica [85be24f] by Karim Abdelhak <karim.abdelhak@…>
  • 9 edits in /

[BE] update solveSimpleEquations

  • do not use preprocessed expressions to create new equation if it could not be solved
  • fixes ticket #4293
  • has to change /simulation/libraries/msl32/Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.mos from verified to simple simulation mathematically the initialization has multiple solutions and our results display the second possible solution. taking the description into account the new solution is the intended one and the old one is not. We cannot change the reference file because it is provided by modelica association and we have to comply. Updating the start value rightBoundary1.ports[1].m_flowleftBoundary1.ports[1].m_flow to something like 40 will produce the inteded solution in dymola. Once that and the result file have been updated by the modelica association we can change it back.
  • one optimitazation result file had to be updated because of slightly different trajectories. Same results!

[testsuite] small convergence fix

16:27 Changeset in OpenModelica [8cb82eab] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

First set the connection creation flag false to avoid unexpected events

Fixes ticket:6182

16:10 Ticket #6201 (Acos in implicit function, failing to solve non-linear system) created by AnHeuermann
For the following model the runtime needs to solve x implicit: …
14:05 Changeset in OpenModelica [68e1a6e2] by Karim Abdelhak <karim.abdelhak@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/Initialization.mo

[BE] do not remove initial() in simulation system

  • fixes ticket #6186
  • the simulation system is once called on time=0 and should still consider initial() to be true so it has to be kept
13:06 Changeset in OpenModelica [b18b700d]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditGUI/OMEditGUI.win.config.pri

Fixed OMEdit OpenSceneGraph binaries path

13:05 Changeset in OpenModelica [19b63302]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Compiler/Script/Interactive.mo

Initialize the variable

12:40 Ticket #6200 (Issues with redundant initial conditions in Buildings model?) created by casella
Please check …
12:07 Changeset in OpenModelica [e269b242]maintenance/v1.14 by GitHub <noreply@…>
  • 10 edits in OMPlot/qwt/src

Fix compilation of qwt on 1.14 using gcc 10 (#6899)

09:53 Changeset in OpenModelica [f0ec692c]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Treat modelica_fnptr as metatype for 'for loop' iter (#6887)

  • The proper fix might be to actually wrap T_FUNCTION_REFERENCE_VAR in

DAE.META_TYPE.
This works for now.

09:27 Changeset in OpenModelica [66a5b11d] by Martin Sjölund <martin.sjolund@…>
  • 10 edits in OMPlot/qwt/src

Fix compilation of qwt on 1.14 using gcc 10

01:09 Ticket #6199 (Mixed under/overdetermined initialization problem in Buildings) created by casella
Please check …
00:59 Ticket #6198 (Index reduction issue in Buildings: the backend tries to differentiate ...) created by casella
Please check …
00:55 Ticket #6197 (Issues with code generation in the Buildings library) created by casella
Please check …
00:51 Ticket #6196 (Undetected high-index DAE or incorrectly handled overdetermined ...) created by casella
Please check …
00:33 Ticket #6195 (Assert triggered incorrectly on variable computed with conditional ...) created by casella
Please check …

2020-11-08:

23:48 Ticket #6194 (Issue with chattering involving arrays in the Buildings library) created by casella
Please check …
23:42 Ticket #6193 (NFFlatten.flatten fails in Buildings models) created by casella
Please check …
23:38 Ticket #6192 (Several ChillerCooled models in Buildings fail during initialization) created by casella
See, e.g., …
23:29 Ticket #6191 (Autocompletion information box sometimes gets stuck) created by anonymous
With 1.16 i encountered a new problem with OMEdit Text editor, that …
20:30 Ticket #6190 (Issue with homotopy and Pantelides during initialization in Buildings) created by casella
Please check …
20:21 Ticket #6189 (getElementAnnotation is very slow on Buildings models) created by casella
Opening …
18:05 Ticket #3330 (Error occurred while flattening model ...) closed by casella
wontfix: This ticket is now obsolete, the test model is no longer available.
18:03 Ticket #6096 (Issues with redeclare in Buildings) closed by casella
fixed: Opened #6188 on the new specific issue.
18:02 Ticket #6188 (NF Type mismatch in Buildings model involving redeclared class) created by casella
https://libraries.openmodelica.org/branches/master/Buildings_7.0.0/file
17:58 Ticket #3761 (Buildings coverage went down after library update) closed by casella
wontfix: Probably obsolete at this point
17:41 Ticket #5990 (NFScalarize.scalarizeVariable fails in Buildings example) closed by casella
fixed: The problem was fixed in the meantime, see …
17:36 Ticket #6028 (Many Buildings libraries fail with no error message) closed by casella
fixed: Duplicate of #5988
17:31 Ticket #5989 (Issue with NF and evalSub in Buildings) closed by casella
fixed: This issue was solved in the meantime, the compilation now fails later …
13:58 Ticket #5324 (Incorrect final detected by NF?) closed by casella
fixed: This issue seems to be resolved in 1.17.0. Now the frontend fails for …
13:56 Ticket #3150 (Wrong variability for array reduction) closed by casella
fixed: Works in 1.17.0-dev, in including …

2020-11-07:

20:07 Ticket #6012 (Handle default choices for redeclare as default choices for parameters) closed by adrpo
fixed: As far as I can tell this is fixed. Reopen if not.
11:16 Ticket #6167 (Rendering problem with Modelica.Fluid icons) closed by adrpo
fixed
11:16 Changeset in OpenModelica [84b4a71]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

fix #6167 allow partial handling in NF when -d=nfAPI is on

  • allow lookup in partial classes
  • allow calling partial functions
  • instantiate partial classes and packages
  • add a test so we don't break this again
01:23 Changeset in OpenModelica [86796ce] by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

fix #6167 allow partial handling in NF when -d=nfAPI is on

  • allow lookup in partial classes
  • allow calling partial functions
  • instantiate partial classes and packages
  • add a test so we don't break this again
01:21 Changeset in OpenModelica [4486fa0]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

fix #6167 allow partial handling in NF when -d=nfAPI is on

  • allow lookup in partial classes
  • allow calling partial functions
  • instantiate partial classes and packages
  • add a test so we don't break this again
00:41 Changeset in OpenModelica [137396a] by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

fix #6167 allow partial handling in NF when -d=nfAPI is on

  • allow lookup in partial classes
  • allow calling partial functions
  • instantiate partial classes and packages
  • add a test so we don't break this again

2020-11-06:

19:06 Ticket #6187 (Plots to Clipboard) created by ceraolo
I love the possibility that e have in OM to export diagrams, as …
15:38 Changeset in OpenModelica [e530797e]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in OMCompiler/Compiler/SimCode/SimCodeUtil.mo

[SimCode] remove wrong singular if expression fix

  • original fix would replace solving following equation w.r.t. x

0.0 = if condition then func1(x, ...) else func2(...);

with

0.0 = if condition then func1(x, ...) else x - pre(x);

  • this seems to be a hotfix for seemingly singular systems and has to be removed because this only works if condition = true. Otherwise func2() = 0 has to be respected
  • only possible to solve if condition is a structural parameter, otherwise it is a multi-mode system (dynamic index)
  • detecting these structural parameters should be possible after PR #6892
14:43 Changeset in OpenModelica [d9a60dd] by Karim Abdelhak <karim.abdelhak@…>
  • 1 edit in OMCompiler/Compiler/SimCode/SimCodeUtil.mo

[SimCode] remove wrong singular if expression fix

  • original fix would replace solving following equation w.r.t. x

0.0 = if condition then func1(x, ...) else func2(...);

with

0.0 = if condition then func1(x, ...) else x - pre(x);

  • this seems to be a hotfix for seemingly singular systems and has to be removed because this only works if condition = true. Otherwise func2() = 0 has to be respected
  • only possible to solve if condition is a structural parameter, otherwise it is a multi-mode system (dynamic index)
  • detecting these structural parameters should be possible after PR #6892
13:54 Ticket #2963 (Assert within Initial Equation triggers during simulation) closed by AnHeuermann
worksforme: > Is this intended? No it's not. I tested this example again with …
13:12 Ticket #6186 (Assert triggered during initialization despite "not initial()" ...) created by AnHeuermann
When formulating an assert that is not allowed to be checked during …
12:58 Changeset in OpenModelica [30bf2005] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditGUI/OMEditGUI.win.config.pri

Fixed OMEdit OpenSceneGraph binaries path

12:57 Changeset in OpenModelica [8f3ec36b]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

Improve if-equation branch selection.

  • Mark conditions in if-equations as structural if they're non-fixed parameter expressions after evaluating connection operators.
12:55 Changeset in OpenModelica [b3a16a1f] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Compiler/Script/Interactive.mo

Initialize the variable

12:30 Changeset in OpenModelica [6c61006]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/dataReconciliation/dataReconciliation.cpp

fix dataReconciliation tests for windows

12:05 Changeset in OpenModelica [c93bda4] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

Improve if-equation branch selection.

  • Mark conditions in if-equations as structural if they're non-fixed parameter expressions after evaluating connection operators.
11:59 Ticket #6185 (Freeze&Crash (occasionally) when modifying Plot Setup) created by anonymous
Sometimes, when in Plotting mode, modifying the appearance of plotted …
10:56 Ticket #6183 (fully qualified name missing in complex equation) closed by vwaurich
fixed
10:27 Ticket #6184 (getInstallationDirectoryPath() depends on executable starting location) created by adeas31
If I start OMEdit from $OPENMODELICAHOME/build/bin then I get, …
10:11 Changeset in OpenModelica [02453a5d] by arun3688 <rain100falls@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/dataReconciliation/dataReconciliation.cpp

fix dataReconciliation tests for windows

09:59 Ticket #6183 (fully qualified name missing in complex equation) created by vwaurich
Hi, Please have a look on the attached model TestEnvironment2. …
03:46 Ticket #6180 (Nested records which seek to assign values between each other now fail ...) closed by anonymous
fixed: We've confirmed here that building with the -d=newInst switch works …

2020-11-05:

12:53 Changeset in OpenModelica [79631aff]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Makefile.common

Use updated SEMLA cmake arguments

11:53 Changeset in OpenModelica [d231cb1] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Makefile.common

Use updated SEMLA cmake arguments

11:23 Ticket #6182 ([HUBCAP] Crash in latest nigly when connecting FMU ports in SSP) created by diewald@…
Hi, the latest nightly in a HUBCAP sandbox crashes when connecting …
06:06 Ticket #6181 (Boolean incorrectly evaluated and asserts, implying negative time?) created by craig.fletcher@…
The following asserts time is less than zero. Did not assert in …
04:54 Ticket #6180 (Nested records which seek to assign values between each other now fail ...) created by craig.fletcher@…
Sample code follows below. This code compiles in previous releases …
03:16 Ticket #5290 (OMEdit should look the same on high-resolution, high-dpi screens) closed by casella
fixed: Now that OMDev has been updated to the new QT, everything looks much …
03:15 Ticket #5043 (Use clang also on Windows) closed by casella
fixed: Just tried it, much faster than gcc indeed.
03:14 Ticket #5307 (Update OMDev to include clang and updated QT libraries) closed by casella
fixed: There are some minor glitches, but overall this was succesful, and a …
03:12 Ticket #6179 (Improve clang compilation on Windows) created by casella
I just tried clang compilation on Windows and it is way faster than th …

2020-11-04:

19:07 Changeset in OpenModelica [90dd676]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Makefile.omdev.mingw

copy the dlls needed by omc

17:55 Changeset in OpenModelica [7f0f52e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Makefile.omdev.mingw

copy the dlls needed by omc

15:36 Changeset in OpenModelica [8692e6d]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 15 edits
    1 add in /

Improve function call type specifiers.

  • Use the type vars defined on the function instead of trying to deduce them from the function output. This makes it possible to specify which polymorphic types that need to be specified by the caller and is also more predictable.
14:41 Changeset in OpenModelica [0c5a5e5c] by Per Östlund <perost86@…>
  • 15 edits
    1 add in /

Improve function call type specifiers.

  • Use the type vars defined on the function instead of trying to deduce them from the function output. This makes it possible to specify which polymorphic types that need to be specified by the caller and is also more predictable.
14:34 Changeset in OpenModelica [3ce6c241] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Treat modelica_fnptr as metatype for for loop iter

  • The proper fix might be to actually wrap T_FUNCTION_REFERENCE_VAR in DAE.META_TYPE. This works for now. Let's what the CI says.
13:39 Changeset in OpenModelica [c7708ff]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 6 edits in OMCompiler/SimulationRuntime

Fix mod calculation for integer negative divisor

According to the specification 3.7.1.1 the modulus has the same sign
as the divisor. Unfortunately the % operator in C and C++ works in a
different way. Basically division trunkates towards zero instead of
rounding down towards negative infinity. So we need to manually check
that the result is in the correct range.

11:58 Ticket #6178 (unable -assert (simulation flag) with ompython) created by lukas.koenemann@…
Hello, I'm using OMPython to simulate OpenModelica models. Inside of …
09:52 Ticket #6177 (Graphic Modelling does not respect tab / indentation settings) created by anonymous
After changing Tabs and Indentation in Text Editor of OMEdit to "Tabs …
Note: See TracTimeline for information about the timeline view.