Timeline


and

2020-09-30:

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

update OMSimulator and 3rdParty #6136

21:49 Changeset in OpenModelica [d0f3be0] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

update OMSimulator and 3rdParty #6136

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

update conference proceedings

18:04 Changeset in OpenModelica [6c92491]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/3rdParty

attempt to fix #6136

17:28 Changeset in OpenModelica [954e874]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/Util/UnorderedSet.mo

Update UnorderedSet.

  • Fix size of the set when removing elements with UnorderedSet.remove.
  • Add functions copy, first, all, any, none and isEmpty.
16:45 Changeset in OpenModelica [dc76540] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/Util/UnorderedSet.mo

Update UnorderedSet.

  • Fix size of the set when removing elements with UnorderedSet.remove.
  • Add functions copy, first, all, any, none and isEmpty.
16:30 Changeset in OpenModelica [69bc855] by arun3688 <rain100falls@…>
  • 2 edits in doc/bibliography

update conference proceedings

16:07 Changeset in OpenModelica [3477077a] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo

Enable notifications for all except loadModel

OMEdit has notifications enabled on all by default

14:47 Changeset in OpenModelica [9c312b4a] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/3rdParty

attempt to fix #6136

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

Show the list of contributors from github (#6781)

Removed the static list

14:21 Changeset in OpenModelica [9f7faa2e] by Adeel Asghar <adeel.asghar@…>
  • 3 edits in /

Keep the notify attribute false by default and only enable it in OMEdit

10:49 Changeset in OpenModelica [88fa58a] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/SimulationRuntime/OMSICpp/omcWrapper/omcCAPI/src/OMC.cpp

Update omcCAPI wrapper for OMSICpp

10:01 Changeset in OpenModelica [edbd92b3] by Adeel Asghar <adeel.asghar@…>
  • 4 edits in /

Fixes ticket:6133 Made loadFile and loadModel behave same

Changed the notify parameter to true by default.

04:16 Changeset in OpenModelica [1e304172]maintenance/v1.16v1.16.0-dev.beta3 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

update OMSimulator to fix Xenial build

03:38 Changeset in OpenModelica [782b961] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

update OMSimulator to fix Xenial build

02:22 Changeset in OpenModelica [3b63285]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 OMSimulator

update OMSimulator to fix Xenial build

01:43 Changeset in OpenModelica [332e13b] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

update OMSimulator to fix Xenial build

00:12 ReleaseNotes/1.16.0 edited by casella
(diff)
00:11 ReleaseNotes/1.16.0 edited by casella
(diff)
00:10 ReleaseNotes/1.16.0 edited by casella
(diff)
00:09 ReleaseNotes/1.16.0 edited by casella
(diff)

2020-09-29:

20:32 Changeset in OpenModelica [84ba29e] by Adeel Asghar <adeel.asghar@…>
  • 4 edits in OMEdit

Show the list of contributors from github

Removed the sttic list

16:56 Ticket #6145 (Schedule for the 1.17.0 release) created by casella
Proposed schedule for the 1.17.0 release - Feature freeze: …
16:53 Ticket #6007 (Improve replaceable class input widget) closed by casella
fixed: Fixed in …
16:46 Ticket #6023 (Update MSL 3.2.3 for the 1.16.0 release) closed by casella
fixed: Whatever could be back-ported into 3.2.3 maintenance has been put …
16:32 ReleaseNotes/1.16.0 edited by casella
(diff)
16:06 Ticket #6144 (dynamic visibility of Modelica.Blocks.Interfaces.RealInput) created by lukas.koenemann@…
I want to change the visibility of a …
15:34 Changeset in OpenModelica [cdba150]maintenance/v1.16v1.16.0-dev.beta2 by Adrian Pop <adrian.pop@…>
  • 1 edit in README.md

minor changes missed from the master to have a new commit for v1.16.0-dev.beta2

15:10 Ticket #6143 (Drop support for FMI 1.0) created by AnHeuermann
We don't support FMI 1.0 (export) well. Are we even testing FMI 1.0? …
13:48 Changeset in OpenModelica [f7a7031] by Adrian Pop <adrian.pop@…>
  • 1 edit in README.md

minor changes missed from the master to have a new commit for v1.16.0-dev.beta2

13:00 Ticket #6140 (OMEdit should not allow dropping unacceptable files) closed by adeas31
invalid: This is intentional. Idea is to allow using OMEdit as a text editor.
12:58 Ticket #6139 (Erroneous bounding rectangle when exporting diagrams to Clipboard.) closed by adeas31
fixed: Fixed in a4caee9/OpenModelica.
12:56 Changeset in OpenModelica [a4caee97]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

Use the sceneBoundingRect for text shape while exporting as image

Fixes ticket:6139

12:01 ReleaseNotes/1.16.0 edited by casella
(diff)
11:36 Changeset in OpenModelica [b0224e9a] by Adeel Asghar <adeel.asghar@…>
  • 4 edits in OMEdit/OMEditLIB

Use the sceneBoundingRect for text shape while exporting as image

Fixes ticket:6139

10:30 Ticket #6142 (Allow to set parameter values in redeclared elements in OMEdit) created by casella
After #2079 was closed, OMEdit can handle replaceable classes and …
02:52 ReleaseNotes/1.16.0 edited by adrpo
(diff)
02:28 Ticket #6138 (OMEdit gives an error when trying to set parameter or variable ...) closed by adrpo
fixed: Fixed via: https://github.com/OpenModelica/OpenModelica/pull/6777
02:28 Ticket #6128 (OMEdit deletes the redeclare clause when a parameter value is changed) closed by adrpo
fixed: Fixed via: https://github.com/OpenModelica/OpenModelica/pull/6777
01:02 Changeset in OpenModelica [6b807b93]maintenance/v1.16v1.16.0-dev.beta1 by Adrian Pop <adrian.pop@…>
  • 9 edits in /

fix #6127, #6128, #6138

  • remove error messages in #6129
  • rename updateConnectionStr to updateConnectionAnnotation
01:02 Changeset in OpenModelica [4fcd621]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in OMCompiler/Compiler

Implemented new hash set data structure.

  • New hash set UnorderedSet<T> (since HashSet is already taken) that doesn't require the user to define a new package for each type. Also features automatic rehashing to avoid performance issues when the number of values is unknown.
  • Replaced BaseHashSet usage in NFExpandableConnectors with UnorderedSet to test the implementation.
01:02 Changeset in OpenModelica [ee15aaf]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6766)

01:02 Changeset in OpenModelica [4618e8b]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Change listAppend notification to warning.

  • Change listAppend notification to warning to make it fail during bootstrapping and avoid people pushing such code in.
01:02 Changeset in OpenModelica [af19492]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits in OMCompiler/Compiler

Remove constrain operator.

  • constrain is a nonstandard operator that apparently was used a long time ago by an old multibody library. Since it's nonstandard, not working and not documented I'm removing it to avoid it polluting the builtin namespace.
01:02 Changeset in OpenModelica [413e2d95]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 6 edits
    2 adds in /

[NF] Handle encapsulated during name lookup.

  • Implement support for handling encapsulated correctly during lookup.
  • Mark all builtin operators in NFModelicaBuiltin as OpenModelica_builtin, instead of just a random sampling of them.
