modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

Issues with binaries #4270

Open AHaumer opened 5 months ago

AHaumer commented 5 months ago

@beutlich pls. try to simulate Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor or Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor: Using Dympla 2024x on Win11, I get the following error: Compilation of Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor failed.

Compiler message:

Compiling and linking the model (Visual C++).

dsmodel.c dsmodel.c(232): error C2065: "ModelicaStandardTables_CombiTimeTable_init3": nichtdeklarierter Bezeichner dsmodel.c(232): error C2064: Ausdruck ergibt keine Funktion, die 0 Argumente bernimmt

Error generating Dymosim.

Failed

beutlich commented 5 months ago

Not again please: See #3911, #4178, #4255. Will be resolved by #4250.

AHaumer commented 5 months ago

ok then it's time to resolve this issue. I mean not specificly this one now, but in general avoiding to break regression testing.

beutlich commented 5 months ago

Certainly, it will be resolved for MSLv4.1.0-alpha.1.

m-kessler commented 4 months ago

For anyone stumbling across this: It looks like PR #4250 has not been merged into alpha 1, also not into beta 1.

However, the binaries from beutlich/ModelicaStandardLibrary work.

Dymola users have to set Advanced.Translation.PlaceDymolaSourceFirst=2.

AHaumer commented 3 weeks ago

Could we please finally resolve this issue? It is boring to work on other issues and not being able to simulate! I'm not willing to fiddle around instead of doing meaningful work! What's your opinion @casella ?

casella commented 2 weeks ago

@AHaumer have you tried using MSL 4.1.0 from the HEAD of the maint/4.1.0 branch? That should work fine. It is only missing #4415 but that is a minor thing, I guess.