Timeline


and

2022-05-21: Today

02:50 Ticket #5726 (Categorize open-source libraries in OpenModelica for different uses) closed by casella
fixed
01:51 Changeset in OpenModelica [3c9b896d] by GitHub <noreply@…>
  • 14 edits
    1 add in /

Merge bb66619032aefc98977b86f3bdb8af27ace1f06d into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [f03e0917] by GitHub <noreply@…>
  • 3 edits in /

Merge d2c4b37c432b4e04ff8bda61b00335cc00955ea1 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [593a269] by GitHub <noreply@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/optimization/eval_all/EvalL.c

Merge 5277e8e6e97339c2b3a7c710927dc2e251206756 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [e9e52a0] by GitHub <noreply@…>
  • 25 edits in /

Merge 1428eec83e35aac13a02d0e74c1ff1bd258f2fb6 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [c8fbb181] by GitHub <noreply@…>
  • 1 add in CITATION.cff

Merge d538fbe53eff6fdd7907a7edf3a737c3546e2809 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [1a3eb7e7] by GitHub <noreply@…>
  • 3 edits in OMCompiler/Compiler

Merge c6346762803301d9cbcfcc5fb92a98b759b85419 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [e52202fb] by GitHub <noreply@…>
  • 6 edits in /

Merge 073d52a7e52e1f6d609b0c56e8481fe67bb796fe into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [d342b30] by GitHub <noreply@…>
  • 3 edits in /

Merge 51cb58467fa4da7a691c92508a0c0bfec745ef5b into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [d7beebd] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/Initialization.mo

Merge 9b1de54388706ce46ffc692196714402c1428a65 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [41c756f] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo

Merge 394069377b4b1a865d2614ef25a55898693a4bbb into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [9fb1b90e] by GitHub <noreply@…>
  • 2 edits in OMCompiler/Compiler/BackEnd

Merge a553bd7727d002f97a7e1509de62c7661ababb91 into 6974c9750d21841533bb87e57363bf2cc7a912f6

01:51 Changeset in OpenModelica [1c0b831] by GitHub <noreply@…>
  • 3 edits in OMCompiler/SimulationRuntime/c

Merge 6aa722437818c0d9bff89a8bc19458829dc637b7 into 6974c9750d21841533bb87e57363bf2cc7a912f6

2022-05-20: Yesterday

22:38 Changeset in OpenModelica [0348d8b6] by GitHub <noreply@…>
  • 4 edits in OMCompiler

Merge 19e86f2d8cf403fe44c27fe1250c6f2ac69c0cef into 6974c9750d21841533bb87e57363bf2cc7a912f6

21:07 Changeset in OpenModelica [6974c97]master by GitHub <noreply@…>
  • 2 edits in OMCompiler