01:02 Changeset in OpenModelica [9329339a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

fixes for ticket #6013 and #6129

  • use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
  • fully qualify the path we search for and all the extends in the loaded libraries to make sure is the proper subtype of
  • a bit slow but it can be improved later
  • force instantiation when NF_API is on even if inner component is not found
  • speedup getExtendsModifierNames if there are no modifiers in extends
01:02 Changeset in OpenModelica [28e9af2c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 10 edits in /

[C-Runtime] typo

01:02 Changeset in OpenModelica [9aff85d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp

Fixes ticket:6107 set tcp socket before sending data

01:02 Changeset in OpenModelica [2fd81a1]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in /

proper speedup for updateComponent #5620

  • new API updateComponentStr that can be called directly via Qt API
  • use the new Qt API from OMEdit
  • fix the differences between NFModelicaBuiltin.mo and ModelicaBuiltin.mo
01:02 Changeset in OpenModelica [c0e8727d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 44 edits in OMCompiler/Compiler

Fix listAppend warnings.

  • Fix or disable all listAppend warnings to make it possible to see the actual compilation errors when compiling omc.
01:02 Changeset in OpenModelica [142695b9]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Handle internal errors in scripting API and OMEdit.

  • Add internal to the ErrorLevel enumeration and fix CevalScript.errorLevelToValue so that it handles ErrorTypes.INTERNAL().
  • Add handling for ErrorLevel.internal in OMEdit.
01:02 Changeset in OpenModelica [f83c33fe]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/InteractiveUtil.mo

small speedup of API updateConnection #5620

01:02 Changeset in OpenModelica [deb5832]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    2 adds in /

Fix #6134.

  • Use the last base class when inferring function attributes to correctly handle inherited external "builtin" functions.
  • Change NFFunction.getBuiltin to check for OpenModelica_BuiltinPtr annotation like the old frontend, instead of just any builtin element, and rename it to getBuiltinPtr to avoid confusion.
01:02 Changeset in OpenModelica [ff35931e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

[FMI] Catch asserts in fmi2GetXXX

  • Catch asserst in fmi2Get{Real,Integer,Boolean,String} and return fmi2Error
01:02 Changeset in OpenModelica [a9099775]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler

[SimRT] Clarify the defines needed to use GC. (#6755)

  • On Windows with OMDev/MinGW the define we need is GC_WIN32_PTHREADS

to use a Pthreads Win32 API.
On other systems GC uses GC_THREADS for auto detection of threading
implementation. On Windows, GC_THREADS alone means Win32 threads.

01:02 Changeset in OpenModelica [ebe5a70]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/runtime/settingsimpl.c

[RT] Remove assignment inside assert. (#6756)

  • expressions in assert should ideally have no extra side effects.
    • Assert is a macro and can be disabled (to no op) by defining NDEBUG. Some build configurations define NDEBUG on release or optimized builds.
01:02 Changeset in OpenModelica [c2ddedf4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 10 edits in /

more support for replaceable #2079

  • new APIs getElement* similar to getComponent* but handling also the redeclares
  • add OMJava to .gitignore
  • touch *.mat expanded from *.mat.xz to not unpack them each time you run make
01:02 Changeset in OpenModelica [af6dbe4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in doc/bibliography

Add tinnerholm:eoolt:2019 to the bibliography (#6754)

01:02 Changeset in OpenModelica [9fdef1f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Fixes for the Package Manager (#6750)

  • When upgrading a package that does not have a SHA, do not fail
  • When an installation is requested, give a notification that the package is already installed if no installation will be performed.
01:02 Changeset in OpenModelica [9f1390a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/generate_icons.py

Sync the component info and annotation (#6751)

Fixes ticket:6112

01:02 Changeset in OpenModelica [42467af]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFUnitCheck.mo

[NF] Swap order of recursion in unit checking.

  • Swap order of recursion in NFUnitCheck.insertUnitInEquation as a workaround for #6114.
01:02 Changeset in OpenModelica [3d14a91e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 18 edits in OMCompiler

[omsicpp] Merge zeromq extensions for the cpp runtime and the omc c api library in omsicpp

01:02 Changeset in OpenModelica [d8fd80e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler

Transport fortran flags to the subprojects (#6746)

01:02 Changeset in OpenModelica [2dbdc00]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/CheckModel.mo

Fix counting of top-level inputs in checkModel.

  • Simplify the check for top-level inputs to count all public inputs as top-level, since both frontends already remove direction prefixes from non top-level variables anyway.
01:02 Changeset in OpenModelica [a389321]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] update discrete real check

  • correct support for array element types
01:02 Changeset in OpenModelica [0983eda]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 6 edits in testsuite

[testsuite] fixup for #6106 fix

01:02 Changeset in OpenModelica [d55d838]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c

[C] remove wrong convergence check in NLShomotopy

  • fixes ticket #6106
  • the old code only checks error in residuals not in variables
  • always need at least one step to ensure variable error tolerance
01:02 Changeset in OpenModelica [8ee33e3e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in /

[NF] Fix top-level input handling.

  • Treat components inside a top-level input as top-level inputs.
01:02 Changeset in OpenModelica [17164c1]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo

[NF] Prefix records with root path in EvalFunction.

  • Record names should always be prefixed with the root path if there is one.
01:02 Changeset in OpenModelica [91d9aec7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFTyping.mo

[NF] Remove Typing.isNonConstantIfCondition.

  • It was moved to Expression.isPure in a previous commit, but the original function was accidentally left.
01:02 Changeset in OpenModelica [216c388]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 7 edits in OMEdit/OMEditLIB/Annotations

Apply the transformation on the graphical items inside the elements

Fixes wrong display of bitmaps. Ticket:6066

01:02 Changeset in OpenModelica [058ae93]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 48 edits
    14 deletes in OMCompiler

Revert "CMake configuration support for OMCompiler (#6648)"
This reverts commit 3256d6895da8c3d07ebc1a4cc135856a349e9b6b.

01:02 Changeset in OpenModelica [b07eb4ac]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in OMEdit/OMEditLIB

Remove the unknown simulation flag outputFormat

Fixes ticket:6107

01:02 Changeset in OpenModelica [e3cee267]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in /

Fixed the overlapping display issue of connectors (#6729)

  • Write errors when icon generator test fails
  • Use a newer build-deps for the latest OMPython
  • Update the test output

Co-authored-by: Martin Sjölund <martin.sjolund@…>

01:02 Changeset in OpenModelica [e4ddfa3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Fix function variability.

01:02 Changeset in OpenModelica [757347d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 48 edits
    14 adds in OMCompiler

CMake configuration support for OMCompiler (#6648)

  • [cmake] Initial cmake configuration support.
  • [cmake] Add OMParser to compilation.
  • Uses two macros for generating the C files from the antlr sources. One is used for antlr files that depend on base_modelica_lexer. The other is used for only Modelica.g right now.
  • [cmake] Move the antlr target macros new file.
  • They clutter things in the main cmake file.
  • [cmake] Add CMake support for OMCompiler/runtime.
  • OMCompiler/runtime cannow be compiled using cmake.
    • Right now there is missing symbols from dgsev. I am not sure yet where to add them. Maybe dgsev can be added to simulationRuntime/c libraries. Other than that OMCompiler/runtime can be compiled with all symbols found at the moment.
  • We now use proper qualified names for libraries, e.g. omc::3rd::gc for the gc-lib in 3rdParty/gc. These names are added as aliases to the actual library. Use these everywhere. There should not be a single use of the actual library names.
  • [cmake] Update 3rdParty submodule.
  • Changes have been made to the submodule on mahge/cmake_config. It is mostly some minor fixes and a 3rdParty top level CMakeLists.txt
  • [cmake] Add prefixes to 3rdParty cmake options.
  • CMinPack shared library option is prefixed so that it does not conflict with other libraries build types.
    • BUILD_SHARED_LIBS -> CMINPACK_BUILD_SHARED_LIBS
  • Sundials options are prefixed so that they do not conflict with other libraries.
    • KLU_ENABLE -> SUNDIALS_KLU_ENABLE
    • LAPACK_ENABLE -> SUNDIALS_LAPACK_ENABLE
  • [cmake] Prefix 3rdParty/sundials CMake variables
  • More 3rdParty/sundials CMake variables have been prefixed and the submodule updated. See the commit on the submodule.
  • [cmake] Add Susan to MetaModelica compilation.
  • A macro is added for compiling a given susan template file to a MetaModelica .mo file using omc.

For convenience, a list of all the generated mo files is added
to the cmake variable TPL_OUTPUT_MO_FILES by the macro.

  • [cmake] Add runtime/omcbackendruntime compilation.
  • [cmake] Added an interface include to fmilib.
  • There is an inteface include directory defined for fmilib in 3rdParty/CMakeLists.txt. That means we do not need to explicitly add the include directory here. Until FMIL sorts out their configuration usage we can deal with it like this.
  • 3rdParty module is updated.
  • [cmake] Remove the temporary template target.
  • It was added just for testing whiled developing.
  • The generated mo files are now used by the libOpenModelica target. So the tpl files will be translated to mo if the mo files are missing.
  • [cmake] Add alias target for libomparse
  • OMCompiler/Parser (omparse) -> omc::parser
  • [CMake] Add runtime/omcgraphstream.
  • Add compilation for libomcgraphstream. Links to 3rdParty/graphstream libnetstream.a
  • [cmake] Clarify BootstrappingHeader inclusion.
  • We include OpenModelicaBootstrappingHeader.h with a relative path now.
  • If OMC_BOOTSTRAPPING is defined it is included from Compiler/boot/tarball-include. Otherwise include it from Compiler/.

We can, of course, give OMCompiler/Compiler dir as an include directory to
the libraries in runtime.
However, there is an omc_fil.h in Compiler/Util (it should not be there but it is there for now)
there is also an omc_file.h in SimulationRuntime/c/util.

We link to OpenModelicaRuntime which is built in SimulationRuntime/c/ and we
automatically provide SimulationRuntime/c/ as an include dir for things that link
to this library. This means for example runtime/omcruntime.a will get SimulationRuntime/c/
as an include dir automatically when linking to OpenModelicaRuntime.

If we give both Compiler/ and SimulationRuntime/c/ we essentially have two
files that can be reached as #include "util/omc_file.h". We should try to avoid
manually adding target_include dirs anyway. for this reason OMCompiler/Compiler/ is
not given as an include dir now. It was only needed for OpenModelicaBootstrappingHeader.h.
OpenModelicaBootstrappingHeader.h is now included by relative path.

  • [cmake] Relative OpenModelicaBootstrappingHeader.h
  • Fix OpenModelicaBootstrappingHeader inclusion on Parser/. If OMC_BOOTSTRAPPING is defined include it from Compiler/boot/tarball-include. Otherwise include it from Compiler/.
  • Some target_include_directories are not needed anymore. include directory propagation is managed by what libraries a target links to, i.e., cmake will automatically propagate the public include directories of a given library when the library is linked to some other target.
  • [cmake] Add ModelicaExternalC compilation.
  • Library aliases: omc::3rd::modelica_external_c -> ModelicaExternalC omc::3rd::modelica_mat_io -> ModelicaMatIO omc::3rd::modelica_io -> ModelicaIO
  • [cmake] Link omcruntime to blas.
  • I am not sure which blas we are supposed to use. There are some sources in 3rdParty/dgesv. I will check later if they need to be used somewhere.
  • [cmake] Do not report antlr analysis.
  • There is no need to report antlr grammar info every time the files are recompiled. The information just clutters the output.
  • [cmake] Initial MetaModelica compilation support.
  • [cmake] Move CMake related files to a subdirectory
  • [cmake] Add missing susan template targets.
  • Some susan template files were not being translated to MetaModelica because they were not added to the cmake file. They are added now.
  • [cmake] Remove non-existing package from TypeView.
  • There was a definition for a package named 'Connect' in DAEDumpTV.mo. There is no package named 'Connect' in the MetaModelica sources. There is one nested in DAE package (DAE.Connect). This was not detected as error because the package is not used in DAEDumpTpl.tpl anyway. So I guess the remove-unused-packages scrip removed it anyway.
  • [cmake] Update 3rdParty
  • Intel TBB does not exist yet on OM 3rdParty. It is disabled in the CMakeLists file for now.
  • [cmake] Define OMC_BOOTSTRAPPING for bootstrapping.
  • OMC_BOOTSTRAPPING is defined when compiling the runtime libs for bootstrapping. This define is used to pick the correct OpenModelicaBootstrappingHeader.h.
  • [cmake] Fix the directory where file is expected.
  • [cmake] Reduce info printed during configure step.
  • [cmake] Cleanup unused files.
  • The compilation of susan template targets is now handled by the CMakeLists file in OMCompiler.
  • [cmake] Move compilation out of boot folder
  • We used to configure and compile the MetaModelica files from the perspective of the Compiler/boot folder. this was done just to simplify things at the begining since it made it easier to compare things with the old approach which works from that folder.

Now MetaModelica related compilations are done from the perspective
of the Compiler/ folder. This is more logical.

01:02 Changeset in OpenModelica [f9b01f94]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/SimCode/SimCodeMain.mo

[SimCode] fix small bug in simcode timing

01:02 Changeset in OpenModelica [8d2d7076]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6730)

01:02 Changeset in OpenModelica [699e97e1]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits
    14 deletes in OMCompiler/SimulationRuntime

disabled omc C- API library in cpp runtime build and removed C-API library and reduce dae code from cpp folder

01:02 Changeset in OpenModelica [691fd729]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

Return boolean results directly (#6726)

  • Instead of using if false then false else true
01:02 Changeset in OpenModelica [30ceaa36]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Only allow evaluation of constants/parameters.

01:02 Changeset in OpenModelica [aa95cca]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Bump OMSens and OMSens_Qt

01:02 Changeset in OpenModelica [13d58fd]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6712)

01:02 Changeset in OpenModelica [de74270c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler

fix ticket:6086 and ticket:5880

  • allow partial lookup and partial model instantiation when -d=nfAPI is on (#6086)
  • disable -d=nfAPI when building and simulating the model the normal way via checkModel, instantiateModel, simulate, translateModel or buildModel (#5880) (these are all going via CevalScriptBackend.runFrontEnd)
01:02 Changeset in OpenModelica [c1fd8712]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits
    1 add in /

[NF] Improve modifier merging.

  • Split the modifier in redeclare modifiers into inner and outer modifiers, to make it possible to merge them in the correct order.
01:02 Changeset in OpenModelica [7c8b4a0e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMPlot/qwt.txt

Update qwt revision.

01:02 Changeset in OpenModelica [bbbc488f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/cpp

Enable separate compilation of Cpp runtime for FMI without omc

Set PLATFORMS in OMCompiler/SimulationRuntime/cpp/Makefile to e.g.

x86_64-linux-gnu

and build the Cpp runtime for FMU target without dependency on omc build.

01:02 Changeset in OpenModelica [ce56d4b]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 183 edits
    6 deletes in OMPlot

Update QWT to 6.1.5

  • Older versions of QWT causes issues with QT 5.15 due to missing include statements, which has been fixed in the latest version.
01:02 Changeset in OpenModelica [32725bb]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in /

[NF] Simplification improvements.

  • Expand sum/product reductions with constant iteration ranges.
  • Simplify vector calls with arrays as argument.
  • Fix some cases where arrays were incorrectly marked as literal.
01:02 Changeset in OpenModelica [d709787]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCall.mo

[NF] Reenable call type evaluation in functions.

  • Disabling it causes issues, and wasn't actually needed anyway.
01:02 Changeset in OpenModelica [b24c5cda]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 9 edits in OMCompiler

temporary use fmu generation for omsicpp simulation

01:02 Changeset in OpenModelica [be13b5c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[FE] update exponential simplification

  • fixes ticket #6068 (second issue)
  • new rule to check if b is even for simplfication of (ab)c (ab)c = abs(a)(b*c) if b is even
01:02 Changeset in OpenModelica [374079c5]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[BE] do not remove initial asserts

  • fixes ticket #5599
  • prevents removal of initial asserts to removed equations
  • sideeffect: fixes dropping of asserts in removed equations of regular system
01:02 Changeset in OpenModelica [cfb4309d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Fix DAE conversion of Operator.SUB_ARRAY_SCALAR.

  • Convert array .- scalar to array +- (scalar) when converting to DAE, since the DAE doesn't have the corresponding subtraction operator.
01:02 Changeset in OpenModelica [172ac35]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Improve call type evaluation.

  • Don't evaluate dimensions in calls inside functions.
  • Avoid evaluating the whole expression when having a conditional array type as dimension.
01:02 Changeset in OpenModelica [1657973]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6708)

01:02 Changeset in OpenModelica [bf16f1db]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp

Fixes ticket:6083 Use a default coordinate system value instead of 0 (#6706)

01:02 Changeset in OpenModelica [c32a4ad3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 17 edits
    6 adds
    1 delete in /

[NF] Enforce some of the rules for partial.

01:02 Changeset in OpenModelica [d5939ae3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Fix mutually recursive constants detection.

  • Change the evaluation flag in Binding.TYPED_BINDING from a boolean to an enum to indicate bindings that are being evaluated instead of using a separate binding uniontype.
01:02 Changeset in OpenModelica [52dd308f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Detect recursive bindings during evaluation.

01:02 Changeset in OpenModelica [1aea9d15]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Propagate Evaluate=true to subcomponents.

01:02 Changeset in OpenModelica [ec55b75]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Update OMSimulator (#6699)

01:02 Changeset in OpenModelica [b6956c3a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/openmodelica_types.h

more fixes for Ticket:5550 on 32bit

01:02 Changeset in OpenModelica [6f956f00]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.c

[FMI] Don't call input_function for FMI in doStep

  • Moved function call to externalInputUpdate call.
01:02 Changeset in OpenModelica [6f65e80]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime

Use Euler for FMUs without states

  • CVODE will not be used for FMUs without any states
01:02 Changeset in OpenModelica [a7876a3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/generic_array.c

fix printf formatting in windows/mingw for integer types

01:02 Changeset in OpenModelica [a472cde]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/c

Make Integer have same size in Modelica/MetaModelica

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

01:02 Changeset in OpenModelica [b99b15f8]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Stop backend when unsolvable system is detected (#6693)

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

01:02 Changeset in OpenModelica [bd508db]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Fix some caching in the CI jobs (#6697)

  • Fix cache of the packages from the package manager
  • Fix cache of runtest.db
01:02 Changeset in OpenModelica [bdd97f5]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMEdit/OMEditLIB/Util

Fixes ticket:5998 Reset the search filter when ESC is pressed (#6694)

Fixes ticket:5998 Reset the search filter when ESC is pressed

Use a local signal to call the QLineEdit signal

01:02 Changeset in OpenModelica [653e5ea3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 delete in doc/UsersGuide/source

Updated the Documentation Browser users guide

01:02 Changeset in OpenModelica [07f52871]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

Remove some unused drModelica code

01:02 Changeset in OpenModelica [7599da52]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

timeSimulation and timeTotal were missing

If the simulate() command produced a simulation executable that failed,
the timeSimulation and timeTotal variables were missing from the record.

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

01:02 Changeset in OpenModelica [85582ea6]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    3 adds in doc/UsersGuide/source

Fix the doc when calling omc from shell (#6686)

  • Fix the generated PATH
  • Add missing files
01:02 Changeset in OpenModelica [ec88176]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/GenerateDoc.mos

Do not unquote + to spaces when looking for links (#6690)

https://github.com/modelica/ModelicaStandardLibrary/pull/3612

01:02 Changeset in OpenModelica [429e1912]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/runtime/settingsimpl.c

Issue #6078: ignore OPENMODELICALIBRARY when running the testsuite

01:02 Changeset in OpenModelica [d9ac32f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits in /

Issue #6078, OPENMODELICALIBRARY env.var overrides the Modelica path

  • if set OPENMODELICALIBRARY will be used in getModelicaPath() API
  • update the scripting functions documentation
  • do not set OPENMODELICALIBRARY for Windows in common.groovy
  • further work is needed on Windows to allow older and newer versions to co-exist
01:02 Changeset in OpenModelica [8763039]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 16 edits in /

Fixes testsuite clean and added test rule

  • Add missing dependencies in testsuite makefiles so clean is not removing tracked files.
  • Add omsimulator to test dependencies
  • Add test and fast-test to main makefile for an easy test run.
  • Updated Linux README with new test rule.
01:02 Changeset in OpenModelica [b41b3b9]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 add in testsuite/simulation/modelica/algorithms_functions

[testsuite] add testcase for ticket #6068

01:02 Changeset in OpenModelica [a746fb63]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler/BackEnd

[BE] update binary differentiation

  • fixes ticket #6068
  • add two exponential differentiation rules
  • xp and px where p is a parameter (treat just like constants)
  • add local function constants and parameters to DifferentiateData
01:02 Changeset in OpenModelica [988d32f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAECreate.mo

replace external alias in parameter bindings (#982)

This is needed if parameters are initialized by external functions using the same external object .

01:02 Changeset in OpenModelica [39e4797]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6684)

01:02 Changeset in OpenModelica [3bb2e5c3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

Fixes ticket:6060 check NULL pointer when deleting the connection

01:02 Changeset in OpenModelica [1431fdc0]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 add in testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0

Add Cpp test for FMU export with table, ticket:5963

01:02 Changeset in OpenModelica [f158b2f7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits in /

port changes to ModelicaExternalC from OMSICpp to old Cpp runtime

  • handle changes to ModelicaExternalC
  • move ${MODELICAEXTERNALCDIR}/snprintf.c to ModelicaMatIO as it comes last in the link order, before ModelicaIO
  • change the order of library linking for Cpp FMUs
  • change testsuite/sanity-check/testSanity.mos to test ModelicaTables using a total model
  • activate the Cpp sanity check on Linux, besides Windows
01:02 Changeset in OpenModelica [ed020258]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

Fix for ticket:6037

  • use stopTime for initSample if stopTimeDefined is set to true
  • set status to fmi2Error if doStep goes over the defined stopTime
01:02 Changeset in OpenModelica [957d58e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 9 edits in /

[BE] make StateSelect.always on dummys non strict

01:02 Changeset in OpenModelica [d653cf6e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 move in OMCompiler/Compiler/Util

Rename Compiler/Util/omc_file -> omc_file_ext.h (#6678)

  • There is a file SimulationRuntime/c/util/omc_file.h.

when SimulationRuntime/c and Compiler/ are both given as
include directory there will two headers reachable at
util/omc_file.h

01:02 Changeset in OpenModelica [67e11be]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/Util

[NB] add newBackend flag to master to avoid future conflicts

01:02 Changeset in OpenModelica [f61de87]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Homotpy documentation updated

01:02 Changeset in OpenModelica [c2b77310]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

01:02 Changeset in OpenModelica [0bc89c2e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

01:02 Changeset in OpenModelica [0e18b13]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

01:02 Changeset in OpenModelica [c797135]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in doc

Add documentation for initialization

01:02 Changeset in OpenModelica [9678d3f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/cpp

port OMSICpp fixes for Ubuntu Focal to cpp

01:02 Changeset in OpenModelica [40377d18]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEquation.mo

[NF] Improved handling of invalid if-branches.

  • Traverse the condition of an invalid branch in Equation.mapExp, since it should be valid even if the body isn't and might need to be updated when e.g. unrolling for-loops.
01:02 Changeset in OpenModelica [514dc0b1]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 9 edits in /

[BE] update strict stateSelect.always

  • fixes ticket #3689
  • updates removeSimpleEquations to not convert states to dummy states if they have stateSelect.always
  • update error message for not allowed stateSelect.always variables and change it to ERROR
  • fix testsuite
01:02 Changeset in OpenModelica [e7d1be36]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in /

[NF] Fix actualStream evaluation.

01:02 Changeset in OpenModelica [52bba25]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFConnectEquations.mo

[NF] Fix wrong package name.

01:02 Changeset in OpenModelica [9737293a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 10 edits
    848 adds in /

Bring back the old Cpp runtime (#965)

  • bring back the previous Cpp runtime
  • adapt old cpp runtime to new changes
  • configure old Cpp runtime too
  • linearized model name changed
  • fix Cpp build
  • attempt to fix old Cpp runtime dylib rpath
  • port some OMSICpp tpl changes to Cpp
  • extend sanity check for Linux/Mac
  • cpp runtime fixes for mingw and mac
  • disable sanity check for cpp runtime on Linux/Mac as it doesn't work yet
  • call runtimeCPPinstall for all-runtimes target on Windows
  • add runtimeCPPinstallOld to phony
  • support path with spaces + quote call of exe and path arguments in Model.bat + port path with spaces fixes from OMSICpp
01:02 Changeset in OpenModelica [a924bd2]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo

[NF] further fix discrete real check

  • adds record support
  • fixes ticket #6045
01:02 Changeset in OpenModelica [a599ff87]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

[NF] Add workaround for ModelicaError purity.

  • Set ModelicaError external call to be pure to temporarily work around issues with function purity.
01:02 Changeset in OpenModelica [c4ae1c7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo

Replace alias var in removed equations

  • For new alias variable created in introduceOutputAliases we will update removed equations as well.
01:02 Changeset in OpenModelica [45f021cc]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp

Check for NULL pointer

01:02 Changeset in OpenModelica [d16ac98a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/OMS/OMSSimulationDialog.cpp

allow signalFilters to be empty

01:02 Changeset in OpenModelica [58c40be]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMEdit/OMEditLIB/OMS

add getSignalFilter to OMSSimulationDialog

01:02 Changeset in OpenModelica [fada3b0]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in testsuite/omsimulator/test03.mos

expected output

01:02 Changeset in OpenModelica [44eebfa4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator

01:02 Changeset in OpenModelica [3d85fe8]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 11 edits in OMEdit/OMEditLIB

Fixes ticket:6032 Fixed the display of diagram window

01:02 Changeset in OpenModelica [354f9e8c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in /

Improve introduction of documentation (#6662)

  • Actually install the libraries so the documentation examples work
  • Clarify that error-messages should be shown in some documentation examples
  • Run the command-line omc examples through the actual OMC for up-to-date output

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

01:02 Changeset in OpenModelica [2cde35b]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/omedit.rst

Added short summary of simulation phases (#6654)

Added short summary of simulation phases

See ticket #6034(https://trac.openmodelica.org/OpenModelica/ticket/6034)
Updated the simulation setup window details.

01:02 Changeset in OpenModelica [96f510c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/openmodelica/flatmodelica

Add the Tables test for flat Modelica (#6661)

01:02 Changeset in OpenModelica [18bb69a0]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Fix scoping in Function.instFunctionNode.

  • Include the root class in the prefix when instantiating functions.
01:02 Changeset in OpenModelica [89c3818]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Handle quoted identifiers in external functions better (#6658)

01:02 Changeset in OpenModelica [8778574]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/SCodeUtil.mo

Allow merging a modifier into an empty modifier (#6657)

01:02 Changeset in OpenModelica [5291832]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFStatement.mo

[Flat] Quote identifiers in for loops (#6656)

01:02 Changeset in OpenModelica [5163f495]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/c

Read input file realative to inputPath (#6653)

Fix for ticket #6035

01:02 Changeset in OpenModelica [266a06e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFExpression.mo

[Flat] Escape strings in Flat Modelica (#6655)

01:02 Changeset in OpenModelica [64eb4b4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo

[NF] update discrete real sanity check

  • remove all subscripts from crefs to handle arrays
  • will not catch individual missing array elements
01:02 Changeset in OpenModelica [29dcc4d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 13 edits
    4 adds in /

Various fixes for Flat Modelica (#6652)

  • Added test cases
  • External objects now work and constructor/destructor are at the correct place
  • Derivative annotations now work
  • LibraryDirectory/IncludeDirectory default values now work
  • Quotes inside quoted identifiers should now work
  • The generated class is now a single entity (no functions outside the scope)
  • Handle empty array constructors (replaced with fill calls)

And some fixes outside flat Modelica:

  • We now look in the installation directory for external libraries (useful in case we use ModelicaTables, etc)
01:02 Changeset in OpenModelica [819a4603]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Fix package manager issues.

  • Fix regex in SemanticVersion.parse.
  • Add package manager API to NFModelicaBuiltin.
01:02 Changeset in OpenModelica [fdc75660]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 9 edits
    288 adds in /

implement dataReconciliation new extraction algorithm

01:02 Changeset in OpenModelica [ae9249b6]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

[NF] Improve boxing of expressions.

  • Improve type checking for boxed expressions.
  • Improve DAE conversion of boxed expressions.
  • Add List.compare to compare two lists.
  • Fix all the various Expression traversal function so they handle all the different types of Expressions.
01:02 Changeset in OpenModelica [1a64c7d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Consider conversion annotations before issuing warnings (#989)

loadModel now looks at conversion annotations before deciding to issue
a warning because a library was already loading with an incompatible
version.

  • If no conversion script is needed, a notification is issued.
  • If a conversion script is needed, a warning is issued.
  • If there is no conversion script annotation, a warning is issued since most likely there is zero compatibility.

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

01:02 Changeset in OpenModelica [0fe5a308]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[NF] improve discrete Real check

  • check nested if equations in when equations for discrete Real definitions
  • update model to be legal
01:02 Changeset in OpenModelica [681a676d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/flattening/modelica/scodeinst

[testsuite] update ill posed models

01:02 Changeset in OpenModelica [9e40b42a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in /

[NF] implement a sanity check for discrete reals

  • discrete real variables have to be determined by a when equation or algorithm
  • throw error if any discrete variables are not determined in such
  • ticket #5836
01:02 Changeset in OpenModelica [35f157d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Evaluate intMaxLit (#995)

01:02 Changeset in OpenModelica [e0e0c18]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

[NF] Add differentiability check for der().

  • Check that the argument of der() isn't discrete.
01:02 Changeset in OpenModelica [f8f69cc]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

installPackage now considers build info (#991)

  • installPackage now considers build info

If build metadata it is given to installPackage and exactMatch=true,
only such packages are installed.

If there is no such build metadata requsted, packages with build
metadata will still be considered matches.

01:02 Changeset in OpenModelica [88cebd2d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits
    1 add in /

[NF] Enforce function purity rules better.

  • Give a warning if any pure function contains calls to impure functions, and mark such functions as impure themselves to make sure they're not constant evaluated.
01:02 Changeset in OpenModelica [7367d3f7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 4 edits in OMEdit/OMEditLIB

Instantiate OMSimulator model when simulate button is clicked

01:02 Changeset in OpenModelica [57d33c9]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp

Fix opening of text files

01:02 Changeset in OpenModelica [1bad6749]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Only link to existing files.

  • Make runtest.pl only create symlinks to existing files, to avoid that files generated by test cases escape their sandboxes.
  • Remove the name of the sandbox folder in paths when running tests with runtest.pl, since they contain the process id which changes each time.
01:02 Changeset in OpenModelica [4a410d5]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 26 edits in /

[Template] update linearization file names

  • use linearized_model as file and function name for all target languages
  • prevents invalid constructs (different file and function name)
  • avoids convoluted and too large names
  • ticket #5927
01:02 Changeset in OpenModelica [4d8c0a7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFInst.mo

[NF] Fix scoping of function references.

01:02 Changeset in OpenModelica [fe2ebfe6]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 7 edits in /

Updated OMEdit users guide

01:02 Changeset in OpenModelica [c43e5cd8]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFExpression.mo

[NF] Fix Expression.mapFoldShallow for BOX.

01:02 Changeset in OpenModelica [5c8c9a6e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 8 edits
    1 add in OMCompiler/Compiler

[NF] Clocked operators improvements.

  • Mark the parameter arguments of backSample, shiftSample, subSample, and superSample as structural so that they're evaluated by the frontend, since the clock partitioning in the backend expects this.
  • Move the structural parameter utility functions from Inst to its own package, to avoid the need for other packages to depend on Inst when they just want to mark some parameters as structural.
01:02 Changeset in OpenModelica [3db253b2]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/3rdParty

Update 3rdParty for newer MSL

01:02 Changeset in OpenModelica [bed86ec]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[Jenkins] Sync output more in order to produce better logs

01:02 Changeset in OpenModelica [3ad39ce]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 9 edits in /

Undefined variable units when using FMUs (ticket:6002, #975)

  • Unknown units will be exported to the UnitDefinitions but without a BaseUnit representation
  • Define unit bar
01:02 Changeset in OpenModelica [6218ea6]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/special/FmuExportCrossCompile

[FMI] Check external FMU simulator

  • Simulate bouncing ball model with fmuCheck and validate results.
  • Added test to cross-build-fmu in Jenkinsfile
01:02 Changeset in OpenModelica [20d3d14]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

[FMI] Reset eventInfo only on entering event mode

Fix for ticket 5367.

  • fmi2EnterEventMode will reset eventInfo. Then the FMU integrator will set newDiscreteStatesNeeded=fmi2True. Inside fmi2NewDiscreteStates value for valuesOfContinuousStatesChanged will stay true if it becomes true at some point.
  • valuesOfContinuousStatesChanged can't trigger another call to fmi2EventUpdate any more. Would lead to infinit loop.
01:02 Changeset in OpenModelica [94b3a972]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/generate_icons.py

make the icon generator usable on Windows

01:02 Changeset in OpenModelica [f2cecadb]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in Makefile.in

Fix make clean for target libs-for-testing.

01:02 Changeset in OpenModelica [5f79682d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/omedit.rst

Fixes ticket:5851 Added documentation for temp and working directory

01:02 Changeset in OpenModelica [b527a30]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp

Unload top level libraries with Del key

01:02 Changeset in OpenModelica [dcff2a66]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in /

[BE] remove known variables for init lambda 0

  • avoids hardcoded known variable binding equations and allows -override
  • add minimal model
  • ticket #6001
01:02 Changeset in OpenModelica [62d1f59b]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Record fixes.

  • Fix type in Expression.recordElement.
  • Try to evaluate the parent binding before creating a binding from a record instances children, since the parent binding has higher priority.
01:02 Changeset in OpenModelica [43462da2]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo

[BE] add loop dumping of init lamba 0 system

01:02 Changeset in OpenModelica [60c03ed]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 3 edits in OMParser

don't throw something that is not an exception

01:02 Changeset in OpenModelica [a806fb3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/runtime/src/support/CPPUtils.cpp

more fixes for old compilers

01:02 Changeset in OpenModelica [b23545f4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 6 edits
    6 adds in OMParser

fix for building on jessie

  • support older systems which do not have codecvt header
  • use utfcpp instead for the conversion
01:02 Changeset in OpenModelica [6caa70ec]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/CMakeLists.txt

attempt to fix build on CentOS

01:02 Changeset in OpenModelica [71be995]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

mingw sanity test in a path with spaces

  • test special paths both for the install path and the path where things are generated and compiled
  • TODO! add some test with a path with special chars (doesn't work yet via groovy)
01:02 Changeset in OpenModelica [88836f3]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenOMSIC.tpl

Handle OMHOME with spaces in path

  • First fix for ticket #6004
01:02 Changeset in OpenModelica [4be52eca]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Improve evaluation of reductions.

  • Evaluate iterations ranges before doing bindingExpMap since the evaluated ranges might contain binding expressions.
01:02 Changeset in OpenModelica [678dc7a]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Element/ElementProperties.cpp

ticket:5976 Don't change unit when the literalConstant is true

01:02 Changeset in OpenModelica [f832b995]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo

[NF] Fix evaluation of call return type dimensions.

01:02 Changeset in OpenModelica [74a76195]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 33 edits
    3 deletes in OMEdit/OMEditLIB

Snapshot based redo undo functionality for OMSimulator models

Create new OMSimulator models by right clicking in the Libraries Browser
Improved the addsubmodel dialog. Let user first select the file and then propose name from filename.
Fixes ticket:5789
Fixes ticket:5984
Disable the text view if its not allowed to edit.
Tabs should be preserved when accepting text changes.
The open nodes of the tree view in the libraries browser should be preserved when accepting text changes.

Handle deletion of multiple components.
Convert dots to underscores in submodel name.
Set background-color to show the read-only ssp editor as disbaled.
Renamed OMSimulator menu item to SSP.
Use the same GUI buttons for simulation.
Separated instantiation from simulation setup.
Disable the changes once the model is in instantiated state.
Get rid of OMSSimulationOptions.h InstantiateDialog.h/.cpp
Accept text changes when user clicks in the libraries browser.
Open directly the file browser when adding a submodel.
Use just one setting for working directory.

01:02 Changeset in OpenModelica [09b07aa]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/CMakeLists.txt

proper versions for cmake policies

01:02 Changeset in OpenModelica [18190c5]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 333 edits in /

fix ticket:5999, escape the string returned by getErrorString()

01:02 Changeset in OpenModelica [718ecfc]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[NF] Simplify reductions more.

  • Simplify reductions where the iteration range only contains zero or one values.
01:02 Changeset in OpenModelica [4d2dfc3c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Use the package manager to set library versions for testing

Also fixed the package manager to unzip non-github zips correctly.

Now supports Windows line endings in JSON lexer.

01:02 Changeset in OpenModelica [e5a10c2]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in .CI/common.groovy

Sanity check for rtest + libraries existing

01:02 Changeset in OpenModelica [b834408]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Util/SemanticVersion.mo

Fix for SemanticVersion regex not working on OSX

01:02 Changeset in OpenModelica [10de08b]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 10 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Ragged dimension improvements.

  • Flatten and evaluate dimensions in types.
  • Various fixes for binding expressions.
01:02 Changeset in OpenModelica [826b466c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 12 edits in /

[FMU] Adding docuemntation and inproving flags

  • Add documetnation for CVODE 2.0 CS FMUs
  • Updated test to check if example from doc is working
  • Add break for infinit while loop
  • Disable internal root finding of CVODE for FMI
  • Test example with event handling
01:02 Changeset in OpenModelica [a87e006]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 19 edits
    3 adds in /

[FMI] Adding CVODE to 2.0 CS export

Incoved by FMI simulation flag --fmiFlags=s:cvode.

  • Add source code files to FMU:
    • Adding cvode_solver.c and cvode_solver.h.
    • Adding SUNDIALS CVODE headers to FMU.
    • Changed Makefiles and configure to compile CVODE into binaries.
  • New initialization and deinitialization to handle different solver methods.
  • New integrator step function to be called in fmi2DoStep.
  • New tests for static and dynamic FMUs with CVODE.

Co-authored-by: Karim Abdelhak <karim.abdelhak@…>

01:02 Changeset in OpenModelica [9f0b10c]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/rtclock.h

More rtclock dummy function in OMC_MINIMAL_RUNTIME

  • Added dummies for rt_accumulateand rt_clear.
  • Define simulation-specific timing macros for OMC_MINIMAL_RUNTIME.
01:02 Changeset in OpenModelica [6e0b36d4]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 15 edits
    4 adds in /

[FMI] Add simulation flag support

Use new command line option like --fmiFlags=s:cvode,nls:homotopy
for fmi flags.

  • Flags are loaded from file <fmiPrefix>.fmi/resources/<fmiPrefix>_flags.json.
  • json flag file:
    • One flag per line.
    • Only solver flag is used at the moment.
    • Saved in json format.
  • New file fmu_read_flags.c.inc for simulation runtime flags parsing.
  • Generate json file from CodeGeneration. New SimCode.FmiSimulationFlags used to generate file.
  • Added test for FMU flag support FmuExportFlags.mos.

Co-authored-by: AnHeuermann <andreas.heuermann@…>

01:02 Changeset in OpenModelica [1640c20]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/Makefile

fix bad include directory

01:02 Changeset in OpenModelica [870d59d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/Makefile

do not use -stdlib=libc++ on Linux as it doesn't work

01:02 Changeset in OpenModelica [c8e8dc7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in Makefile.in

Add target for the debug build of OMSimulator (#947)

01:02 Changeset in OpenModelica [31d1262]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Makefile.omdev.mingw

attempt to fix Windows builds

01:02 Changeset in OpenModelica [04f2090]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 50 edits
    8 moves
    371 adds in /

Replaceable Redeclare Support (#943)

  • rename Component to Element
  • add OMParser and antlr4 runtime
  • update .gitignore
  • more replaceable support changes
  • enable replaceable support via a setting in OMEdit (not on by default)
  • use getElements and getElementAnnotations when replaceable support is activated
  • populate the dialogs with the replaceable classes and components
  • fix some issues when retrieving the elements annotations
  • revert some Component -> Element renames for the Qt signals
  • small fixes
  • attempt to fix MacOS builds (thread_local not available)
  • better way of handling CXX flags in OMEdit projects for Windows
  • mac doesn't know cp -u, remove that
  • fix building with clang on qt5
01:02 Changeset in OpenModelica [8bd41fa]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Minor cleanup and commenting. (#940)

  • Added comments for record handling template functions.
  • Removed generation of unused record utility function recordCopyFromVars which was used to assign to 'record' in simulation contexts. Assigning to record in simulation context is now handled by splitting the assignment (recursively) to each element instead.
01:02 Changeset in OpenModelica [995e62c1]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 2 edits in /

add some sanity checks for CI/Build MINGW

  • make sure the compiler can build and simulate a simple model with C, C++ and that an FMU can be build
  • check that linearization works (for matlab)
  • check that OMEdit can start (not missing any dlls)
  • add a script to test the sanity, don't build it on the fly as escaping in Windows is alien technology
  • build more stuff in parallel for mingw/msvc (via all-runtimes target)
01:02 Changeset in OpenModelica [c7c12f50]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

[NF] Initial handling of ragged dimensions.

01:02 Changeset in OpenModelica [b40753c7]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in libraries

Only push library updates when the build is stable

01:02 Changeset in OpenModelica [0beab8d0]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Util/Error.mo

[NF] Add promote as experimental operator.

01:02 Changeset in OpenModelica [079ba58]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Handle preExp and varDecls for crefs with subs. (#923)

  • Handle preExp and varDecls for crefs with subs.
  • We used to throw away any extra expressions and variable declarations needed for it, i.e., if it has some complicated subscript that can not be generated inline.
  • If you are sure you have a path (a cref with no subs) then you can use contextCrefNoPrevExp (e.g variable names are just paths. They are just represented as cref). Otherwise contextCref now needs a preEx and varDecls buffer passed to it.
  • Fix wrong ordering of buffer arguments.
  • Avoid unnecessary code generation.
  • The path we took for crefs with subscripts in function context used to create unnecessary temporaries and exps which we did not notice because they were were thrown away after being created.
  • Split up the function to take different paths for normal and parallel functions.
  • Add a test case for Ticket:5994.
01:02 Changeset in OpenModelica [361a748f]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo

[Flat] Use toFlatString also on clock constructors

01:02 Changeset in OpenModelica [97762628]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.h

MinGW & other minor fixes

  • more homogenous handling of LINK_SUNDIALS_STATIC for ida_solver, cvode_solver and radau
  • signal that we link with static fmilib in FMICommon.h (define FMILIB_STATIC_LIB_ONLY)
  • more debugging in testsuite/simulation/libraries/common/ModelTesting.mos
  • change Util.absoluteOrRelative to check for the relative path and if it doesn't exist return the original path to generate better error messages
01:02 Changeset in OpenModelica [391169d]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

[NF] Clean up Flatten.

  • Pass the scalarize flag as a bool where it's needed instead of looking up the value of the flag over and over.
  • Split the array vectorization off to a separate function to make the code cleaner and avoid having to check whether to run the code for every array element.
  • Simplify binding handling in Flatten.flattenClass.
01:02 Changeset in OpenModelica [e6e2212]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.h

link sundials statically on mingw in cvode_solver.h

01:02 Changeset in OpenModelica [d7dddd1e]maintenance/v1.16 by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo

[NF] Improve/cleanup expression traversal functions.

  • Implemented Expression.applyShallow.
  • Moved some traversal utility functions to the modules for the types they traverse, i.e. ComponentRef, Call, etc.
  • Moved Expression.ClockKind and its functions to a separate file.
  • Fixed apply for typed reductions, which would only apply the function to the default and fold expressions without traversing into them.
00:11 Changeset in OpenModelica [0b6b6fe] by Adrian Pop <adrian.pop@…>
  • 9 edits in /

fix #6127, #6128, #6138

  • remove error messages in #6129
  • rename updateConnectionStr to updateConnectionAnnotation
00:10 Changeset in OpenModelica [22938a82] by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in OMCompiler/Compiler

Implemented new hash set data structure.

  • New hash set UnorderedSet<T> (since HashSet is already taken) that doesn't require the user to define a new package for each type. Also features automatic rehashing to avoid performance issues when the number of values is unknown.
  • Replaced BaseHashSet usage in NFExpandableConnectors with UnorderedSet to test the implementation.
00:10 Changeset in OpenModelica [1bafd64a] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6766)

00:10 Changeset in OpenModelica [7dbce647] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 92dad03...6fd570a (1):

    Bump libraries

00:09 Changeset in OpenModelica [0ff97e39] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 8a46d7a...92dad03 (2):

    Bump libraries
    Bump libraries

00:09 Changeset in OpenModelica [814a2fa] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Change listAppend notification to warning.

  • Change listAppend notification to warning to make it fail during bootstrapping and avoid people pushing such code in.
00:09 Changeset in OpenModelica [3e54628d] by Adrian Pop <adrian.pop@…>
  • 4 edits in OMCompiler/Compiler

Remove constrain operator.

  • constrain is a nonstandard operator that apparently was used a long time ago by an old multibody library. Since it's nonstandard, not working and not documented I'm removing it to avoid it polluting the builtin namespace.
00:09 Changeset in OpenModelica [e7d668b] by Adrian Pop <adrian.pop@…>
  • 6 edits
    2 adds in /

[NF] Handle encapsulated during name lookup.

  • Implement support for handling encapsulated correctly during lookup.
  • Mark all builtin operators in NFModelicaBuiltin as OpenModelica_builtin, instead of just a random sampling of them.
00:09 Changeset in OpenModelica [1659db2c] by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

fixes for ticket #6013 and #6129

  • use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
  • fully qualify the path we search for and all the extends in the loaded libraries to make sure is the proper subtype of
  • a bit slow but it can be improved later
  • force instantiation when NF_API is on even if inner component is not found
  • speedup getExtendsModifierNames if there are no modifiers in extends
00:09 Changeset in OpenModelica [50cff70] by Adrian Pop <adrian.pop@…>
  • 10 edits in /

[C-Runtime] typo

00:09 Changeset in OpenModelica [f77b914] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp

Fixes ticket:6107 set tcp socket before sending data

00:09 Changeset in OpenModelica [3e5cf2b] by Adrian Pop <adrian.pop@…>
  • 5 edits in /

proper speedup for updateComponent #5620

  • new API updateComponentStr that can be called directly via Qt API
  • use the new Qt API from OMEdit
  • fix the differences between NFModelicaBuiltin.mo and ModelicaBuiltin.mo
00:09 Changeset in OpenModelica [52efe49] by Adrian Pop <adrian.pop@…>
  • 44 edits in OMCompiler/Compiler

Fix listAppend warnings.

  • Fix or disable all listAppend warnings to make it possible to see the actual compilation errors when compiling omc.
00:09 Changeset in OpenModelica [09038343] by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Handle internal errors in scripting API and OMEdit.

  • Add internal to the ErrorLevel enumeration and fix CevalScript.errorLevelToValue so that it handles ErrorTypes.INTERNAL().
  • Add handling for ErrorLevel.internal in OMEdit.
00:09 Changeset in OpenModelica [8ba6386] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/InteractiveUtil.mo

small speedup of API updateConnection #5620

00:09 Changeset in OpenModelica [ad0ba846] by Adrian Pop <adrian.pop@…>
  • 2 edits
    2 adds in /

Fix #6134.

  • Use the last base class when inferring function attributes to correctly handle inherited external "builtin" functions.
  • Change NFFunction.getBuiltin to check for OpenModelica_BuiltinPtr annotation like the old frontend, instead of just any builtin element, and rename it to getBuiltinPtr to avoid confusion.
00:09 Changeset in OpenModelica [66cc9a9e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

[FMI] Catch asserts in fmi2GetXXX

  • Catch asserst in fmi2Get{Real,Integer,Boolean,String} and return fmi2Error
00:09 Changeset in OpenModelica [60d6fb86] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler

[SimRT] Clarify the defines needed to use GC. (#6755)

  • On Windows with OMDev/MinGW the define we need is GC_WIN32_PTHREADS

to use a Pthreads Win32 API.
On other systems GC uses GC_THREADS for auto detection of threading
implementation. On Windows, GC_THREADS alone means Win32 threads.

00:09 Changeset in OpenModelica [60d7d31] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/runtime/settingsimpl.c

[RT] Remove assignment inside assert. (#6756)

  • expressions in assert should ideally have no extra side effects.
    • Assert is a macro and can be disabled (to no op) by defining NDEBUG. Some build configurations define NDEBUG on release or optimized builds.
00:09 Changeset in OpenModelica [90aafa9c] by Adrian Pop <adrian.pop@…>
  • 10 edits in /

more support for replaceable #2079

  • new APIs getElement* similar to getComponent* but handling also the redeclares
  • add OMJava to .gitignore
  • touch *.mat expanded from *.mat.xz to not unpack them each time you run make
00:08 Changeset in OpenModelica [4b739bc3] by Adrian Pop <adrian.pop@…>
  • 2 edits in doc/bibliography

Add tinnerholm:eoolt:2019 to the bibliography (#6754)

00:08 Changeset in OpenModelica [9af5939] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Fixes for the Package Manager (#6750)

  • When upgrading a package that does not have a SHA, do not fail
  • When an installation is requested, give a notification that the package is already installed if no installation will be performed.
00:08 Changeset in OpenModelica [e12ef55e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/generate_icons.py

Sync the component info and annotation (#6751)

Fixes ticket:6112

00:07 Changeset in OpenModelica [d4017d4] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 8a46d7a...89f2ebd (1):

    Bump libraries

00:07 Changeset in OpenModelica [4db8dba] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 767f246...8a46d7a (1):

    Bump libraries

00:07 Changeset in OpenModelica [b647fc23] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFUnitCheck.mo

[NF] Swap order of recursion in unit checking.

  • Swap order of recursion in NFUnitCheck.insertUnitInEquation as a workaround for #6114.
00:07 Changeset in OpenModelica [6fe6d56] by Adrian Pop <adrian.pop@…>
  • 18 edits in OMCompiler

[omsicpp] Merge zeromq extensions for the cpp runtime and the omc c api library in omsicpp

00:07 Changeset in OpenModelica [03b4af4b] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries c1c1c40...767f246 (1):

    Bump libraries

00:06 Changeset in OpenModelica [3f938a8a] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler

Transport fortran flags to the subprojects (#6746)

00:06 Changeset in OpenModelica [085d05d] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 03dbc85...c1c1c40 (1):

    Bump libraries

00:06 Changeset in OpenModelica [028422d0] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/CheckModel.mo

Fix counting of top-level inputs in checkModel.

  • Simplify the check for top-level inputs to count all public inputs as top-level, since both frontends already remove direction prefixes from non top-level variables anyway.
00:06 Changeset in OpenModelica [90acb99e] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] update discrete real check

  • correct support for array element types
00:06 Changeset in OpenModelica [411df65] by Adrian Pop <adrian.pop@…>
  • 6 edits in testsuite

[testsuite] fixup for #6106 fix

00:06 Changeset in OpenModelica [98d631ff] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c

[C] remove wrong convergence check in NLShomotopy

  • fixes ticket #6106
  • the old code only checks error in residuals not in variables
  • always need at least one step to ensure variable error tolerance
00:06 Changeset in OpenModelica [33a58b28] by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in /

[NF] Fix top-level input handling.

  • Treat components inside a top-level input as top-level inputs.
00:06 Changeset in OpenModelica [a4c75a8] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries e1ba776...03dbc85 (1):

    Bump libraries

00:06 Changeset in OpenModelica [a07ac851] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo

[NF] Prefix records with root path in EvalFunction.

  • Record names should always be prefixed with the root path if there is one.
00:06 Changeset in OpenModelica [e8d991c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFTyping.mo

[NF] Remove Typing.isNonConstantIfCondition.

  • It was moved to Expression.isPure in a previous commit, but the original function was accidentally left.
00:06 Changeset in OpenModelica [be25d70] by Adrian Pop <adrian.pop@…>
  • 7 edits in OMEdit/OMEditLIB/Annotations

Apply the transformation on the graphical items inside the elements

Fixes wrong display of bitmaps. Ticket:6066

00:06 Changeset in OpenModelica [532fc601] by Adrian Pop <adrian.pop@…>
  • 48 edits
    14 deletes in OMCompiler

Revert "CMake configuration support for OMCompiler (#6648)"
This reverts commit 3256d6895da8c3d07ebc1a4cc135856a349e9b6b.

00:06 Changeset in OpenModelica [e6d8911] by Adrian Pop <adrian.pop@…>
  • 5 edits in OMEdit/OMEditLIB

Remove the unknown simulation flag outputFormat

Fixes ticket:6107

00:06 Changeset in OpenModelica [e9b99932] by Adrian Pop <adrian.pop@…>
  • 3 edits in /

Fixed the overlapping display issue of connectors (#6729)

  • Write errors when icon generator test fails
  • Use a newer build-deps for the latest OMPython
  • Update the test output

Co-authored-by: Martin Sjölund <martin.sjolund@…>

00:06 Changeset in OpenModelica [a2031c27] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Fix function variability.

00:06 Changeset in OpenModelica [95a6c86] by Adrian Pop <adrian.pop@…>
  • 48 edits
    14 adds in OMCompiler

CMake configuration support for OMCompiler (#6648)

  • [cmake] Initial cmake configuration support.
  • [cmake] Add OMParser to compilation.
  • Uses two macros for generating the C files from the antlr sources. One is used for antlr files that depend on base_modelica_lexer. The other is used for only Modelica.g right now.
  • [cmake] Move the antlr target macros new file.
  • They clutter things in the main cmake file.
  • [cmake] Add CMake support for OMCompiler/runtime.
  • OMCompiler/runtime cannow be compiled using cmake.
    • Right now there is missing symbols from dgsev. I am not sure yet where to add them. Maybe dgsev can be added to simulationRuntime/c libraries. Other than that OMCompiler/runtime can be compiled with all symbols found at the moment.
  • We now use proper qualified names for libraries, e.g. omc::3rd::gc for the gc-lib in 3rdParty/gc. These names are added as aliases to the actual library. Use these everywhere. There should not be a single use of the actual library names.
  • [cmake] Update 3rdParty submodule.
  • Changes have been made to the submodule on mahge/cmake_config. It is mostly some minor fixes and a 3rdParty top level CMakeLists.txt
  • [cmake] Add prefixes to 3rdParty cmake options.
  • CMinPack shared library option is prefixed so that it does not conflict with other libraries build types.
    • BUILD_SHARED_LIBS -> CMINPACK_BUILD_SHARED_LIBS
  • Sundials options are prefixed so that they do not conflict with other libraries.
    • KLU_ENABLE -> SUNDIALS_KLU_ENABLE
    • LAPACK_ENABLE -> SUNDIALS_LAPACK_ENABLE
  • [cmake] Prefix 3rdParty/sundials CMake variables
  • More 3rdParty/sundials CMake variables have been prefixed and the submodule updated. See the commit on the submodule.
  • [cmake] Add Susan to MetaModelica compilation.
  • A macro is added for compiling a given susan template file to a MetaModelica .mo file using omc.

For convenience, a list of all the generated mo files is added
to the cmake variable TPL_OUTPUT_MO_FILES by the macro.

  • [cmake] Add runtime/omcbackendruntime compilation.
  • [cmake] Added an interface include to fmilib.
  • There is an inteface include directory defined for fmilib in 3rdParty/CMakeLists.txt. That means we do not need to explicitly add the include directory here. Until FMIL sorts out their configuration usage we can deal with it like this.
  • 3rdParty module is updated.
  • [cmake] Remove the temporary template target.
  • It was added just for testing whiled developing.
  • The generated mo files are now used by the libOpenModelica target. So the tpl files will be translated to mo if the mo files are missing.
  • [cmake] Add alias target for libomparse
  • OMCompiler/Parser (omparse) -> omc::parser
  • [CMake] Add runtime/omcgraphstream.
  • Add compilation for libomcgraphstream. Links to 3rdParty/graphstream libnetstream.a
  • [cmake] Clarify BootstrappingHeader inclusion.
  • We include OpenModelicaBootstrappingHeader.h with a relative path now.
  • If OMC_BOOTSTRAPPING is defined it is included from Compiler/boot/tarball-include. Otherwise include it from Compiler/.

We can, of course, give OMCompiler/Compiler dir as an include directory to
the libraries in runtime.
However, there is an omc_fil.h in Compiler/Util (it should not be there but it is there for now)
there is also an omc_file.h in SimulationRuntime/c/util.

We link to OpenModelicaRuntime which is built in SimulationRuntime/c/ and we
automatically provide SimulationRuntime/c/ as an include dir for things that link
to this library. This means for example runtime/omcruntime.a will get SimulationRuntime/c/
as an include dir automatically when linking to OpenModelicaRuntime.

If we give both Compiler/ and SimulationRuntime/c/ we essentially have two
files that can be reached as #include "util/omc_file.h". We should try to avoid
manually adding target_include dirs anyway. for this reason OMCompiler/Compiler/ is
not given as an include dir now. It was only needed for OpenModelicaBootstrappingHeader.h.
OpenModelicaBootstrappingHeader.h is now included by relative path.

  • [cmake] Relative OpenModelicaBootstrappingHeader.h
  • Fix OpenModelicaBootstrappingHeader inclusion on Parser/. If OMC_BOOTSTRAPPING is defined include it from Compiler/boot/tarball-include. Otherwise include it from Compiler/.
  • Some target_include_directories are not needed anymore. include directory propagation is managed by what libraries a target links to, i.e., cmake will automatically propagate the public include directories of a given library when the library is linked to some other target.
  • [cmake] Add ModelicaExternalC compilation.
  • Library aliases: omc::3rd::modelica_external_c -> ModelicaExternalC omc::3rd::modelica_mat_io -> ModelicaMatIO omc::3rd::modelica_io -> ModelicaIO
  • [cmake] Link omcruntime to blas.
  • I am not sure which blas we are supposed to use. There are some sources in 3rdParty/dgesv. I will check later if they need to be used somewhere.
  • [cmake] Do not report antlr analysis.
  • There is no need to report antlr grammar info every time the files are recompiled. The information just clutters the output.
  • [cmake] Initial MetaModelica compilation support.
  • [cmake] Move CMake related files to a subdirectory
  • [cmake] Add missing susan template targets.
  • Some susan template files were not being translated to MetaModelica because they were not added to the cmake file. They are added now.
  • [cmake] Remove non-existing package from TypeView.
  • There was a definition for a package named 'Connect' in DAEDumpTV.mo. There is no package named 'Connect' in the MetaModelica sources. There is one nested in DAE package (DAE.Connect). This was not detected as error because the package is not used in DAEDumpTpl.tpl anyway. So I guess the remove-unused-packages scrip removed it anyway.
  • [cmake] Update 3rdParty
  • Intel TBB does not exist yet on OM 3rdParty. It is disabled in the CMakeLists file for now.
  • [cmake] Define OMC_BOOTSTRAPPING for bootstrapping.
  • OMC_BOOTSTRAPPING is defined when compiling the runtime libs for bootstrapping. This define is used to pick the correct OpenModelicaBootstrappingHeader.h.
  • [cmake] Fix the directory where file is expected.
  • [cmake] Reduce info printed during configure step.
  • [cmake] Cleanup unused files.
  • The compilation of susan template targets is now handled by the CMakeLists file in OMCompiler.
  • [cmake] Move compilation out of boot folder
  • We used to configure and compile the MetaModelica files from the perspective of the Compiler/boot folder. this was done just to simplify things at the begining since it made it easier to compare things with the old approach which works from that folder.

Now MetaModelica related compilations are done from the perspective
of the Compiler/ folder. This is more logical.

00:06 Changeset in OpenModelica [1988a1c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/SimCode/SimCodeMain.mo

[SimCode] fix small bug in simcode timing

00:06 Changeset in OpenModelica [c65684e9] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6730)

00:06 Changeset in OpenModelica [ebbd88bc] by Adrian Pop <adrian.pop@…>
  • 4 edits
    14 deletes in OMCompiler/SimulationRuntime

disabled omc C- API library in cpp runtime build and removed C-API library and reduce dae code from cpp folder

00:06 Changeset in OpenModelica [7ade1e6f] by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

Return boolean results directly (#6726)

  • Instead of using if false then false else true
00:05 Changeset in OpenModelica [16aed764] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 42ba96d...e1ba776 (1):

    Bump libraries

00:05 Changeset in OpenModelica [975fae9] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Only allow evaluation of constants/parameters.

00:05 Changeset in OpenModelica [ff4deac] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Bump OMSens and OMSens_Qt

00:05 Changeset in OpenModelica [d4f9e5f] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries a96002a...42ba96d (1):

    Ignore DymolaCommands 1.0

00:05 Changeset in OpenModelica [5e2a626] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6712)

00:05 Changeset in OpenModelica [ec83adb] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler

fix ticket:6086 and ticket:5880

  • allow partial lookup and partial model instantiation when -d=nfAPI is on (#6086)
  • disable -d=nfAPI when building and simulating the model the normal way via checkModel, instantiateModel, simulate, translateModel or buildModel (#5880) (these are all going via CevalScriptBackend.runFrontEnd)
00:05 Changeset in OpenModelica [412ee86f] by Adrian Pop <adrian.pop@…>
  • 4 edits
    1 add in /

[NF] Improve modifier merging.

  • Split the modifier in redeclare modifiers into inner and outer modifiers, to make it possible to merge them in the correct order.
00:05 Changeset in OpenModelica [95317d46] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMPlot/qwt.txt

Update qwt revision.

00:05 Changeset in OpenModelica [7a489699] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/cpp

Enable separate compilation of Cpp runtime for FMI without omc

Set PLATFORMS in OMCompiler/SimulationRuntime/cpp/Makefile to e.g.

x86_64-linux-gnu

and build the Cpp runtime for FMU target without dependency on omc build.

00:05 Changeset in OpenModelica [b43dd5b] by Adrian Pop <adrian.pop@…>
  • 183 edits
    6 deletes in OMPlot

Update QWT to 6.1.5

  • Older versions of QWT causes issues with QT 5.15 due to missing include statements, which has been fixed in the latest version.
00:04 Changeset in OpenModelica [256f54d] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 4842feb...a96002a (1):

    Bump libraries

00:04 Changeset in OpenModelica [8250e11f] by Adrian Pop <adrian.pop@…>
  • 5 edits in /

[NF] Simplification improvements.

  • Expand sum/product reductions with constant iteration ranges.
  • Simplify vector calls with arrays as argument.
  • Fix some cases where arrays were incorrectly marked as literal.
00:04 Changeset in OpenModelica [7a75a0ee] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries f24a50e...4842feb (1):

    Bump libraries

00:03 Changeset in OpenModelica [b7e719e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCall.mo

[NF] Reenable call type evaluation in functions.

  • Disabling it causes issues, and wasn't actually needed anyway.
00:03 Changeset in OpenModelica [2950a354] by Adrian Pop <adrian.pop@…>
  • 9 edits in OMCompiler

temporary use fmu generation for omsicpp simulation

00:03 Changeset in OpenModelica [4077190] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[FE] update exponential simplification

  • fixes ticket #6068 (second issue)
  • new rule to check if b is even for simplfication of (ab)c (ab)c = abs(a)(b*c) if b is even
00:03 Changeset in OpenModelica [f62b3cc5] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[BE] do not remove initial asserts

  • fixes ticket #5599
  • prevents removal of initial asserts to removed equations
  • sideeffect: fixes dropping of asserts in removed equations of regular system
00:03 Changeset in OpenModelica [31e5b80] by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Fix DAE conversion of Operator.SUB_ARRAY_SCALAR.

  • Convert array .- scalar to array +- (scalar) when converting to DAE, since the DAE doesn't have the corresponding subtraction operator.
00:03 Changeset in OpenModelica [286d10c5] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Improve call type evaluation.

  • Don't evaluate dimensions in calls inside functions.
  • Avoid evaluating the whole expression when having a conditional array type as dimension.
00:03 Changeset in OpenModelica [87724a5f] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries a6e8dd7...f24a50e (1):

    Bump libraries

00:03 Changeset in OpenModelica [dedd2b2c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6708)

00:03 Changeset in OpenModelica [8bd3347c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp

Fixes ticket:6083 Use a default coordinate system value instead of 0 (#6706)

00:03 Changeset in OpenModelica [e659d3a] by Adrian Pop <adrian.pop@…>
  • 17 edits
    6 adds
    1 delete in /

[NF] Enforce some of the rules for partial.

00:03 Changeset in OpenModelica [31a097e] by Adrian Pop <adrian.pop@…>
  • 4 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Fix mutually recursive constants detection.

  • Change the evaluation flag in Binding.TYPED_BINDING from a boolean to an enum to indicate bindings that are being evaluated instead of using a separate binding uniontype.
00:02 Changeset in OpenModelica [05bb8f4] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 78e5fc3...a6e8dd7 (1):

    Bump libraries

2020-09-28:

23:59 Changeset in OpenModelica [0a762c1f] by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Detect recursive bindings during evaluation.

23:59 Changeset in OpenModelica [5f326343] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Propagate Evaluate=true to subcomponents.

23:59 Changeset in OpenModelica [8947d3be] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Update OMSimulator (#6699)

23:59 Changeset in OpenModelica [9e0cab29] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/openmodelica_types.h

more fixes for Ticket:5550 on 32bit

23:59 Changeset in OpenModelica [8daedc3] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.c

[FMI] Don't call input_function for FMI in doStep

  • Moved function call to externalInputUpdate call.
23:59 Changeset in OpenModelica [c8c2c00] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime

Use Euler for FMUs without states

  • CVODE will not be used for FMUs without any states
23:59 Changeset in OpenModelica [094dbea] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/generic_array.c

fix printf formatting in windows/mingw for integer types

23:59 Changeset in OpenModelica [788cca99] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/c

Make Integer have same size in Modelica/MetaModelica

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

23:59 Changeset in OpenModelica [be7956bb] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Stop backend when unsolvable system is detected (#6693)

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

23:59 Changeset in OpenModelica [ef55210] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Fix some caching in the CI jobs (#6697)

  • Fix cache of the packages from the package manager
  • Fix cache of runtest.db
23:59 Changeset in OpenModelica [47049d3] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMEdit/OMEditLIB/Util

Fixes ticket:5998 Reset the search filter when ESC is pressed (#6694)

Fixes ticket:5998 Reset the search filter when ESC is pressed

Use a local signal to call the QLineEdit signal

23:59 Changeset in OpenModelica [58c9a77] by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 delete in doc/UsersGuide/source

Updated the Documentation Browser users guide

23:59 Changeset in OpenModelica [1245f885] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

Remove some unused drModelica code

23:59 Changeset in OpenModelica [db1be39] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Script/CevalScriptBackend.mo

timeSimulation and timeTotal were missing

If the simulate() command produced a simulation executable that failed,
the timeSimulation and timeTotal variables were missing from the record.

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

23:59 Changeset in OpenModelica [74ab245d] by Adrian Pop <adrian.pop@…>
  • 2 edits
    3 adds in doc/UsersGuide/source

Fix the doc when calling omc from shell (#6686)

  • Fix the generated PATH
  • Add missing files
23:59 Changeset in OpenModelica [e94afa3b] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/GenerateDoc.mos

Do not unquote + to spaces when looking for links (#6690)

https://github.com/modelica/ModelicaStandardLibrary/pull/3612

23:59 Changeset in OpenModelica [edd8c53f] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/runtime/settingsimpl.c

Issue #6078: ignore OPENMODELICALIBRARY when running the testsuite

23:59 Changeset in OpenModelica [bbbb487] by Adrian Pop <adrian.pop@…>
  • 4 edits in /

Issue #6078, OPENMODELICALIBRARY env.var overrides the Modelica path

  • if set OPENMODELICALIBRARY will be used in getModelicaPath() API
  • update the scripting functions documentation
  • do not set OPENMODELICALIBRARY for Windows in common.groovy
  • further work is needed on Windows to allow older and newer versions to co-exist
23:59 Changeset in OpenModelica [6fc2136] by Adrian Pop <adrian.pop@…>
  • 16 edits in /

Fixes testsuite clean and added test rule

  • Add missing dependencies in testsuite makefiles so clean is not removing tracked files.
  • Add omsimulator to test dependencies
  • Add test and fast-test to main makefile for an easy test run.
  • Updated Linux README with new test rule.
23:59 Changeset in OpenModelica [156e9356] by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 add in testsuite/simulation/modelica/algorithms_functions

[testsuite] add testcase for ticket #6068

23:59 Changeset in OpenModelica [8bee73d] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMCompiler/Compiler/BackEnd

[BE] update binary differentiation

  • fixes ticket #6068
  • add two exponential differentiation rules
  • xp and px where p is a parameter (treat just like constants)
  • add local function constants and parameters to DifferentiateData
23:59 Changeset in OpenModelica [b0a8b98] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAECreate.mo

replace external alias in parameter bindings (#982)

This is needed if parameters are initialized by external functions using the same external object .

23:59 Changeset in OpenModelica [d1e86055] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6684)

23:59 Changeset in OpenModelica [96d4692] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp

Fixes ticket:6060 check NULL pointer when deleting the connection

23:59 Changeset in OpenModelica [f19da200] by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 add in testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0

Add Cpp test for FMU export with table, ticket:5963

23:59 Changeset in OpenModelica [75e8f19] by Adrian Pop <adrian.pop@…>
  • 4 edits in /

port changes to ModelicaExternalC from OMSICpp to old Cpp runtime

  • handle changes to ModelicaExternalC
  • move ${MODELICAEXTERNALCDIR}/snprintf.c to ModelicaMatIO as it comes last in the link order, before ModelicaIO
  • change the order of library linking for Cpp FMUs
  • change testsuite/sanity-check/testSanity.mos to test ModelicaTables using a total model
  • activate the Cpp sanity check on Linux, besides Windows
23:59 Changeset in OpenModelica [99de3b0] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries dfc0cca...78e5fc3 (1):

    Bump libraries

23:59 Changeset in OpenModelica [c6e9e57] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

Fix for ticket:6037

  • use stopTime for initSample if stopTimeDefined is set to true
  • set status to fmi2Error if doStep goes over the defined stopTime
23:59 Changeset in OpenModelica [c0256deb] by Adrian Pop <adrian.pop@…>
  • 9 edits in /

[BE] make StateSelect.always on dummys non strict

23:59 Changeset in OpenModelica [db1637f] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries ea4f61c...dfc0cca (1):

    Bump libraries

23:59 Changeset in OpenModelica [318d7954] by Adrian Pop <adrian.pop@…>
  • 1 edit
    1 move in OMCompiler/Compiler/Util

Rename Compiler/Util/omc_file -> omc_file_ext.h (#6678)

  • There is a file SimulationRuntime/c/util/omc_file.h.

when SimulationRuntime/c and Compiler/ are both given as
include directory there will two headers reachable at
util/omc_file.h

23:59 Changeset in OpenModelica [d87f5cc] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/Util

[NB] add newBackend flag to master to avoid future conflicts

23:59 Changeset in OpenModelica [28132b4] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Homotpy documentation updated

23:59 Changeset in OpenModelica [ea7e7a4] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

23:59 Changeset in OpenModelica [1448b2c] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

23:59 Changeset in OpenModelica [4edd971] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/solving.rst

Update doc/UsersGuide/source/solving.rst

Fix typo

Co-authored-by: kabdelhak <38032125+kabdelhak@…>

23:59 Changeset in OpenModelica [4bf74336] by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in doc

Add documentation for initialization

23:58 Changeset in OpenModelica [6644a19] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries d931d51...ea4f61c (1):

    Bump libraries

23:58 Changeset in OpenModelica [9a628f3] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/cpp

port OMSICpp fixes for Ubuntu Focal to cpp

23:58 Changeset in OpenModelica [72c30ac] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEquation.mo

[NF] Improved handling of invalid if-branches.

  • Traverse the condition of an invalid branch in Equation.mapExp, since it should be valid even if the body isn't and might need to be updated when e.g. unrolling for-loops.
23:58 Changeset in OpenModelica [711b4f8] by Adrian Pop <adrian.pop@…>
  • 9 edits in /

[BE] update strict stateSelect.always

  • fixes ticket #3689
  • updates removeSimpleEquations to not convert states to dummy states if they have stateSelect.always
  • update error message for not allowed stateSelect.always variables and change it to ERROR
  • fix testsuite
23:58 Changeset in OpenModelica [08734182] by Adrian Pop <adrian.pop@…>
  • 3 edits in /

[NF] Fix actualStream evaluation.

23:58 Changeset in OpenModelica [740f0ff] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 66b6003...d931d51 (1):

    Bump libraries

23:58 Changeset in OpenModelica [b2c9aefb] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFConnectEquations.mo

[NF] Fix wrong package name.

23:58 Changeset in OpenModelica [a54dce3] by Adrian Pop <adrian.pop@…>
  • 10 edits
    848 adds in /

Bring back the old Cpp runtime (#965)

  • bring back the previous Cpp runtime
  • adapt old cpp runtime to new changes
  • configure old Cpp runtime too
  • linearized model name changed
  • fix Cpp build
  • attempt to fix old Cpp runtime dylib rpath
  • port some OMSICpp tpl changes to Cpp
  • extend sanity check for Linux/Mac
  • cpp runtime fixes for mingw and mac
  • disable sanity check for cpp runtime on Linux/Mac as it doesn't work yet
  • call runtimeCPPinstall for all-runtimes target on Windows
  • add runtimeCPPinstallOld to phony
  • support path with spaces + quote call of exe and path arguments in Model.bat + port path with spaces fixes from OMSICpp
23:58 Changeset in OpenModelica [c2d35b34] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo

[NF] further fix discrete real check

  • adds record support
  • fixes ticket #6045
23:58 Changeset in OpenModelica [e05456c4] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries db952c7...66b6003 (1):

    Bump libraries

23:58 Changeset in OpenModelica [5895e375] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

[NF] Add workaround for ModelicaError purity.

  • Set ModelicaError external call to be pure to temporarily work around issues with function purity.
23:58 Changeset in OpenModelica [2a5811fb] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo

Replace alias var in removed equations

  • For new alias variable created in introduceOutputAliases we will update removed equations as well.
23:58 Changeset in OpenModelica [350c6e8] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp

Check for NULL pointer

23:58 Changeset in OpenModelica [ebab42a] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/OMS/OMSSimulationDialog.cpp

allow signalFilters to be empty

23:58 Changeset in OpenModelica [e757adcd] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMEdit/OMEditLIB/OMS

add getSignalFilter to OMSSimulationDialog

23:58 Changeset in OpenModelica [ecdd65f8] by Adrian Pop <adrian.pop@…>
  • 1 edit in testsuite/omsimulator/test03.mos

expected output

23:58 Changeset in OpenModelica [c3cb67a6] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMSimulator

Update OMSimulator

23:58 Changeset in OpenModelica [bd794935] by Adrian Pop <adrian.pop@…>
  • 11 edits in OMEdit/OMEditLIB

Fixes ticket:6032 Fixed the display of diagram window

23:58 Changeset in OpenModelica [d7037b9e] by Adrian Pop <adrian.pop@…>
  • 5 edits in /

Improve introduction of documentation (#6662)

  • Actually install the libraries so the documentation examples work
  • Clarify that error-messages should be shown in some documentation examples
  • Run the command-line omc examples through the actual OMC for up-to-date output

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

23:58 Changeset in OpenModelica [1e61281] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/omedit.rst

Added short summary of simulation phases (#6654)

Added short summary of simulation phases

See ticket #6034(https://trac.openmodelica.org/OpenModelica/ticket/6034)
Updated the simulation setup window details.

23:58 Changeset in OpenModelica [1483500d] by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/openmodelica/flatmodelica

Add the Tables test for flat Modelica (#6661)

23:58 Changeset in OpenModelica [c3fabfc] by Adrian Pop <adrian.pop@…>
  • 3 edits
    1 add in /

[NF] Fix scoping in Function.instFunctionNode.

  • Include the root class in the prefix when instantiating functions.
23:58 Changeset in OpenModelica [87e48d6] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Handle quoted identifiers in external functions better (#6658)

23:58 Changeset in OpenModelica [2cf937f] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/SCodeUtil.mo

Allow merging a modifier into an empty modifier (#6657)

23:58 Changeset in OpenModelica [b643ffd5] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFStatement.mo

[Flat] Quote identifiers in for loops (#6656)

23:58 Changeset in OpenModelica [0aa5cd3] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/SimulationRuntime/c

Read input file realative to inputPath (#6653)

Fix for ticket #6035

23:58 Changeset in OpenModelica [e45798c] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFExpression.mo

[Flat] Escape strings in Flat Modelica (#6655)

23:58 Changeset in OpenModelica [3f8f56dc] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo

[NF] update discrete real sanity check

  • remove all subscripts from crefs to handle arrays
  • will not catch individual missing array elements
23:58 Changeset in OpenModelica [6a08684] by Adrian Pop <adrian.pop@…>
  • 13 edits
    4 adds in /

Various fixes for Flat Modelica (#6652)

  • Added test cases
  • External objects now work and constructor/destructor are at the correct place
  • Derivative annotations now work
  • LibraryDirectory/IncludeDirectory default values now work
  • Quotes inside quoted identifiers should now work
  • The generated class is now a single entity (no functions outside the scope)
  • Handle empty array constructors (replaced with fill calls)

And some fixes outside flat Modelica:

  • We now look in the installation directory for external libraries (useful in case we use ModelicaTables, etc)
23:58 Changeset in OpenModelica [9fa6fd64] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

Fix package manager issues.

  • Fix regex in SemanticVersion.parse.
  • Add package manager API to NFModelicaBuiltin.
23:58 Changeset in OpenModelica [6275787] by Adrian Pop <adrian.pop@…>
  • 9 edits
    288 adds in /

implement dataReconciliation new extraction algorithm

23:58 Changeset in OpenModelica [149e8eef] by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

[NF] Improve boxing of expressions.

  • Improve type checking for boxed expressions.
  • Improve DAE conversion of boxed expressions.
  • Add List.compare to compare two lists.
  • Fix all the various Expression traversal function so they handle all the different types of Expressions.
23:58 Changeset in OpenModelica [202c775c] by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Consider conversion annotations before issuing warnings (#989)

loadModel now looks at conversion annotations before deciding to issue
a warning because a library was already loading with an incompatible
version.

  • If no conversion script is needed, a notification is issued.
  • If a conversion script is needed, a warning is issued.
  • If there is no conversion script annotation, a warning is issued since most likely there is zero compatibility.

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

23:57 Changeset in OpenModelica [e8b1944f] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[NF] improve discrete Real check

  • check nested if equations in when equations for discrete Real definitions
  • update model to be legal
23:57 Changeset in OpenModelica [8142aa86] by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/flattening/modelica/scodeinst

[testsuite] update ill posed models

23:57 Changeset in OpenModelica [78a8708] by Adrian Pop <adrian.pop@…>
  • 3 edits in /

[NF] implement a sanity check for discrete reals

  • discrete real variables have to be determined by a when equation or algorithm
  • throw error if any discrete variables are not determined in such
  • ticket #5836
23:57 Changeset in OpenModelica [1dc2897] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Evaluate intMaxLit (#995)

23:57 Changeset in OpenModelica [78edcfa] by Adrian Pop <adrian.pop@…>
  • 5 edits
    1 add in /

[NF] Add differentiability check for der().

  • Check that the argument of der() isn't discrete.
23:57 Changeset in OpenModelica [f58028c] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries c00df1f...db952c7 (2):

    Bump libraries
    Use ModelicaReference none for MSL

23:57 Changeset in OpenModelica [7d20bc4] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler

installPackage now considers build info (#991)

  • installPackage now considers build info

If build metadata it is given to installPackage and exactMatch=true,
only such packages are installed.

If there is no such build metadata requsted, packages with build
metadata will still be considered matches.

23:56 Changeset in OpenModelica [802cd02] by Adrian Pop <adrian.pop@…>
  • 4 edits
    1 add in /

[NF] Enforce function purity rules better.

  • Give a warning if any pure function contains calls to impure functions, and mark such functions as impure themselves to make sure they're not constant evaluated.
23:56 Changeset in OpenModelica [cd901cce] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 38a4c00...c00df1f (2):

    Bump libraries
    use an earlier commit from ModelicaCompliance to force an update

23:56 Changeset in OpenModelica [7fb8799] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 23f27bb...38a4c00 (1):

    put back ModelicaCompliance as Jenkins fails without it

23:55 Changeset in OpenModelica [9159d50d] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 300b95b...23f27bb (2):

    Bump libraries
    Reduce the number of shipped libraries significantly

23:55 Changeset in OpenModelica [2c27705b] by Adrian Pop <adrian.pop@…>
  • 4 edits in OMEdit/OMEditLIB

Instantiate OMSimulator model when simulate button is clicked

23:55 Changeset in OpenModelica [3cf7847a] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp

Fix opening of text files

23:55 Changeset in OpenModelica [1e10c8e5] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 9356f7a...300b95b (1):

    Bump libraries

23:55 Changeset in OpenModelica [4d7ee8a3] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

Only link to existing files.

  • Make runtest.pl only create symlinks to existing files, to avoid that files generated by test cases escape their sandboxes.
  • Remove the name of the sandbox folder in paths when running tests with runtest.pl, since they contain the process id which changes each time.
23:55 Changeset in OpenModelica [e7d0a5c] by Adrian Pop <adrian.pop@…>
  • 26 edits in /

[Template] update linearization file names

  • use linearized_model as file and function name for all target languages
  • prevents invalid constructs (different file and function name)
  • avoids convoluted and too large names
  • ticket #5927
23:55 Changeset in OpenModelica [5042488e] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries fbbf262...9356f7a (1):

    Bump libraries

23:54 Changeset in OpenModelica [258647c5] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 8d87392...fbbf262 (1):

    Bump libraries

23:54 Changeset in OpenModelica [c96c5006] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 4c6095e...8d87392 (1):

    Bump libraries

23:54 Changeset in OpenModelica [828cd47] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFInst.mo

[NF] Fix scoping of function references.

23:54 Changeset in OpenModelica [0fa6ab0] by Adrian Pop <adrian.pop@…>
  • 7 edits in /

Updated OMEdit users guide

23:54 Changeset in OpenModelica [f11d6c8] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFExpression.mo

[NF] Fix Expression.mapFoldShallow for BOX.

23:54 Changeset in OpenModelica [4cd67a7] by Adrian Pop <adrian.pop@…>
  • 8 edits
    1 add in OMCompiler/Compiler

[NF] Clocked operators improvements.

  • Mark the parameter arguments of backSample, shiftSample, subSample, and superSample as structural so that they're evaluated by the frontend, since the clock partitioning in the backend expects this.
  • Move the structural parameter utility functions from Inst to its own package, to avoid the need for other packages to depend on Inst when they just want to mark some parameters as structural.
23:54 Changeset in OpenModelica [789f15c1] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/3rdParty

Update 3rdParty for newer MSL

23:54 Changeset in OpenModelica [f1bf501] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[Jenkins] Sync output more in order to produce better logs

23:54 Changeset in OpenModelica [dfb1ed42] by Adrian Pop <adrian.pop@…>
  • 9 edits in /

Undefined variable units when using FMUs (ticket:6002, #975)

  • Unknown units will be exported to the UnitDefinitions but without a BaseUnit representation
  • Define unit bar
23:54 Changeset in OpenModelica [a3e42cc] by Adrian Pop <adrian.pop@…>
  • 2 edits in testsuite/special/FmuExportCrossCompile

[FMI] Check external FMU simulator

  • Simulate bouncing ball model with fmuCheck and validate results.
  • Added test to cross-build-fmu in Jenkinsfile
23:54 Changeset in OpenModelica [a6a8e4d] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc

[FMI] Reset eventInfo only on entering event mode

Fix for ticket 5367.

  • fmi2EnterEventMode will reset eventInfo. Then the FMU integrator will set newDiscreteStatesNeeded=fmi2True. Inside fmi2NewDiscreteStates value for valuesOfContinuousStatesChanged will stay true if it becomes true at some point.
  • valuesOfContinuousStatesChanged can't trigger another call to fmi2EventUpdate any more. Would lead to infinit loop.
23:54 Changeset in OpenModelica [0b6d5ccd] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 8d45807...4c6095e (1):

    Bump libraries

23:54 Changeset in OpenModelica [2f57698] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Examples/generate_icons.py

make the icon generator usable on Windows

23:54 Changeset in OpenModelica [c9072e1] by Adrian Pop <adrian.pop@…>
  • 1 edit in Makefile.in

Fix make clean for target libs-for-testing.

23:54 Changeset in OpenModelica [535ca26] by Adrian Pop <adrian.pop@…>
  • in /

Updated libraries

  • libraries 06f38e4...8d45807 (20):

    Bump libraries
    OM/v1.6 is a branch, not a tag
    Bump libraries
    Fix where ModelicaReference should come from
    Fix MSL versions
    Bump libraries
    Handle MSL master as trunk (still)
    Bump libraries
    Bump libraries
    Bump libraries
    Bump libraries
    Bump libraries
    Don't name things "trunk"
    Fix syntax error
    Track the new git repo for MSL
    Bump libraries
    provides Modelica 4.0.0: Modelica trunk
    Bump libraries
    update versionDate in MSL trunk patches
    Bump libraries

23:53 Changeset in OpenModelica [28cb468] by Adrian Pop <adrian.pop@…>
  • 1 edit in doc/UsersGuide/source/omedit.rst

Fixes ticket:5851 Added documentation for temp and working directory

23:53 Changeset in OpenModelica [45bc5b2] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp

Unload top level libraries with Del key

23:53 Changeset in OpenModelica [1ffece67] by Adrian Pop <adrian.pop@…>
  • 2 edits
    1 add in /

[BE] remove known variables for init lambda 0

  • avoids hardcoded known variable binding equations and allows -override
  • add minimal model
  • ticket #6001
23:53 Changeset in OpenModelica [16035a18] by Adrian Pop <adrian.pop@…>
  • 2 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Record fixes.

  • Fix type in Expression.recordElement.
  • Try to evaluate the parent binding before creating a binding from a record instances children, since the parent binding has higher priority.
23:53 Changeset in OpenModelica [2fc12784] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo

[BE] add loop dumping of init lamba 0 system

23:53 Changeset in OpenModelica [f2c6489] by Adrian Pop <adrian.pop@…>
  • 3 edits in OMParser

don't throw something that is not an exception

23:53 Changeset in OpenModelica [50313dc] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/runtime/src/support/CPPUtils.cpp

more fixes for old compilers

23:53 Changeset in OpenModelica [f5c7f25] by Adrian Pop <adrian.pop@…>
  • 6 edits
    6 adds in OMParser

fix for building on jessie

  • support older systems which do not have codecvt header
  • use utfcpp instead for the conversion
23:53 Changeset in OpenModelica [582182e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/CMakeLists.txt

attempt to fix build on CentOS

23:53 Changeset in OpenModelica [5922e576] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

mingw sanity test in a path with spaces

  • test special paths both for the install path and the path where things are generated and compiled
  • TODO! add some test with a path with special chars (doesn't work yet via groovy)
23:53 Changeset in OpenModelica [fd525b08] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenOMSIC.tpl

Handle OMHOME with spaces in path

  • First fix for ticket #6004
23:53 Changeset in OpenModelica [b654973] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFCeval.mo

[NF] Improve evaluation of reductions.

  • Evaluate iterations ranges before doing bindingExpMap since the evaluated ranges might contain binding expressions.
23:53 Changeset in OpenModelica [0498181b] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMEdit/OMEditLIB/Element/ElementProperties.cpp

ticket:5976 Don't change unit when the literalConstant is true

23:53 Changeset in OpenModelica [77a1bea5] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo

[NF] Fix evaluation of call return type dimensions.

23:53 Changeset in OpenModelica [31e21c35] by Adrian Pop <adrian.pop@…>
  • 33 edits
    3 deletes in OMEdit/OMEditLIB

Snapshot based redo undo functionality for OMSimulator models

Create new OMSimulator models by right clicking in the Libraries Browser
Improved the addsubmodel dialog. Let user first select the file and then propose name from filename.
Fixes ticket:5789
Fixes ticket:5984
Disable the text view if its not allowed to edit.
Tabs should be preserved when accepting text changes.
The open nodes of the tree view in the libraries browser should be preserved when accepting text changes.

Handle deletion of multiple components.
Convert dots to underscores in submodel name.
Set background-color to show the read-only ssp editor as disbaled.
Renamed OMSimulator menu item to SSP.
Use the same GUI buttons for simulation.
Separated instantiation from simulation setup.
Disable the changes once the model is in instantiated state.
Get rid of OMSSimulationOptions.h InstantiateDialog.h/.cpp
Accept text changes when user clicks in the libraries browser.
Open directly the file browser when adding a submodel.
Use just one setting for working directory.

23:53 Changeset in OpenModelica [d15a18e5] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/3rdParty/antlr4/runtime/Cpp/CMakeLists.txt

proper versions for cmake policies

23:53 Changeset in OpenModelica [d8c177ec] by Adrian Pop <adrian.pop@…>
  • 333 edits in /

fix ticket:5999, escape the string returned by getErrorString()

23:53 Changeset in OpenModelica [23d431c9] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

[NF] Simplify reductions more.

  • Simplify reductions where the iteration range only contains zero or one values.
23:53 Changeset in OpenModelica [103716aa] by Adrian Pop <adrian.pop@…>
  • 8 edits in /

Use the package manager to set library versions for testing

Also fixed the package manager to unzip non-github zips correctly.

Now supports Windows line endings in JSON lexer.

23:49 Changeset in OpenModelica [09935b5] by Adrian Pop <adrian.pop@…>
  • 1 edit in .CI/common.groovy

Sanity check for rtest + libraries existing

23:49 Changeset in OpenModelica [93c26665] by Adrian Pop <adrian.pop@…>
  • in /

Improve error message for unit lexing failure

23:49 Changeset in OpenModelica [15c0be5] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Util/SemanticVersion.mo

Fix for SemanticVersion regex not working on OSX

23:47 Changeset in OpenModelica [366b0e2] by Adrian Pop <adrian.pop@…>
  • 10 edits in OMCompiler/Compiler/NFFrontEnd

[NF] Ragged dimension improvements.

  • Flatten and evaluate dimensions in types.
  • Various fixes for binding expressions.
23:47 Changeset in OpenModelica [66753587] by Adrian Pop <adrian.pop@…>
  • 12 edits in /

[FMU] Adding docuemntation and inproving flags

  • Add documetnation for CVODE 2.0 CS FMUs
  • Updated test to check if example from doc is working
  • Add break for infinit while loop
  • Disable internal root finding of CVODE for FMI
  • Test example with event handling
23:47 Changeset in OpenModelica [352a4a87] by Adrian Pop <adrian.pop@…>
  • 19 edits
    3 adds in /

[FMI] Adding CVODE to 2.0 CS export

Incoved by FMI simulation flag --fmiFlags=s:cvode.

  • Add source code files to FMU:
    • Adding cvode_solver.c and cvode_solver.h.
    • Adding SUNDIALS CVODE headers to FMU.
    • Changed Makefiles and configure to compile CVODE into binaries.
  • New initialization and deinitialization to handle different solver methods.
  • New integrator step function to be called in fmi2DoStep.
  • New tests for static and dynamic FMUs with CVODE.

Co-authored-by: Karim Abdelhak <karim.abdelhak@…>

23:47 Changeset in OpenModelica [5a03b7f7] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/rtclock.h

More rtclock dummy function in OMC_MINIMAL_RUNTIME

  • Added dummies for rt_accumulateand rt_clear.
  • Define simulation-specific timing macros for OMC_MINIMAL_RUNTIME.
23:47 Changeset in OpenModelica [988c981] by Adrian Pop <adrian.pop@…>
  • 15 edits
    4 adds in /

[FMI] Add simulation flag support

Use new command line option like --fmiFlags=s:cvode,nls:homotopy
for fmi flags.

  • Flags are loaded from file <fmiPrefix>.fmi/resources/<fmiPrefix>_flags.json.
  • json flag file:
    • One flag per line.
    • Only solver flag is used at the moment.
    • Saved in json format.
  • New file fmu_read_flags.c.inc for simulation runtime flags parsing.
  • Generate json file from CodeGeneration. New SimCode.FmiSimulationFlags used to generate file.
  • Added test for FMU flag support FmuExportFlags.mos.

Co-authored-by: AnHeuermann <andreas.heuermann@…>

23:47 Changeset in OpenModelica [1dc932c8] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/Makefile

fix bad include directory

23:47 Changeset in OpenModelica [d863628e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMParser/Makefile

do not use -stdlib=libc++ on Linux as it doesn't work

23:47 Changeset in OpenModelica [d43cf31a] by Adrian Pop <adrian.pop@…>
  • 1 edit in Makefile.in

Add target for the debug build of OMSimulator (#947)

23:47 Changeset in OpenModelica [31b1f5b5] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Makefile.omdev.mingw

attempt to fix Windows builds

23:47 Changeset in OpenModelica [13c3f34] by Adrian Pop <adrian.pop@…>
  • 50 edits
    8 moves
    371 adds in /

Replaceable Redeclare Support (#943)

  • rename Component to Element
  • add OMParser and antlr4 runtime
  • update .gitignore
  • more replaceable support changes
  • enable replaceable support via a setting in OMEdit (not on by default)
  • use getElements and getElementAnnotations when replaceable support is activated
  • populate the dialogs with the replaceable classes and components
  • fix some issues when retrieving the elements annotations
  • revert some Component -> Element renames for the Qt signals
  • small fixes
  • attempt to fix MacOS builds (thread_local not available)
  • better way of handling CXX flags in OMEdit projects for Windows
  • mac doesn't know cp -u, remove that
  • fix building with clang on qt5
23:46 Changeset in OpenModelica [2a521d2a]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-stagingv1.17.0-dev by Adrian Pop <adrian.pop@…>
  • 9 edits in /

fix #6127, #6128, #6138

  • remove error messages in #6129
  • rename updateConnectionStr to updateConnectionAnnotation
23:45 Changeset in OpenModelica [f00241e] by Adrian Pop <adrian.pop@…>
  • in /

Update code quoting of identifiers

  • No longer crashes on odd quoted identifiers that do not end with '
  • Identifiers can now be reversed again (to see the actual name in the debugger)
23:44 Changeset in OpenModelica [0ab21378] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Minor cleanup and commenting. (#940)

  • Added comments for record handling template functions.
  • Removed generation of unused record utility function recordCopyFromVars which was used to assign to 'record' in simulation contexts. Assigning to record in simulation context is now handled by splitting the assignment (recursively) to each element instead.
23:44 Changeset in OpenModelica [4e97a540] by Adrian Pop <adrian.pop@…>
  • in /

fix crash when displaying an error message
to test:

23:44 Changeset in OpenModelica [4d625d6] by Adrian Pop <adrian.pop@…>
  • 2 edits in /

add some sanity checks for CI/Build MINGW

  • make sure the compiler can build and simulate a simple model with C, C++ and that an FMU can be build
  • check that linearization works (for matlab)
  • check that OMEdit can start (not missing any dlls)
  • add a script to test the sanity, don't build it on the fly as escaping in Windows is alien technology
  • build more stuff in parallel for mingw/msvc (via all-runtimes target)
23:41 Changeset in OpenModelica [be9a22d] by Adrian Pop <adrian.pop@…>
  • in /

Update OMSimulator (#941)

23:41 Changeset in OpenModelica [e0207b7] by Adrian Pop <adrian.pop@…>
  • in /

ticket:5927 fix the crash in linearization for Matlab

  • %g was given a string
  • remove trailing spaces before \n in CodegenC.tpl
  • update test
23:41 Changeset in OpenModelica [0314c98e] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

[NF] Initial handling of ragged dimensions.

23:41 Changeset in OpenModelica [c5195f3] by Adrian Pop <adrian.pop@…>
  • in /

[Flat] Fix output of external functions

23:40 Changeset in OpenModelica [b562fe5f] by Adrian Pop <adrian.pop@…>
  • 1 edit in libraries

Only push library updates when the build is stable

23:39 Changeset in OpenModelica [e532f8be] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Util/Error.mo

[NF] Add promote as experimental operator.

23:39 Changeset in OpenModelica [9d312f22] by Adrian Pop <adrian.pop@…>
  • in /

Add more language standards.

  • Add 3.4, 3.5, and experimental as language standards.
  • Change LanguageStandard.latest to mean 3.4.
23:38 Changeset in OpenModelica [d9efec52] by Adrian Pop <adrian.pop@…>
  • in /

[OSX] Check dylib and binaries for relative paths (#916)

  • Check dylib and binaries for relative paths
  • Fix dylib IDs, rpath, etc in various places
  • Add sanity check for OMEdit (OSX only; check that OMEdit --help works)

Co-authored-by: AnHeuermann <andreas.heuermann@…>

23:38 Changeset in OpenModelica [7d8bd2df] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCFunctions.tpl

Handle preExp and varDecls for crefs with subs. (#923)

  • Handle preExp and varDecls for crefs with subs.
  • We used to throw away any extra expressions and variable declarations needed for it, i.e., if it has some complicated subscript that can not be generated inline.
  • If you are sure you have a path (a cref with no subs) then you can use contextCrefNoPrevExp (e.g variable names are just paths. They are just represented as cref). Otherwise contextCref now needs a preEx and varDecls buffer passed to it.
  • Fix wrong ordering of buffer arguments.
  • Avoid unnecessary code generation.
  • The path we took for crefs with subscripts in function context used to create unnecessary temporaries and exps which we did not notice because they were were thrown away after being created.
  • Split up the function to take different paths for normal and parallel functions.
  • Add a test case for Ticket:5994.
23:37 Changeset in OpenModelica [a749b62a] by Adrian Pop <adrian.pop@…>
  • in /

[Flat] Use loop keyword for while loops

23:37 Changeset in OpenModelica [7a068df] by Adrian Pop <adrian.pop@…>
  • in /

Add Cvode Documentation

  • Also fixed wrong order in tooltip
23:36 Changeset in OpenModelica [73e7b14] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo

[Flat] Use toFlatString also on clock constructors

23:36 Changeset in OpenModelica [b419852] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.h

MinGW & other minor fixes

  • more homogenous handling of LINK_SUNDIALS_STATIC for ida_solver, cvode_solver and radau
  • signal that we link with static fmilib in FMICommon.h (define FMILIB_STATIC_LIB_ONLY)
  • more debugging in testsuite/simulation/libraries/common/ModelTesting.mos
  • change Util.absoluteOrRelative to check for the relative path and if it doesn't exist return the original path to generate better error messages
23:36 Changeset in OpenModelica [b5b5f3d] by Adrian Pop <adrian.pop@…>
  • in /

[NF] Fix subscripting of boxed/unboxed expressions.

  • Handle boxed types in Type.subscript.
  • Add assertion in Type.subscript to catch unhandled types.
  • Add special rules for unboxed/boxed values in Expression.applySubscript that subscripts the expressions they contain instead of creating unnecessary SUBSCRIPTED_EXPs.
23:36 Changeset in OpenModelica [50967919] by Adrian Pop <adrian.pop@…>
  • in /

[BE] jacobians: make residual names unique

  • make jacobian residual variables unique and use the name
  • avoids discarding them while differentiating in the case of nested jacobians
23:35 Changeset in OpenModelica [e017d24] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo

[NF] Clean up Flatten.

  • Pass the scalarize flag as a bool where it's needed instead of looking up the value of the flag over and over.
  • Split the array vectorization off to a separate function to make the code cleaner and avoid having to check whether to run the code for every array element.
  • Simplify binding handling in Flatten.flattenClass.
23:34 Changeset in OpenModelica [34747200] by Adrian Pop <adrian.pop@…>
  • in /

[NF] Retype conditional array expressions.

  • When doing branch selection on if-expressions where the branches have different dimensions, also do branch selection on the type of the if-expression.
23:33 Changeset in OpenModelica [add43e4d] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/cvode_solver.h

link sundials statically on mingw in cvode_solver.h

23:32 Changeset in OpenModelica [2052435] by Adrian Pop <adrian.pop@…>
  • in /

[NF] Improve structural parameter handling.

  • When marking a size expression as structural, don't mark the expression in it since only the size of the expression is needed.
23:32 Changeset in OpenModelica [af8ea25] by Adrian Pop <adrian.pop@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo

[NF] Improve/cleanup expression traversal functions.

  • Implemented Expression.applyShallow.
  • Moved some traversal utility functions to the modules for the types they traverse, i.e. ComponentRef, Call, etc.
  • Moved Expression.ClockKind and its functions to a separate file.
  • Fixed apply for typed reductions, which would only apply the function to the default and fold expressions without traversing into them.
23:27 Changeset in OpenModelica [9bdbbd1a] by Adrian Pop <adrian.pop@…>
  • in /

Correct installPackage name in help text

23:09 Changeset in OpenModelica [d817b85] by Adrian Pop <adrian.pop@…>
  • 9 edits in /

fix #6127, #6128, #6138

  • remove error messages in #6129
  • rename updateConnectionStr to updateConnectionAnnotation
16:14 Ticket #6141 (Strange complaint about missing each in an Electrical.Multiphase system) closed by ceraolo
invalid
16:09 Ticket #6141 (Strange complaint about missing each in an Electrical.Multiphase system) created by ceraolo
Consider the enclosed model "MissingRad". When checking it OM …
15:52 Changeset in OpenModelica [e0923186] by Karim Abdelhak <karim.abdelhak@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendInline.mo

[BE] add inlining for DEFAULT_INLINE()

  • also inline functions with DEFAULT_INLINE() when inlining NORM_INLINE()
  • partially fixes ticket #4611
15:50 Changeset in OpenModelica [f890e1f]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 OMCompiler/Compiler

Implemented new hash set data structure.

  • New hash set UnorderedSet<T> (since HashSet is already taken) that doesn't require the user to define a new package for each type. Also features automatic rehashing to avoid performance issues when the number of values is unknown.
  • Replaced BaseHashSet usage in NFExpandableConnectors with UnorderedSet to test the implementation.
15:30 Changeset in OpenModelica [784dc876] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Compiler/Template/CodegenCppOld.tpl

Use the cpp include paths

15:08 Changeset in OpenModelica [a0be2707] by Per Östlund <perost86@…>
  • 2 edits
    1 add in OMCompiler/Compiler

Implemented new hash set data structure.

  • New hash set UnorderedSet<T> (since HashSet is already taken) that doesn't require the user to define a new package for each type. Also features automatic rehashing to avoid performance issues when the number of values is unknown.
  • Replaced BaseHashSet usage in NFExpandableConnectors with UnorderedSet to test the implementation.
10:07 Changeset in OpenModelica [0ced7b4]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by GitHub <noreply@…>
  • 1 edit in OMSimulator

Update OMSimulator (#6766)

2020-09-27:

16:46 Ticket #5620 (Moving diagrams in NF too slow) reopened by ceraolo
It turned out that the example I proposed in this ticket captures only …
13:14 Ticket #6140 (OMEdit should not allow dropping unacceptable files) created by ceraolo
If I drop a docx file on OMEdit it accepts it, but obviously it cannot …

2020-09-26:

19:22 Changeset in OpenModelica [9473b7c]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 92dad03...6fd570a (1):

    Bump libraries

14:52 Ticket #6139 (Erroneous bounding rectangle when exporting diagrams to Clipboard.) created by ceraolo
Consider the enclosed model BuckEToR. Its diagram, as shown by OMEdit …

2020-09-25:

19:23 Changeset in OpenModelica [93494e46]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 8a46d7a...92dad03 (2):

    Bump libraries
    Bump libraries

15:09 Changeset in OpenModelica [c317ec8f]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

Change listAppend notification to warning.

  • Change listAppend notification to warning to make it fail during bootstrapping and avoid people pushing such code in.
14:39 Changeset in OpenModelica [48df8bf]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 4 edits in OMCompiler/Compiler

Remove constrain operator.

  • constrain is a nonstandard operator that apparently was used a long time ago by an old multibody library. Since it's nonstandard, not working and not documented I'm removing it to avoid it polluting the builtin namespace.
14:37 Changeset in OpenModelica [a8689f0e]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 6 edits
    2 adds in /

[NF] Handle encapsulated during name lookup.

  • Implement support for handling encapsulated correctly during lookup.
  • Mark all builtin operators in NFModelicaBuiltin as OpenModelica_builtin, instead of just a random sampling of them.
14:14 Changeset in OpenModelica [06858ef] by Per Östlund <perost86@…>
  • 2 edits in OMCompiler/Compiler

Change listAppend notification to warning.

  • Change listAppend notification to warning to make it fail during bootstrapping and avoid people pushing such code in.
14:01 Changeset in OpenModelica [41074fa7] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/Script/InteractiveUtil.mo

Fix listAppend warning.

13:48 Changeset in OpenModelica [82a0c7f] by Per Östlund <perost86@…>
  • 4 edits in OMCompiler/Compiler

Remove constrain operator.

  • constrain is a nonstandard operator that apparently was used a long time ago by an old multibody library. Since it's nonstandard, not working and not documented I'm removing it to avoid it polluting the builtin namespace.
13:42 Changeset in OpenModelica [d253fa3] by Per Östlund <perost86@…>
  • 6 edits
    2 adds in /

[NF] Handle encapsulated during name lookup.

  • Implement support for handling encapsulated correctly during lookup.
  • Mark all builtin operators in NFModelicaBuiltin as OpenModelica_builtin, instead of just a random sampling of them.
11:34 Ticket #6138 (OMEdit gives an error when trying to set parameter or variable ...) created by Andrea.Bartolini
Step to reproduce the error: 1) open the attached package …
07:32 Ticket #5653 (Improve moving through arrow keys) closed by ceraolo
wontfix: Ticket now obsolete because of fixing of #5620

2020-09-24:

21:21 Changeset in OpenModelica [9ad5d2f] by Lennart Ochel <lennart.ochel@…>
  • 1 edit in OMSimulator

Update OMSimulator

20:29 Changeset in OpenModelica [7466cf3]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 in OMCompiler/Compiler

fixes for ticket #6013 and #6129

  • use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
  • fully qualify the path we search for and all the extends in the loaded libraries to make sure is the proper subtype of
  • a bit slow but it can be improved later
  • force instantiation when NF_API is on even if inner component is not found
  • speedup getExtendsModifierNames if there are no modifiers in extends
19:44 Changeset in OpenModelica [ad7085c] by Adrian Pop <adrian.pop@…>
  • 5 edits in OMCompiler/Compiler

fixes for ticket #6013 and #6129

  • use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
  • fully qualify the path we search for and all the extends in the loaded libraries to make sure is the proper subtype of
  • a bit slow but it can be improved later
  • force instantiation when NF_API is on even if inner component is not found
  • speedup getExtendsModifierNames if there are no modifiers in extends
18:52 Changeset in OpenModelica [3152688]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 10 edits in /

[C-Runtime] typo

17:40 Changeset in OpenModelica [ef9d6fcf] by phannebohm <philip.hannebohm@…>
  • 10 edits in /

[C-Runtime] typo

14:37 Ticket #6107 (OMEdit adds invalid annotation) closed by adeas31
fixed: Fixed in 161074e/OpenModelica.
14:23 Changeset in OpenModelica [161074e]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/SimulationRuntime/c/simulation/simulation_runtime.cpp

Fixes ticket:6107 set tcp socket before sending data

09:57 Ticket #6137 (Remove unit checking from the backend) created by casella
The unit checking feature was first implemented as a backend module. …
02:45 Ticket #5620 (Moving diagrams in NF too slow) closed by adrpo
fixed
02:44 Changeset in OpenModelica [76de683]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 in /

proper speedup for updateComponent #5620

  • new API updateComponentStr that can be called directly via Qt API
  • use the new Qt API from OMEdit
  • fix the differences between NFModelicaBuiltin.mo and ModelicaBuiltin.mo
01:36 Changeset in OpenModelica [0ab64159] by Adrian Pop <adrian.pop@…>
  • 5 edits in /

proper speedup for updateComponent #5620

  • new API updateComponentStr that can be called directly via Qt API
  • use the new Qt API from OMEdit
  • fix the differences between NFModelicaBuiltin.mo and ModelicaBuiltin.mo

2020-09-23:

22:28 Ticket #6136 (Mac OMEdit fails to build) created by dersh
I just tried to upgrade openmodelica-devel from …
20:08 Changeset in OpenModelica [2a078a09]Added-citation-metadatamaintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by perost <perost86@…>
  • 44 edits in OMCompiler/Compiler

Fix listAppend warnings.

  • Fix or disable all listAppend warnings to make it possible to see the actual compilation errors when compiling omc.
19:01 Changeset in OpenModelica [1585547e] by Per Östlund <perost86@…>
  • 44 edits in OMCompiler/Compiler

Fix listAppend warnings.

  • Fix or disable all listAppend warnings to make it possible to see the actual compilation errors when compiling omc.
17:37 Changeset in OpenModelica [3f23838] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp

Fixes ticket:6107 set tcp socket before sending data

10:59 Ticket #6107 (OMEdit adds invalid annotation) reopened by casella
We now have the problem that models created before this fix now hang …
10:54 Ticket #6135 (Support of Visual Studio in OMEdit on Windows) created by casella
The VS compiler is extremely fast, because it is specifically …
09:59 Ticket #6134 (OMEdit fails to simulate a model that should run according to library ...) closed by rfranke
fixed: Thank you for the fix! It works with today's nightly build :)
Note: See TracTimeline for information about the timeline view.