rfranke
rfranke
My fallback in CodegenCpp/Old will become inactive as soon as you introduce nominal values in SimCodeUtil. I don't remember why the special treatment of min/max values had been introduced --...
The current trunk version shows no improvement for me. Your logs say MSL 4.0.0. This is working in the daily tests too. Please try MSL 3.2.3. ``` loadModel(Modelica, {"3.2.3"}); ```
Here is another example that works with a slight variation: ``` PowerSystems.Examples.Introductory.SimulationSteadyInitial ``` raises the same error [System is structurally singular and cannot be handled because the number of unassigned...
Here are examples from [Buildings 7.0](https://libraries.openmodelica.org/branches/master/Buildings_maint.7.0.x/Buildings_maint.7.0.x.html) suffering from the same problem. These are 18 out of 76 Buildings models currently failing in the backend: ``` Buildings.Air.Systems.SingleZone.VAV.Examples.ChillerDXHeatingEconomizer Buildings.Air.Systems.SingleZone.VAV.Examples.Guideline36 Buildings.Examples.ScalableBenchmarks.BuildingVAV.Examples.OneFloor_OneZone Buildings.Examples.VAVReheat.ASHRAE2006 Buildings.Examples.VAVReheat.Guideline36...
It's a linker issue. The FMU is linked against the simple dgesv lib per default, in order to be able to just solve equation systems. The export works under Ubuntu...
I don't recall why we have `USE_DGESV`. It provides just the most important function we are requiring out of LAPACK. One rationale of C++ is to get a statically linked...
[As said above](https://github.com/OpenModelica/OpenModelica/issues/10619#issuecomment-1526024226), one has to manually change the configuration file ``` OpenModelica/include/omc/cpp/ModelicaConfig_gcc.inc ``` Change `USE_DGESV` from `ON` to `OFF` to enable the full LAPACK library. In order to solve...
Dgesv is the linear solver out of Lapack that we use and link per default. It has been converted to C to simplify things -- e.g. avoid problems like missing...
Hopefully we can fix the root cause. The place specifying `-lopenblas` for Windows appears best to also add the dependencies ` -lgfortran -lquadmath`. This would then go into `LAPACK_LIBRARIES` for...
Thank you @kabdelhak! There is some optional treatment of for loops in `BackendDAE.ZERO_CROSSING` https://github.com/OpenModelica/OpenModelica/blob/28b9a76fbe77155bcdd07629b8dcb77f14ec9ca6/OMCompiler/Compiler/BackEnd/BackendDAE.mo#L659C1-L667C1 I hardly see it used anywhere. Would take over respective extensions in the Cpp code generation....