Timeline


and

2020-12-04:

21:19 Changeset in OpenModelica [f20b1fdf]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

Add division by zero check for function code. (#7023)

19:20 Ticket #6273 (linearization enhancement) created by anonymous
with reference to forum …
19:15 NEW_linearize.zip attached to TracTickets by anonymous
19:09 Ticket #6266 (Index out of bounds for array returned by built-in function) closed by perost
fixed: Fixed in 620b4e42.
19:08 Ticket #6268 (Array[1,dim] gets changed to Array[dim,1]) closed by perost
fixed: Fixed in 620b4e42.
19:06 Changeset in OpenModelica [621d1fe]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 3 edits in OMCompiler/Compiler/FrontEnd

Fix array constructor handling in old frontend

  • Fix simplification and evaluation of array constructors.
17:54 Ticket #6272 (installPackage does not work on Windows) created by AnHeuermann
When trying to install packages with OMEdit - OpenModelica Compiler …
17:39 Changeset in OpenModelica [620b4e42] by Per Östlund <perost86@…>
  • 3 edits in OMCompiler/Compiler/FrontEnd

Fix array constructor handling in old frontend

  • Fix simplification and evaluation of array constructors.
17:34 Changeset in OpenModelica [ea73a5d] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Add division by zero check for function code.

17:24 Changeset in OpenModelica [b7849dd] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in testsuite/simulation/modelica/arrays/Makefile

Add the test to the Makefile :/

17:20 Changeset in OpenModelica [f33c31c8]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 4 edits in /

Fix the OMSens plugin path (#7018)

Update OMSens_Qt

17:00 Ticket #6271 (Loading, compiling and running a model instantiating PowerSysPro ...) created by jean-philippe.tavella@…
I now try to instantiate PowerSysPro classes in a Modelica model. This …
16:58 Changeset in OpenModelica [b67ad1fb] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 2 adds in testsuite/simulation/modelica/arrays

Add tests for ticket #6099.

  • One of the test cases has been slightly modified to avoid division by zero.
  • Annotation for printing debug info are removed for the tests.
16:46 Changeset in OpenModelica [e4a3890b]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

Don't expand records with --newBackend.

15:54 Ticket #6270 (Hitting ESC in OMEdit creates an invalid state) created by ceraolo
Hitting ESC in OMEdit creates an invalid state Steps to reproduce: …
15:07 Changeset in OpenModelica [0846e1ae] by Karim Abdelhak <karim.abdelhak@…>
  • 62 edits
    85 moves
    31 adds
    165 deletes in /

Merge branch 'master' of github.com:perost/OpenModelica into newBackend

14:47 Changeset in OpenModelica [2886bda] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

Don't expand records with --newBackend.

14:27 Changeset in OpenModelica [b660d2cc] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMSens_Qt

Update OMSens_Qt

13:44 Changeset in OpenModelica [b8b39cb] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCall.mo

listReverse iters in TYPED_ARRAY_CONSTRUCTOR

13:22 Changeset in OpenModelica [c68b1b0] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/MainWindow.cpp

Fix Windows path and add a message for MacOS

13:06 Changeset in OpenModelica [10f9183] by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit

Fix the OMSens plugin path

12:14 Ticket #6269 (Creating new Composite model freezes OMEdit (WSL)) created by AnHeuermann
When trying to create a new composit from the drop-down menu with …
11:03 Ticket #6268 (Array[1,dim] gets changed to Array[dim,1]) created by AnHeuermann
I have a model that calls a built-in function point-wise on a vector …
01:21 Ticket #6179 (Improve clang compilation on Windows) closed by adrpo
fixed
01:21 Changeset in OpenModelica [f6d7f17]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/Util/Autoconf.mo.omdev.mingw

fix #6179 link dynamically with -lstdc++ (#7017)

00:16 Changeset in OpenModelica [13529df]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in testsuite/flattening/modelica/scodeinst/WhenCondition5.mo

Fix WhenCondition5 test case.

2020-12-03:

23:51 Changeset in OpenModelica [79f354c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Util/Autoconf.mo.omdev.mingw

fix #6179 link dynamically with -lstdc++

23:02 Changeset in OpenModelica [ea90805]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 3 edits in OMCompiler/Compiler/runtime

Assume that we have Lapack on Windows. (#7011)

@mahge
Assume that we have Lapack on Windows.
b8945da

  • We also Assume that the lapack we have provides the deprecated lapack routines.

@mahge
Add error message for missing Lapack.
9ede3c8

  • If omc is not compiled with no lapack support make sure we print an error if someone tries to use the empty lapack stub functions.
  • It seems lapack is actually mandatory for OMC at this point so maybe we should just remove the stubs and let compilation omc fail if there is no lapack.
23:02 Changeset in OpenModelica [ff04eda] by Per Östlund <perost86@…>
  • 1 edit in testsuite/flattening/modelica/scodeinst/WhenCondition5.mo

Fix WhenCondition5 test case.

20:36 Ticket #6257 (Issue with ThermoSysPro) closed by AnHeuermann
fixed: https://github.com/OpenModelica/OpenModelica/pull/6999 is now merged. …
20:35 Changeset in OpenModelica [d4ac05b]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 2 edits in /

Handle commonSubExpressions for quite complex equations

  • Handle complex equaitons where a function returns a tuple of records and the records contain alias variables. So something like

TUPLE(CALL(),RECORD()) = CALL()

20:35 Changeset in OpenModelica [f950f0f]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/CommonSubExpression.mo

Add missing else for addConstantCseVarsToGlobalKnownVarHT

18:56 Changeset in OpenModelica [0325f4b2]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 3 edits in doc/UsersGuide/source

Update homotopy initialization and algebraic solvers documetnation

  • Added documentation to user's guide
18:56 Changeset in OpenModelica [d7d5c1c6]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 3 edits in doc

Fixing omc errors in UsersGuide

18:56 Changeset in OpenModelica [5d5caf4e]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 3 edits
    1 add in doc

Add WIP README, update conf.py to Python3

18:56 Changeset in OpenModelica [3350a49] by AnHeuermann <andreas.heuermann@…>
  • 2 edits in /

Handle commonSubExpressions for quite complex equations

  • Handle complex equaitons where a function returns a tuple of records and the records contain alias variables. So something like

TUPLE(CALL(),RECORD()) = CALL()

18:39 Changeset in OpenModelica [cd9cb4c] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/RemoveSimpleEquations.mo

Replace applyExpSubscriptsFoldCheckSimplify with subscriptExp

18:21 Ticket #6267 (Avoid bad scalarization of parameter bindings) created by perost
We currently flatten a model such as this: […] to […] This means …
17:02 Changeset in OpenModelica [9ede3c8] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 2 edits in OMCompiler/Compiler/runtime

Add error message for missing Lapack.

  • If omc is not compiled with no lapack support make sure we print an error if someone tries to use the empty lapack stub functions.
  • It seems lapack is actually mandatory for OMC at this point so maybe we should just remove the stubs and let compilation omc fail if there is no lapack.
16:48 Changeset in OpenModelica [e0a0e1a] by Adeel Asghar <adeel.asghar@…>
  • 5 edits in OMEdit/OMEditLIB

Set the pointer to 0 after delete

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

Set the pointer to 0 after delete

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

Forbid non-cref tuples.

16:03 Changeset in OpenModelica [85c77af] by Adeel Asghar <adeel.asghar@…>
  • 5 edits in OMEdit/OMEditLIB

Set the pointer to 0 after delete

15:37 Changeset in OpenModelica [8e52ad2]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 41 edits
    85 moves
    28 adds
    165 deletes in /

add error handling and improve html reports for dataReconciliation (#7010)

15:12 Changeset in OpenModelica [8b54bd01] by Per Östlund <perost86@…>
  • 2 edits
    1 add in /

Forbid non-cref tuples.

14:51 Ticket #4142 (OMC does not detect as error the use of noEvent clause in a When structure) closed by perost
fixed: Fixed in f877fea and …
14:45 Changeset in OpenModelica [2f0145fc]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 3 edits
    1 add in /

Improve when-condition error checking

  • Unify error checking for when-conditions in when-equations and when-statements.
14:31 Changeset in OpenModelica [ce19b6cc] by arun3688 <rain100falls@…>
  • 41 edits
    85 moves
    28 adds
    165 deletes in /

add error handling and improve html reports for dataReconciliation

14:26 Ticket #6266 (Index out of bounds for array returned by built-in function) created by AnHeuermann
I have a model that simulates with the old frontend but fails to …
13:46 Changeset in OpenModelica [0d36d06] by Per Östlund <perost86@…>
  • 3 edits
    1 add in /

Improve when-condition error checking

  • Unify error checking for when-conditions in when-equations and when-statements.
13:40 Ticket #6265 (assert() not correctly handled by OM: second case) created by jean-philippe.tavella@…
This ticket completes previous ticket #6264. Refer to model …
12:42 Changeset in OpenModelica [d7b88c2] by Karim Abdelhak <karim.abdelhak@…>
  • 1 edit in OMCompiler/Compiler/Util/Flags.mo

[Util] fix flags after merge

12:31 Changeset in OpenModelica [3f3265d9] by Karim Abdelhak <karim.abdelhak@…>
  • 91 edits
    6 adds
    3 deletes in /

Merge branch 'master' of https://openmodelica.org/git-readonly/OpenModelica into newBackend

12:29 Ticket #6254 (Backend fails with discrete-time first order model) reopened by casella
@Karim, @rfranke needs this fix in a stable release, see comment:4, so …
12:11 Ticket #6254 (Backend fails with discrete-time first order model) closed by Karim.Abdelhak
fixed: The following .mos file works for me on the latest master …
12:07 Changeset in OpenModelica [b8945da3] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/runtime/omc_config.h

Assume that we have Lapack on Windows.

  • We also Assume that the lapack we have provides the deprecated lapack routines.
11:59 Ticket #6264 (An assert() is not correctly handled by OM: wrong violated equation) created by jean-philippe.tavella@…
I more carrefully check results from simulation of models of the new …
11:41 Ticket #6263 (Fix spurious remaining issues in the master testsuite) created by casella
After @AnHeuermann merged in …
11:29 Changeset in OpenModelica [691f9c5c]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

Fix for Ticket #6099 (#7009)

@mahge
Fix ticket #6099
5aea2aa

  • Cast literal to appropriate OMC type.

index_t (a.k.a. modelica_integer) is long long. Literals in C take the
first type that they can fit in. For small literals this is 'int'.

It would have been all fine, if we were not sending these literals as
parameters to functions that have variadic arguments. va_list of
arguments are 'parsed' by the functions assuming the inputs are of
type modelica_integer (or index_t, or similar).

So depending on what compiler and arch we are on, this seems to cause
issues because the arguments are parsed with the wrong size.

@mahge
Use 'modelica_integer' instead of plain 'int'.
acc1332

  • This is important if the variable is, at some point, passed to some of our runtime function that have variadic arguments. They split arguments expecting a modelica_integer (a.k.a long long) type.
11:28 Ticket #6262 (Incorrect start value for an input variable in an FMU exported from OM) created by jean-philippe.tavella@…
I try to export FMUs from models built with the recent library …
11:21 Changeset in OpenModelica [22ebf0d] by Karim Abdelhak <karim.abdelhak@…>
  • 2 edits in OMCompiler/Compiler

[NB] small changes

11:08 Ticket #6261 (How can I load the last Modelica & Complex versions?) created by jean-philippe.tavella@…
From Dymola 2021x, the last versions of Modelica & Complex are: …
10:33 Changeset in OpenModelica [acc1332] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Use 'modelica_integer' instead of plain 'int'.

  • This is important if the variable is, at some point, passed to some of our runtime function that have variadic arguments. They split arguments expecting a modelica_integer (a.k.a long long) type.
10:17 Changeset in OpenModelica [5aea2aa1] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Fix ticket 6099

  • Cast literal to appropriate OMC type.

index_t (a.k.a. modelica_integer) is long long. Literals in C take the
first type that they can fit in. For small literals this is 'int'.

It would have been all find, if we were not sending this literals as
parameters to functions that have variadic arguments. va_list of
arguments are 'parsed' by the functions assuming the inputs are of
type modelica_integer (or index_t, or similar).

So depending on what compiler and arch we are on, this seems to cause
issues because the arguments are parsed with the wrong size.

2020-12-02:

20:37 Changeset in OpenModelica [f877fea]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 3 edits
    4 adds in /

Add check for when-condition variability

  • Check that when-conditions are discrete-time expressions.
20:09 Changeset in OpenModelica [83cc3d57]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 1 edit in README.md

small howto checkout a specific version (#7008)

19:31 Changeset in OpenModelica [27abefc9] by Per Östlund <perost86@…>
  • 3 edits
    4 adds in /

Add check for when-condition variability

  • Check that when-conditions are discrete-time expressions.
19:23 Changeset in OpenModelica [4e088cb] by Adrian Pop <adrian.pop@…>
  • 1 edit in README.md

small howto checkout a specific version

18:19 Ticket #4044 (Invalid equations in ...) closed by perost
fixed: The new frontend now gives an error as expected: […]
18:15 Ticket #4012 (replace structure parameter) closed by perost
fixed: The new frontend gives: […]
18:03 Ticket #3833 (Redeclaring package Medium = Medium in extends does not work) closed by perost
fixed: Closing this as fixed since the model is wrong and the new frontend as …
17:57 Ticket #3754 (Buildings model not instantiated correctly) closed by perost
fixed: Seems to be working in both the old and the new frontend now.
17:54 Ticket #3739 (Compilation errors for MSL trunk) closed by perost
fixed: All the mentioned models now simulate correctly except for …
17:48 Ticket #3734 (Improve handling of impure functions) closed by perost
fixed: Implemented in the new frontend some time ago.
17:42 Ticket #3645 (Modelica.Utilities.Files.removeFile doesn't work) closed by perost
fixed: This works with the new frontend now which doesn't remove any of the …
17:36 Ticket #3589 (BuildingSystems library) closed by perost
fixed: This no longer seems to be an issue with the new frontend according to …
17:34 Ticket #3637 (Modelica.Utilities.Files.exist doesn't work) closed by perost
fixed: The new frontend propagates impure between functions, i.e. a …
17:21 Ticket #3622 (Bad management of public and protected variables) closed by perost
fixed: The new frontend gives the expected error: […]
17:19 Ticket #3612 (Wrong C-code for Modelica.Math.FastFourierTransform.Examples.RealFFT1) closed by perost
fixed: The code generation issue seems to have been fixed since the model now …
17:15 Ticket #3603 (Changes made to a class in diagram view are not saved and revert back ...) closed by perost
invalid: Closed due to lack of feedback.
17:14 Ticket #3595 (Dereference of uninitialized value in fmiInstantiateModel) closed by perost
wontfix: It seems that file no longer exists in our repo, so I guess this is no …
17:07 Ticket #3575 (real array binding/default value issue) closed by perost
fixed: Seems to work fine now.
17:04 Ticket #3562 (Runtime failure on Windows 64 bit System) closed by perost
wontfix: Closing since there's no way to replicate the issue anymore.
17:03 Ticket #3557 (PreOptModules messes up model) closed by perost
fixed: Using the old frontend the model now passes the backend, so I assume …
16:58 Ticket #3550 (macports build fails) closed by perost
wontfix: Closing since I assume this is no longer relevant.
16:55 Ticket #3546 (optimization progress (Ipopt output) in XML format) closed by perost
invalid
16:47 Ticket #3541 (Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier ...) closed by perost
fixed: The issue seems to have been fixed since the model simulates correctly now.
16:42 Ticket #3517 (wrong cyclic for record structure) closed by perost
fixed: Works fine in the new frontend.
16:41 Ticket #3516 (flattening fail with parameter fixed=false and redeclare) closed by perost
fixed: Works fine in the new frontend.
16:39 Ticket #3514 ((Wrong) order of writing text into a file) closed by perost
invalid
16:25 Ticket #3493 (Incorrect flatenning of conditional connectors in outer class) closed by perost
fixed: This is handled correctly by both the old and the new frontend now.
16:23 Ticket #3476 (Replaceable package in connector causes translation error) closed by perost
fixed: This works fine in the new frontend.
16:17 Ticket #3469 (Conditional declarations doesn't work with inner/outer components) closed by perost
fixed: All the examples work or give correct error messages with the new frontend.
16:14 Ticket #3459 (getInheritedClasses errors do not return the filename) closed by perost
wontfix: getInheritedClasses no longer give an error, I guess the semantics …
16:10 Ticket #3449 (OMEdit Crash when starting) closed by perost
wontfix: I'm assuming this has been fixed or no longer matters since there's …
13:37 Changeset in OpenModelica [fe3edbe0] by AnHeuermann <andreas.heuermann@…>
  • 3 edits in doc/UsersGuide/source

Update homotopy initialization and algebraic solvers documetnation

  • Added documentation to user's guide
13:37 Changeset in OpenModelica [cdc5881] by AnHeuermann <andreas.heuermann@…>
  • 3 edits in doc

Fixing omc errors in UsersGuide

13:37 Changeset in OpenModelica [fc18ea83] by AnHeuermann <andreas.heuermann@…>
  • 3 edits
    1 add in doc

Add WIP README, update conf.py to Python3

12:57 Changeset in OpenModelica [dd4b727] by Adeel Asghar <adeel.asghar@…>
  • 7 edits in OMEdit/OMEditLIB

beginRemoveRows takes parent item as argument

12:57 Changeset in OpenModelica [dcc67a1] by Adeel Asghar <adeel.asghar@…>
  • 4 edits in OMEdit/OMEditLIB

Don't return something from a void function

Removed some unnecessary functions from Element.h

12:57 Changeset in OpenModelica [211c766] by Adeel Asghar <adeel.asghar@…>
  • 2 edits in OMEdit/OMEditLIB/Modeling

Validate and load the text when switching between models

Fixes ticket:6162 and ticket:6248

12:40 Ticket #6256 (OMEdit crashing on double-click in SSP model) closed by adeas31
fixed
12:35 Changeset in OpenModelica [aa3317f5]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 14 edits in OMEdit/OMEditLIB

Sync OMEdit translations with source code

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

beginRemoveRows takes parent item as argument

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

Don't return something from a void function

Removed some unnecessary functions from Element.h

12:00 Ticket #6260 (Error "Following variable is discrete, but does not appear on the LHS ...) closed by perost
invalid: I'm closing this since it's a model issue and not a compiler isssue, …
11:41 Changeset in OpenModelica [d3ff2155]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 1 edit in testsuite/special/FmuExportCrossCompile/WaterTank.mo

Fixed illegal use of pre(continuous_var)

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

fix Linux builds, fix make install, test make install (#7002)

10:56 Changeset in OpenModelica [2a34707d] by Adeel Asghar <adeel.asghar@…>
  • 14 edits in OMEdit/OMEditLIB

Sync OMEdit translations with source code

10:29 Changeset in OpenModelica [7d890122] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

fix Linux builds, fix make install, test make install

09:44 Changeset in OpenModelica [3b7ad28a] by Adeel Asghar <adeel.asghar@…>
  • 7 edits in OMEdit/OMEditLIB

beginRemoveRows takes parent item as argument

00:41 Changeset in OpenModelica [5acecf12] by Francesco Casella <francesco.casella@…>
  • 1 edit in testsuite/special/FmuExportCrossCompile/WaterTank.mo

Fixed illegal use of pre(continuous_var)

2020-12-01:

18:31 Ticket #6260 (Error "Following variable is discrete, but does not appear on the LHS ...) created by marianne.saugier@…
I get the error "Following variable is discrete, but does not appear …
18:29 Ticket #6259 (Free parameters mess up FMI model structure) created by rfranke
See the following example: […] for which FMI 2.0 export generates …
17:53 Ticket #3445 (Compiler segfaults in some cases with +d=failtrace) closed by perost
wontfix: The model works fine now, and I assume we don't care much about …
17:48 Ticket #3438 (Wrong reference results for verification of MSL 3.2.1) closed by perost
fixed: RoomCO2 in 3.2.1 now simulates correctly according to our library …
17:47 Ticket #3431 (Failure to look up base class in partial model) closed by perost
fixed: Seems to have been fixed at some points, it now works fine in both the …
17:40 Ticket #3407 (Annex60 conversion script seems to need updates) closed by perost
worksforme: I assume this is no longer relevant.
17:39 Ticket #3394 (Package fails to load for "unknown reason") closed by perost
wontfix: Closed due to lack of feedback.
17:37 Ticket #3388 (Instantation uses parameter value instead of parameter reference) closed by perost
fixed: The new frontend only generates parameters if they are structural, so …
17:32 Ticket #3365 (Slow instantiation due to function evaluation) closed by perost
fixed: The test model is a bit weird since it declares a component with the …
17:26 Ticket #3039 (Installation issues with 1.9.1 and 1.9.2 nightly build) closed by casella
wontfix: Most definitely not.
17:24 Ticket #3302 ("replaceable parameter record" and inner/outer - flattening fails when ...) closed by perost
fixed: Replying to casella: > Probably related to #5243 Seems …
17:22 Ticket #3301 (Problem with Incompressible Media in MSL trunk) closed by perost
fixed: The mentioned models seem to work fine with both the old and the new …
17:20 Ticket #3300 ("replaceable parameter record" and inner/outer causes error messages) closed by perost
fixed: Seems to have been fixed in the old frontend at some point, and also …
17:14 Ticket #3280 (Strange things happening when size of array in a record depends on a ...) closed by perost
fixed: Still an issue in the old frontend, but seems to work fine in the new.
17:11 Ticket #3244 (Removing unnecessary vectorization of assignments in Front-end.) closed by perost
fixed: The new frontend does not scalarize such assignments.
17:10 Ticket #3237 (Returning the cache in Mod.elabModValue breaks some models) closed by perost
wontfix: Might still be an issue, but we no longer care about fixing issues in …
17:06 Ticket #3189 (Partial function evaluation and arrays not working) closed by perost
fixed: The model is invalid since size(x) should be size(x, 1)
17:01 Ticket #3174 (Duplicate elements not detected) closed by perost
fixed: Both the old and the new frontend now detects the duplicate elements.
17:00 Ticket #3146 (Impossible to use "redeclare" in an "extends") closed by perost
fixed: Still an issue in the old frontend, but works fine with the new.
16:58 Ticket #3142 (Better error message for missing function used as pointer) closed by perost
fixed: The new frontend says Variable invalidf not found in scope f2, which …
16:52 Ticket #3108 (evaluation of structural parametrers) closed by perost
fixed: The new frontend evaluates both p and N and sets them both to be …
16:50 Ticket #3088 (Error in inner/outer lookup) closed by perost
fixed: This works fine in the new frontend now.
16:47 Ticket #3083 (Replace LAPACK/BLAS) closed by perost
wontfix
16:39 Ticket #3078 (Variable outside interval wrongly reported for certain variables) closed by perost
fixed: This no longer seems to be the case.
16:30 Changeset in OpenModelica [8d7dc7a2] by Adeel Asghar <adeel.asghar@…>
  • 4 edits in OMEdit/OMEditLIB

Don't return something from a void function

Removed some unnecessary functions from Element.h

16:24 Ticket #3030 (Openmodelica fails to configure) closed by perost
worksforme: I assume this ticket is no longer revelant.
16:22 Ticket #3010 (Dependency analysis removes import without warning) closed by perost
wontfix: That's by design, the dependency analysis fully qualified imported …
16:15 Ticket #2998 (typo on User Documentation web page) closed by perost
fixed: Seems to have been fixed at some point.
16:10 Changeset in OpenModelica [11e397d]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 2 edits in OMEdit/OMEditLIB/Modeling

Validate and load the text when switching between models

Fixes ticket:6162 and ticket:6248

16:09 Ticket #6252 (Do not count extra equations for public non-connector top level inputs ...) closed by perost
fixed: Fixed in a6556d32. …
16:08 Ticket #3059 (parameters in if equation) closed by perost
fixed: The new frontend still evaluates the if-equation since that seems to …
16:03 Ticket #3058 (Type mismatch in functions with an if clause) closed by perost
fixed: Works fine in the new frontend.
16:02 Ticket #3000 (Stack Overflow detected and not caught with OMC) closed by perost
invalid
15:58 Ticket #2955 (Add scope name to SourceInfo) closed by perost
wontfix: We have getInstanceName() instead now.
15:56 Ticket #2949 (MultiBody.Examples.Elementary.UserDefinedGravityField doesn't work) closed by perost
worksforme
15:54 Ticket #2936 (Zero-length arrays size(arr, 2) crashes run-time) closed by perost
fixed: The model now works correctly in all the versions of ModelicaTest that …
15:52 Ticket #2914 (Redeclaration is not applied) closed by perost
fixed: Both the old and the new frontend handles this correctly now.
15:52 Ticket #2912 (2 models that work separately, but not when put together) closed by perost
fixed: This seems to have been fixed at some point, the model now simulates …
15:49 Ticket #2902 (Complex parameter binding lost) closed by perost
fixed
15:24 Changeset in OpenModelica [a6556d32]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 3 edits
    1 add in /

Fix #6252

  • Remove the input prefix from inputs with bindings if the binding is moved to an equation.
15:20 Changeset in OpenModelica [206562d] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/CommonSubExpression.mo

Add missing else for addConstantCseVarsToGlobalKnownVarHT

14:55 Changeset in OpenModelica [d3fa3f2] by Adeel Asghar <adeel.asghar@…>
  • 2 edits in OMEdit/OMEditLIB/Modeling

Validate and load the text when switching between models

Fixes ticket:6162 and ticket:6248

14:48 Ticket #2869 (Wrong prefix on binding) closed by perost
wontfix: Might still be an issue, but the model no longer exists in Annex60 …
14:42 Ticket #2859 (Wrong generation of record bindings when defining record components ...) closed by perost
fixed: Still wrong in the old frontend, but works with the new.
14:34 Ticket #2800 (Improve Expression traversal) closed by perost
fixed: The traversal functions in the old frontend are still a bit of a mess, …
14:27 Ticket #2783 (encapsulated model cannot find function) closed by perost
fixed: Fixed in the new frontend.
14:26 Ticket #2745 (Stack overflow detected and was not caught) closed by perost
fixed: Still an issue in the old frontend, but the new frontend works fine.
14:23 Ticket #2735 (simulation fails without any error message in OMEdit) closed by perost
fixed: The test case was enabled in r24361.
14:18 Ticket #2742 (Missing inner message despite existing) closed by perost
fixed: Still wrong in the old frontend, but with the new frontend it …
14:15 Ticket #2740 (Inherited elements at incorrect places) closed by perost
fixed: Still wrong in the old frontend which doesn't handle extends …
14:14 Ticket #3073 (Wild card import in a sub package function fails to build the model) closed by perost
fixed: If the import is changed to mylib.A.B.C.* (imports must be fully …
13:52 Changeset in OpenModelica [fc810a21] by Per Östlund <perost86@…>
  • 3 edits
    1 add in /

Fix #6252

  • Remove the input prefix from inputs with bindings if the binding is moved to an equation.
13:28 Ticket #3076 (Inconsistent behavior of array vs. non-array connect) closed by perost
fixed: This seems to have been fixed at some point, both models now simulate …
13:10 Ticket #6258 (Workflow for FMU import in SSP not working) created by AnHeuermann
I'm trying to export a model to FMU and import it back again in OMEdit …
13:08 Ticket #6257 (Issue with ThermoSysPro) created by casella
The attached model doesn't work in ThermoSysPro 3.2. …
12:47 Ticket #6256 (OMEdit crashing on double-click in SSP model) created by AnHeuermann
I wanted to create a decent bug report when creating a new SSP model …
11:38 Changeset in OpenModelica [990310b]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/SimulationRuntime/opc/ua/omc_opc_ua.c

Fix some potential issues with thread synchronization in the opc-ua server (#6996)

10:39 Changeset in OpenModelica [c801e57] by Martin Sjölund <martin.sjolund@…>
  • 1 edit in OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.c

Remove some helgrind warnings

10:07 Changeset in OpenModelica [88ce902f] by Martin Sjölund <martin.sjolund@…>
  • 1 edit in OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.c

Improve debugging of opc-ua

2020-11-30:

21:59 Ticket #6243 (Issues with partial packages in Chemical library) closed by casella
fixed: @marek, after your updates to the library, the three FluidAdapter test …
17:40 Ticket #2712 (Accessing connector array with dynamic index results in C code compile ...) closed by perost
fixed: This seems to have been fixed at some point, the model now …
17:38 Ticket #2703 (Real den2[0,2] inside a function has an unknown type) closed by perost
invalid
17:37 Ticket #2686 (error type: error when building simulator) closed by perost
fixed: This seems to have been fixed at some point, the model now simulates.
17:33 Ticket #2672 (Bug with redeclare/replaceable record) closed by perost
fixed: Both the old and the new frontend give the correct result now.
17:31 Ticket #2624 (missing elseif branch) closed by perost
fixed: The new frontend removes the whole if-statement now, so I guess this …
17:27 Ticket #2620 (detect appling of pre on continuos variable) closed by perost
fixed: The new frontend gives an error for this: […]
17:26 Ticket #2608 (Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip fails) closed by perost
fixed: DoublePendulumInitTip simulates correctly now, so this must have …
17:20 Ticket #2488 (noEvent doesnt work correctly) closed by perost
invalid: Closed due to lack of feedback.
17:17 Ticket #2485 (Redeclaration interpreted wrong with array dimensions) closed by perost
fixed: Works fine in both the old and the new frontend.
17:15 Ticket #2446 ([PATCH] Fix compilation with latest ParadisEO) closed by perost
fixed: Seems to have been fixed in OMOptim at some point.
17:12 Ticket #2435 (invalid model gets simulated) closed by perost
fixed: The new frontend gives an error: […]
17:10 Ticket #2426 (Improve error message for when-statement in function) closed by perost
fixed: Both the old and the new frontend forbids using a when-statement in a …
17:04 Ticket #2351 (Mark all appropriate strings in OMC as translatable) closed by perost
wontfix: Considering that I removed the translation files last week due to a …
17:02 Ticket #2342 (Full path for return type in record constructors) closed by perost
wontfix: The DAE contains the full path for the record constructor, but when …
16:42 Ticket #2307 (Using cat in loops gives strange results) closed by perost
fixed: This works fine with the new frontend.
16:35 Ticket #2201 (OMC allows non-vector array expressions as ranges in for-loops) closed by perost
wontfix: Seems no one really cares about this, so we might as well close this …
16:34 Ticket #2193 (omc accepts undefined identifiers in structural varying models) closed by perost
fixed: This gives an error as expected when using the new frontend, since it …
16:30 Ticket #2187 (Evaluation of recursive functions during instantiation) closed by perost
fixed: Works fine with the new frontend.
16:25 Ticket #2084 (Add Modelica 3.3 impure/pure in the front-end Absyn, SCode, DAE) closed by perost
fixed: The new frontend handles impure/pure.
16:24 Ticket #2078 (Inner/outer not working in algorithm section) closed by perost
fixed: This works fine in both the old and the new frontend.
16:22 Ticket #2029 (Incorrect cyclically dependent error, inheritance issue (from MathCore)) closed by perost
fixed
16:20 Ticket #2023 (Array slice operation fails on multi-level components) closed by perost
fixed: Seems to work fine in both the old and the new frontend now.
16:14 Ticket #1937 (New instantiation does not respect uses-annotation) closed by perost
fixed: Fixed some time ago.
16:13 Ticket #1934 (Support calling functions via component reference) closed by perost
fixed: This seems to have been fixed some time ago, it now seems to work fine …
16:08 Ticket #1919 (Type extending basic type derived array does not work in all cases) closed by perost
fixed: Both models work with the new frontend.
16:01 Ticket #1791 (Change DAE.RANGE type) closed by perost
fixed: I fixed this a while ago in 83e5e48.
15:58 Ticket #1748 (missingInnerMessage annotation) closed by perost
fixed: The new frontend prints the missingInnerMessage when automatically …
15:47 Ticket #1729 (Flattening error with modelica media type redeclaration of a record) closed by perost
fixed: Seems to work fine in both the old and the new frontend now.
15:46 Ticket #1725 (parameter passing for replaceable models does not work) closed by perost
fixed: Replying to sjoelund.se: > This is fixed in the new …
15:45 Ticket #1711 (Check for illegal each) closed by perost
fixed: The new frontend gives a warning in this case, and an error if …
15:40 Ticket #1686 (Unclear parse error message when missing equation) closed by perost
wontfix: Closing this since it doesn't seems like something that will ever be …
15:32 Ticket #1656 (Simplify some simple polynomials) closed by perost
wontfix: The pattern does not seem to be used by the MSL. If it was useful we …
15:28 Ticket #1650 (Sort the DAE before output to circumvent testing errors due to ...) closed by perost
wontfix: I don't think this is much of an issue anymore, the order of most of …
15:16 Ticket #1636 (getComponents API is wrong) closed by perost
fixed: With -d=nfAPI you now get N.O as the type of r, so this seems to …
15:10 Ticket #1615 (Add CREF_ITERATOR) closed by perost
fixed: We have DAE.CREF_ITER now, so I guess this is fixed.
15:08 Ticket #1603 (Inner-Outer warnings) closed by perost
worksforme: The specification does not say anything about giving a warning for …
15:06 Changeset in OpenModelica [fcb7971e]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Gebremedhin <mahge@…>
  • 1 edit in OMCompiler/3rdParty

Update 3rdParty to master.

  • It was left pointing to another branch on OMCompiler-3rdParty.
15:04 Ticket #1597 (Remove DAE.MATRIX) closed by perost
fixed: The new frontend converts matrices to arrays during type checking, so …
15:02 Ticket #1577 (Fix returned type of sliced arrays) closed by perost
fixed: The description lacks some information on recreating the issue, but I …
14:58 Ticket #1556 (Recursive external object causes stack overflow) closed by perost
fixed: Fixed by using the new frontend since it does not allow a class name …
14:56 Ticket #1573 (reinit(vector, matrix[index]) is not vectorized properly.) closed by perost
fixed: reinit is allowed to be called on arrays according to the current …
13:58 Ticket #1519 (Add check for self-referencing matrix dimensions) closed by perost
fixed: The new frontend gives an error for this: […] which I guess is good …
13:53 Ticket #1448 (OMI-changevalue-simulation time (Tn) jumping forward/backward when ...) closed by perost
wontfix: OMI hasn't been part of OpenModelica for some time, so this is no …
13:50 Ticket #1447 (Vectorization does not work in front end) closed by perost
fixed: All the example models work with both the old and the new frontend, so …
13:45 Ticket #1433 (CevalFunction needs a real symboltable for lookup) closed by perost
wontfix: Won't be fixed since we don't want to spend time fixing issues in the …
13:40 Ticket #1428 (inner/outer functions not supported) closed by perost
fixed: The new frontend supports inner/outer classes, including functions.
13:35 Ticket #1416 (Extends are not handled properly) closed by perost
fixed: The new frontend gives an error "extends A causes an instantiation loop".
13:29 Ticket #1342 (External functions should not be constant evaluated) closed by perost
fixed: Fixed since the new frontend does not evaluate impure functions unless …
13:28 Ticket #1298 (Records (and functions) with complex default bindings fail) closed by perost
fixed: The ticket isn't quite clear on how to reproduce the issue, but …
13:24 Ticket #1256 (Errors in instantiation of inherited components) closed by perost
wontfix: I'm closing this ticket since the library lacks a uses-annotations and …
13:16 Changeset in OpenModelica [5bdb9e57] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/3rdParty

Update 3rdParty to master.

  • It was left pointing to another branch on OMCompiler-3rdParty.
13:07 Ticket #1235 (Error messages for expressions does not have a context, resulting in ...) closed by perost
fixed: This isn't really an issue anymore since most error messages from both …
13:06 Changeset in OpenModelica [c01d479]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Check for replaceable feature when making the replaceable drop down (#6981)

13:06 Changeset in OpenModelica [a5a4bada]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 3 edits in OMEdit/OMEditLIB

Call deleteLater for GraphicsViews when unloading a class (#6975)

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

Fixes ticket:6234 check if the ModelWidget is NULL (#6974)

13:06 Changeset in OpenModelica [5b5ae5d]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 2 edits in OMEdit/OMEditLIB/Modeling

Disconnect inherited classes (#6964)

  • Disconnect the signals once the model is redrawn
  • Remove the existing inherited classes
13:06 Changeset in OpenModelica [239ebc9e]maintenance/v1.16 by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMEdit/OMEditLIB/Element/CornerItem.cpp

OriginItem paint event is called even before we set visible false

For such OriginItem shape we don't have GraphicsView so check for NULL.

13:02 Changeset in OpenModelica [13d67ee]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Gebremedhin <mahge@…>
  • 1 edit in OMCompiler/CMakeLists.txt

[cmake] Remove -DNDEBUG from release builds.

  • We have a number of assert() calls with side effects. They get removed on release builds with -DNDEBUG.
  • Until we remove all these asserts with side effects we disable removal of assert on release builds by manually removing the flag from CMake's compilation commands.
13:02 Changeset in OpenModelica [8dd0f227]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Gebremedhin <mahge@…>
  • 1 edit in OMCompiler/Compiler/CMakeLists.txt

[cmake] Link omc with -rdynamic

  • The error functions (e.g. omc_assert_warning) from loaded shared libraries are mapped to the omc executables own error functions. In order to support this the omc exe should export its symbols.
13:02 Changeset in OpenModelica [6a4e204]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Gebremedhin <mahge@…>
  • 2 edits in OMCompiler/Compiler

[cmake] Compile with fno-ipa-pure-const.

  • OMC will segfault (at least on Windows old OMDev) on very deep recursive calls if this flag is enabled. E.g., try translating the CodegenCpp* tpl files to mo files with an omc compiled without this flag. The tpl parser is quite recursive and will segfault on parsing comments with very long lines ~300. *CPP tpl files have lines longer than that. GCC manual says it is enabled on levels -O and higher. Explicitly disable it if we are using MINGW.

We will see if it is needed for MSVC as well.

  • I will try to improve the TplParser a bit with new MetaModelica constructs. It can use some performance improvements.
13:02 Changeset in OpenModelica [4795a3f3]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Gebremedhin <mahge@…>
  • 1 edit in OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake

[cmake] Add new source UnorderedMap to list.

13:00 Ticket #1174 (Check model reports errors for correct models and vice versa.) closed by perost
fixed: The new frontend handles this correctly.
12:58 Ticket #1126 (Dangling modifier in extends clauses not detected if name exists locally.) closed by perost
fixed: This is handled correctly by the new frontend, and the old frontend …
12:56 Ticket #1100 (Scalar variables get NON_CONNECTOR instead of NON_FLOW if they are ...) closed by perost
fixed: This is handled correctly in the new frontend.
12:15 Changeset in OpenModelica [253c02a6] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/CMakeLists.txt

[cmake] Remove -DNDEBUG from release builds.

  • We have a number of assert() calls with side effects. They get removed on release builds with -DNDEBUG.
  • Until we remove all these asserts with side effects we disable removal of assert on release builds by manually removing the flag from CMake's compilation commands.
12:13 Changeset in OpenModelica [8610a12] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/CMakeLists.txt

[cmake] Link omc with -rdynamic

  • The error functions (e.g. omc_assert_warning) from loaded shared libraries are mapped to the omc executables own error functions. In order to support this the omc exe should export its symbols.
12:12 Changeset in OpenModelica [5fbd40a] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 2 edits in OMCompiler/Compiler

[cmake] Compile with fno-ipa-pure-const.

  • OMC will segfault (at least on Windows old OMDev) on very deep recursive calls if this flag is enabled. E.g., try translating the CodegenCpp* tpl files to mo files with an omc compiled without this flag. The tpl parser is quite recursive and will segfault on parsing comments with very long lines ~300. *CPP tpl files have lines longer than that. GCC manual says it is enabled on levels -O and higher. Explicitly disable it if we are using MINGW.

We will see if it is needed for MSVC as well.

  • I will try to improve the TplParser a bit with new MetaModelica constructs. It can use some performance improvements.
12:12 Changeset in OpenModelica [5563d366] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 1 edit in OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake

[cmake] Add new source UnorderedMap to list.

12:05 Changeset in OpenModelica [42bfb16]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 5 edits in OMCompiler

Cleanup installation directory specifiers. (#6989)

  • Let us specify the installation directories from top level rules.

Do not modify installation directories internally if it is not absolutely
necessary.

10:22 Ticket #6255 (OMEdit requires restart for changed translation flags) closed by adeas31
duplicate: See #6059 #6061 and #6062
09:59 Ticket #6255 (OMEdit requires restart for changed translation flags) created by rfranke
OMEdit takes Tools->Options->Simulation->Additional Translation Flags …

2020-11-29:

19:19 Changeset in OpenModelica [b23dde89]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by hudson <openmodelica@…>
  • 1 edit in libraries

Updated libraries

  • libraries 0562e52...9f29661 (1):

    Bump libraries

2020-11-28:

18:35 Ticket #6254 (Backend fails with discrete-time first order model) created by rfranke
OpenModelica works with lots of discrete-time models, including also …
18:13 Ticket #6253 (Error processing assert) closed by phannebohm
invalid: Yes that was it! I'm stupid.
14:42 Ticket #6253 (Error processing assert) created by phannebohm
When I run the following X.mos script […] I get the error message …
01:24 Ticket #6252 (Do not count extra equations for public non-connector top level inputs ...) created by casella
Please check the Modelica.Mechanics.MultiBody.World model in …

2020-11-27:

20:59 Ticket #6251 (Better support for search-index optimization in generated HTML help) created by modelica@…
In order to better support the search indexing of the generated …
20:50 Changeset in OpenModelica [4c291412]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 3 edits in /

Fix ticket #6171 (#6990)

TODO generalize to all inverse functions

  • [BE] Dont't evaluate inverse functions with noEvent

When a function is inverted inside an if equation with a noEvent
condition, we computed the inverse function anyways, which lead to
problems when arguments were outside the domain of the function.

This is prevented now by having the local auxiliary variables inside
an if block with the corresponding condition.
This should also work for nested conditions.

19:20 Changeset in OpenModelica [309ea46b]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by hudson <openmodelica@…>
  • 1 edit in libraries

Updated libraries

  • libraries ebd7cdf...0562e52 (1):

    Bump libraries

18:53 Changeset in OpenModelica [c7434b6f] by phannebohm <philip.hannebohm@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/ExpressionSolve.mo

[BE] Dont't evaluate inverse functions with noEvent

When a function is inverted inside an if equation with a noEvent
condition, we computed the inverse function anyways, which lead to
problems when arguments were outside the domain of the function.

This is prevented now by having the local auxiliary variables inside
an if block with the corresponding condition.
This should also work for nested conditions.

18:16 Ticket #6250 (Icon view - parameter "visible=<variable>" on one element causes ...) closed by casella
duplicate: Duplicate of #6111. Please refer to that.
16:15 Ticket #6250 (Icon view - parameter "visible=<variable>" on one element causes ...) created by anonymous
The SweptVolume component in Modelica.Fluid.Machines only displays its …
15:49 Changeset in OpenModelica [a8ed241] by Mahder Gebremedhin <mahder.gebremedhin@…>
  • 5 edits in OMCompiler

Cleanup installation directory specifiers.

  • Let us specify the installation directories from top level rules.

Do not modify installation directories internally if it is not absolutely
necessary.

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

Improve error handling of inner/outer.

  • Give an error and fail if a simulation model contains a top-level outer, since the model should only be usable as part of another model in that case (unless doing checkModel).
  • Give an error and fail if a simulation model has a missing inner component and also a top-level element with the same name, since the generated inner would then conflict with the existing element.
14:41 Changeset in OpenModelica [6f9f577f] by Per Östlund <perost86@…>
  • 8 edits
    1 add in /

Improve error handling of inner/outer.

  • Give an error and fail if a simulation model contains a top-level outer, since the model should only be usable as part of another model in that case (unless doing checkModel).
  • Give an error and fail if a simulation model has a missing inner component and also a top-level element with the same name, since the generated inner would then conflict with the existing element.
08:42 Changeset in OpenModelica [b616440]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Andreas <38031952+AnHeuermann@…>
  • 8 edits in /

Don't use matchcontinue for tearing traverseComponents1

  • Issue explicit error when giving illegal value for maxSizeNonlinearTearing or maxSizeLinearTearing
00:58 Ticket #6239 (Invalid error message from OM) reopened by casella
I'll keep this open until we release 1.16.2 or 1.17.0.
Note: See TracTimeline for information about the timeline view.