Fixing System_moFiles and System_mocFiles Windows wide chars (#8992)

  • Fixing System_moFiles and System_mocFiles Windows wide chars
  • Wide characters as è can now be handled.
  • Functions unified in omc_scanDirForPackagePattern.
  • Long path not yet supported by omc_scanDirForPackagePattern.

Co-authored-by: mahge <mahge@…>

  • Fix for linux

Co-authored-by: mahge <mahge@…>

20:38 Changeset in OpenModelica [54d7d41c] by GitHub <noreply@…>
  • 5 edits
    1 add in /

Avoid evaluating parameters with Evaluate=false (#8990)

  • Mark parameters with annotation(Evaluate=false) as non-structural to try to avoid evaluating them.
19:58 Changeset in OpenModelica [3132b4f] by Per Östlund <perost86@…>
  • 5 edits
    1 add in /

Avoid evaluating parameters with Evaluate=false

  • Mark parameters with annotation(Evaluate=false) as non-structural to try to avoid evaluating them.
19:57 Changeset in OpenModelica [3ae4c6e5] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Parser/parse.c

Fix encryption build (#8994)

16:32 Changeset in OpenModelica [6583e52] by GitHub <noreply@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c

Solve %ld warning in nonlinearSystem.c (#8993)

16:14 Changeset in OpenModelica [826b68ae] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/omc_file.h

Fix for linux

15:58 Changeset in OpenModelica [a40c9910] by Adeel Asghar <adeel.asghar@…>
  • 1 edit in OMCompiler/Parser/parse.c

Fix encryption build

15:52 Changeset in OpenModelica [808004b] by AnHeuermann <andreas.heuermann@…>
  • 2 edits in OMCompiler

Fixing System_moFiles and System_mocFiles Windows wide chars

  • Wide characters as è can now be handled.
  • Functions unified in omc_scanDirForPackagePattern.
  • Long path not yet supported by omc_scanDirForPackagePattern.

Co-authored-by: mahge <mahge@…>

15:51 Changeset in OpenModelica [bc70c83] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c

Solve %ld warning in nonlinearSystem.c

12:05 Changeset in OpenModelica [19e86f2d] by Mahder Gebremedhin <mahder.geb@…>
  • 4 edits in OMCompiler

Preliminary fix for #8986.

However we do not have or need the formating arguments here. We just
print the given string verbatim. So it can use some simplification.

For now this is here to assist with debugging of bigger issues.

10:00 Changeset in OpenModelica [c454bc7d] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/ClassLoader.mo

Re-activating error message for getProgramFromStrategy (#8985)

2022-05-19:

19:36 Changeset in OMSimulator [d3278be] by arun3688 <rain100falls@…>
  • in /

trigger build

17:09 Changeset in OpenModelica [6aa72243] by Philip Hannebohm <phannebohm@…>
  • 2 edits in OMCompiler/SimulationRuntime/c/simulation/solver

Use lists in a readable way

16:06 Changeset in OpenModelica [934e149] by Mahder Gebremedhin <mahge@…>
  • 2 edits in OMCompiler/SimulationRuntime

Minor fixes.

  • Link wsock32 to libSimulationRuntimeC instead of libOpenModelicaRuntimeC. It is not needed by the latter.
  • If on linux, assume lapack libraries are "-llapack -lblas" for CPP runtime. This needs proper portable fix but it will be done later. Removal of it caused some regressions on the CMake based testsuite test.
16:06 Changeset in OpenModelica [bfad4b6b] by Mahder Gebremedhin <mahge@…>
  • 20 edits in OMCompiler

Define WIN32_LEAN_AND_MEAN to avoid mixup of winsock headers.

  • Define WIN32_LEAN_AND_MEAN on the compilation commands to avoid any chance of someone including windows.h without definning the macro and inadvertently including winsock.h which can not work with winsock2.h that we use in some places.
16:06 Changeset in OpenModelica [3f33974] by Mahder Gebremedhin <mahge@…>
  • 2 edits in OMCompiler

Fix warnings about multiple definition of OMC_HAVE_IPOPT

  • Define the macro in the Windows Makefile instead of the config header. It is supposed to be on always on OMDev/MinGW with the Makefiles build system

On linux with autoconf and with CMake on all platforms it can be turned
on and off depending on the availability of Fortran.

15:33 Changeset in OpenModelica [571ec93] by GitHub <noreply@…>
  • 4 edits
    2 adds in /

Implement dumping of Vector visualizers (#8987)

  • Add support for dumping the Vector visualizer in VisualXML.
  • Clean up VisualXML.
  • Fix indentation of visualization XML format.
  • Add test case for visualization XML format.
15:04 Changeset in OpenModelica [e3518437] by Per Östlund <perost86@…>
  • 4 edits
    2 adds in /

Implement dumping of Vector visualizers

  • Add support for dumping the Vector visualizer in VisualXML.
  • Clean up VisualXML.
  • Fix indentation of visualization XML format.
  • Add test case for visualization XML format.
14:53 Changeset in OpenModelica [43351ee] by Philip Hannebohm <phannebohm@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/list.c

Fix list.c iteration tools

13:52 Changeset in OpenModelica [57178daf] by Mahder Gebremedhin <mahder.geb@…>
  • 2 edits in OMCompiler/SimulationRuntime

Minor fixes.

  • Link wsock32 to libSimulationRuntimeC instead of libOpenModelicaRuntimeC. It is not needed by the latter.
  • If on linux, assume lapack libraries are "-llapack -lblas" for CPP runtime. This needs proper portable fix but it will be done later. Removal of it caused some regressions on the CMake based testsuite test.
13:52 Changeset in OpenModelica [ffc3407d] by Mahder Gebremedhin <mahder.geb@…>
  • 20 edits in OMCompiler

Define WIN32_LEAN_AND_MEAN to avoid mixup of winsock headers.

  • Define WIN32_LEAN_AND_MEAN on the compilation commands to avoid any chance of someone including windows.h without definning the macro and inadvertently including winsock.h which can not work with winsock2.h that we use in some places.
13:09 Changeset in OpenModelica [d0dfb07d] by GitHub <noreply@…>
  • 7 edits in /

Dump components recursively in instance API (#8984)

12:30 Changeset in OpenModelica [c62eaf3] by Per Östlund <perost86@…>
  • 7 edits in /

Dump components recursively in instance API

11:48 Changeset in OpenModelica [b888563] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/Compiler/FrontEnd/ClassLoader.mo

Re-activating error message for getProgramFromStrategy

2022-05-18:

16:29 Changeset in OpenModelica [e6238a1] by GitHub <noreply@…>
  • 8 edits in /

Fix step size for override values (#8975)

  • Re-calculate stepSize if start/stop time was overwritten
  • Check step size is smaller then experiment duration
  • Don't warn for linearization
  • Adding doxygen string
  • Updating tests
16:04 Changeset in OpenModelica [7ff138f] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in testsuite/simulation/modelica/solver/problem6-cvode.mos

Updating tests

15:37 Changeset in OpenModelica [078d624] by GitHub <noreply@…>
  • 5 edits
    4 adds in /

Implement more restriction checks (#8980)

  • Check that components with binding equations or that are assigned to in algorithm statements are of the correct class specializations.

Fixes #8967

15:21 Changeset in OpenModelica [91e4c2a] by AnHeuermann <andreas.heuermann@…>
  • 6 edits in /

Don't warn for linearization, update tests

15:09 Changeset in OpenModelica [55b51792] by Per Östlund <perost86@…>
  • 5 edits
    4 adds in /

Implement more restriction checks

  • Check that components with binding equations or that are assigned to in algorithm statements are of the correct class specializations.

Fixes #8967

15:02 Changeset in OpenModelica [f0e38eb] by Mahder Gebremedhin <mahder.geb@…>
  • 2 edits in OMCompiler

Fix warnings about multiple definition of OMC_HAVE_IPOPT

  • Define the macro in the Windows Makefile instead of the config header. It is supposed to be on always on OMDev/MinGW with the Makefiles build system

On linux with autoconf and with CMake on all platforms it can be turned
on and off depending on the availability of Fortran.

14:24 Changeset in OpenModelica [a553bd7] by kabdelhak <karim.abdelhak@…>
  • 2 edits in OMCompiler/Compiler/BackEnd

[BE] fix array binding vars

  • scalarize variables after collecting bindings in initialization
  • allows to correctly detect dependencies and order equations
  • fix for ticket #8772 and #8938
13:26 Changeset in OpenModelica [ba8ecc8] by GitHub <noreply@…>
  • 2 edits in OMCompiler

Fix compilation on OMDev/MinGW with CMake (#8976)

  • GC has a setting where it gets compiled as a single file (a file that includes all source files). According to the logs of the upstream GC repository this is done to enable more optimizations. It also enabled this one-file form when it was asked to build a shared library with CMake. Even if it was not asked for explicitly.

However, the markup for the functions was missing the extern keyword
which leads to some confusing duplicate declaration errors.

Add the extern specifier. But also disable the automatic one-file
compilation for shared version
behavior since the autoconf build does
not enable it unless it is asked for explicitly.

We are trying to be consistent to avoid ANY surprises with this useful
(I admit) but so very intrusive and infuriating library.

  • Now that GC is a shared library copy the dll the directory where we generate the bootstrapped omc so that it can function.
12:49 Changeset in OpenModelica [648929c] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/Util/Error.mo

Fix wrong error ids (#8977)

12:20 Changeset in OpenModelica [c8f0c9e] by Per Östlund <perost86@…>
  • 1 edit in OMCompiler/Compiler/Util/Error.mo

Fix wrong error ids

11:35 Changeset in OpenModelica [f18a4b21] by Mahder Gebremedhin <mahder.geb@…>
  • 2 edits in OMCompiler

Fix compilation on OMDev/MinGW with CMake

  • GC has a setting where it gets compiled as a single file (a file that includes all source files). According to the logs of the upstream GC repository this is done to enable more optimizations. It also enabled this one-file form when it was asked to build a shared library with CMake. Even if it was not asked for explicitly.

However, the markup for the functions was missing the extern keyword
which leads to some confusing duplicate declaration errors.

Add the extern specifier. But also disable the automatic one-file
compilation for shared version
behavior since the autoconf build does
not enable it unless it is asked for explicitly.

We are trying to be consistent to avoid ANY surprises with this useful
(I admit) but so very intrusive and infuriating library.

  • Now that GC is a shared library copy the dll the directory where we generate the bootstrapped omc so that it can function.
10:44 Changeset in OpenModelica [a7bd715] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c

Grammar...

10:42 Changeset in OpenModelica [2bbbca3] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/simulation_input_xml.c

Adding doxygen string

10:30 Changeset in OpenModelica [5211c46] by AnHeuermann <andreas.heuermann@…>
  • 2 edits in OMCompiler/SimulationRuntime/c/simulation/solver

Check step size is smaller then experiment duration

10:13 Changeset in OpenModelica [c9e6dd3] by AnHeuermann <andreas.heuermann@…>
  • 2 edits in OMCompiler/SimulationRuntime/c/simulation

Re-calculate stepSize if start/stop time was overwritten

09:38 Changeset in OpenModelica [4a24650] by GitHub <noreply@…>
  • 5 edits in OMCompiler/SimulationRuntime/c

[janitor] Refactor listPop in list.c (#8964)

  • [janitor] Refactor listPop in list.c
  • Add function descriptions

2022-05-17:

21:02 Changeset in OpenModelica [940d76f4]maintenance/v1.19v1.19.0-dev.beta4 by GitHub <noreply@…>
  • 8 edits
    2 adds in /

Cherry pick 8381 (#8974)

  • Evaluate min/max of empty arrays (#8904)
  • Add simplification rules for min({})/max({}) (#8909)
  • [BE] update evalFunction (#8913)
  • updates the evaluation of function bodies to remove empty outputs (wild cards)
    • allows correct detection of unability to differentiate functions
    • fixes ticket #8381

Co-authored-by: perost <perost86@…>

20:23 Changeset in OpenModelica [9d6e2961] by kabdelhak <karim.abdelhak@…>
  • 3 edits in OMCompiler/Compiler

[BE] update evalFunction (#8913)

  • updates the evaluation of function bodies to remove empty outputs (wild cards)
    • allows correct detection of unability to differentiate functions
    • fixes ticket #8381
20:22 Changeset in OpenModelica [e668b3c] by kabdelhak <karim.abdelhak@…>
  • 2 edits
    2 adds in /

Add simplification rules for min({})/max({}) (#8909)

20:22 Changeset in OpenModelica [ed50d7d] by kabdelhak <karim.abdelhak@…>
  • 3 edits in /

Evaluate min/max of empty arrays (#8904)

16:19 Changeset in OpenModelica [d632ee4a] by GitHub <noreply@…>
  • 3 edits in OMCompiler/SimulationRuntime

Minor fixes for ModelicaExternalC and CPP runtime builds. (#8972)

  • ModelicaExternalC stand alone CMake build:
    • Link to libm only on Unix.
    • Export all symbols with MSVC. This is not needed right now as the stand alone build is only meant to be used for the Autoconf build system. The CMake build system has another (not the standalone) CMake file that it uses that is integrated in to the whole OpenModelica build.
  • CPP runtime
    • Fix the install directory for CPP runtime shared libs. They want to be in the lib folder even on Windows (instead of the bin dir). The should be fixed from the other side and the libraries should be added into the bin dir together with the other DLLs OpenModelica builds.
  • Remove unnecessary manually set LPACK libraries string. It is not needed.
15:02 Changeset in OpenModelica [dea6384] by Philip Hannebohm <phannebohm@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/list.c

Add function descriptions

14:33 Changeset in OpenModelica [d1015711] by GitHub <noreply@…>
  • 2 edits in /

[BE] update nonlinear system handling (#8948)

  • [BE] update nonlinear system handling
  • before: residuals that cannot be created were skipped and were just left out in nonlinear systems
  • now: the function fails to create residuals
  • todo: repair all cases in which we cannot create residuals
  • Update testsuite

Co-authored-by: Philip Hannebohm <phannebohm@…>

14:08 Changeset in OpenModelica [9aa66d0] by GitHub <noreply@…>
  • 3 edits in OMCompiler/Compiler

Remove Call.getLastPathName (#8971)

  • Remove Call.getLastPathName since it's just a copy of AbsynUtil.pathLastIdent and doesn't really belong in Call.
13:54 Changeset in OpenModelica [639c961b] by Mahder Gebremedhin <mahder.geb@…>
  • 3 edits in OMCompiler/SimulationRuntime

Minor fixes for ModelicaExternalC and CPP runtime builds.

  • ModelicaExternalC stand alone CMake build:
    • Link to libm only on Unix.
    • Export all symbols with MSVC. This is not needed right now as the stand alone build is only meant to be used for the Autoconf build system. The CMake build system has another (not the standalone) CMake file that it uses that is integrated in to the whole OpenModelica build.
  • CPP runtime
    • Fix the install directory for CPP runtime shared libs. They want to be in the lib folder even on Windows (instead of the bin dir). The should be fixed from the other side and the libraries should be added into the bin dir together with the other DLLs OpenModelica builds.
  • Remove unnecessary manually set LPACK libraries string. It is not needed.
13:37 Changeset in OpenModelica [34d984d] by Per Östlund <perost86@…>
  • 3 edits in OMCompiler/Compiler

Remove Call.getLastPathName

  • Remove Call.getLastPathName since it's just a copy of AbsynUtil.pathLastIdent and doesn't really belong in Call.
12:46 Changeset in OpenModelica [b7b3c97] by GitHub <noreply@…>
  • 2 edits in OMCompiler

Build the garbage collector (libomcgc) as a shared library. (#8969)

  • The build type of omcgc with the autotools build is now changed

to a shared library on Windows. This means it is now built everywhere
as a shared lib.

The CMake build was building it as a static library on all platforms
to be consistent. Change it to shared lib now so we now, under both
build systems and on all platforms, build omcgc as a shared library.

12:14 Changeset in OpenModelica [76e28a8f] by Mahder Gebremedhin <mahder.geb@…>
  • 2 edits in OMCompiler

Build the garbage collector (libomcgc) as a shared library.

  • The build type of omcgc with the autotools build is now changed to a shared library on Windows. This means it is now built everywhere as a shared lib.

The CMake build was building it as a static library on all platforms
to be consistent. Change it to shared lib now so we now, under both
build systems and on all platforms, build omcgc as a shared library.

2022-05-16:

21:49 Changeset in OpenModelica [e4b7953] by GitHub <noreply@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/events.c

Fix for C89 (#8965)

20:50 Changeset in OpenModelica [82edd6c] by Philip Hannebohm <phannebohm@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/events.c

Fix for C89

18:32 Changeset in OpenModelica [3de80511]maintenance/v1.19 by GitHub <noreply@…>
  • 26 edits in /

Backport long path on Windows (#8962)

  • Use long path in omc_file functions on Windows (#8848)
  • Make omc_file compatible with long paths on Windows
  • Use omc_file functions in Compiler and C runtime
  • Greater equal for MAX_PATH to use long path (#8949)
16:57 Changeset in OpenModelica [58677f97] by Philip Hannebohm <phannebohm@…>
  • 5 edits in OMCompiler/SimulationRuntime/c

[janitor] Refactor listPop in list.c

16:03 Changeset in OpenModelica [dfa5c6bb] by GitHub <noreply@…>
  • 3 edits in /

Dumps annotations as JSON in instance API (#8963)

15:35 Changeset in OpenModelica [e6877db] by Per Östlund <perost86@…>
  • 3 edits in /

Dumps annotations as JSON in instance API

14:21 Changeset in OpenModelica [2ad1387] by GitHub <noreply@…>
  • 1 edit in OMCompiler/Compiler/BackEnd/BackendDAEOptimize.mo

Don't replace constants with function calls. (#8951)

14:17 Changeset in OpenModelica [16222329] by AnHeuermann <andreas.heuermann@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/util/omc_file.c

Greater equal for MAX_PATH to use long path (#8949)

14:16 Changeset in OpenModelica [88314e5] by AnHeuermann <andreas.heuermann@…>
  • 26 edits in /

Use long path in omc_file functions on Windows (#8848)

  • Make omc_file compatible with long paths on Windows
  • Use omc_file functions in Compiler and C runtime
13:08 Changeset in OpenModelica [caa3fcca] by GitHub <noreply@…>
  • 5 edits in /

[janitor] Cleanup events.c (#8956)

  • [janitor] Cleanup events.c
  • make tmpEventList truly static (no malloc)
  • stop returning confusing double from bisection
  • Fix array management
  • Modularize findRoot
  • suggested by bernhardbachmann
11:43 Changeset in OpenModelica [14ac561] by Philip Hannebohm <phannebohm@…>
  • 2 edits in OMCompiler/SimulationRuntime/c/simulation/solver

Modularize findRoot

  • suggested by bernhardbachmann
11:15 Changeset in OpenModelica [e1dbd879] by Philip Hannebohm <phannebohm@…>
  • 1 edit in OMCompiler/SimulationRuntime/c/simulation/solver/events.c

Fix array management

11:15 Changeset in OpenModelica [627bacf] by GitHub <noreply@…>
  • 8 edits in OMCompiler

Build libOpenModelicaRuntimeC and libomcgc as DLLs. (#8961)

  • We now build both of these libs as dlls on Windows. They are already built as shared libraries on linux.

We build libomcgc as shared library because we do not want to ever have
two instances of the garbage collector linked into one binary (exe or dll)
ever. Having two instances of the garbage collector leads to quite
ominous bugs that would be vey difficult to find. See #8738 and #8955
Just avoid the possibility altogether.

We build libOpenModelicaRuntimeC as a dll because it saves memory.
It is linked to every simulation executable we generate and there is
no reason to duplicate it in every one of those executables. We will
see what implications this will have for FMUs.

Fixes #8738.

2022-05-15:

22:57 Changeset in OpenModelica [64b3bd6] by Mahder Gebremedhin <mahder.geb@…>
  • 8 edits in OMCompiler

Build libOpenModelicaRuntimeC and libomcgc as DLLs.

  • We now build both of these libs as dlls on Windows. They are already built as shared libraries on linux.

We build libomcgc as shared library because we do not want to ever have
two instances of the garbage collector linked into one binary (exe or dll)
ever. Having two instances of the garbage collector leads to quite
ominous bugs that would be vey difficult to find. See #8738 and #8955
Just avoid the possibility altogether.

We build libOpenModelicaRuntimeC as a dll because it saves memory.
It is linked to every simulation executable we generate and there is
no reason to duplicate it in every one of those executables. We will
see what implications this will have for FMUs.

Fixes #8738.

Note: See TracTimeline for information about the timeline view.