ModelicaStandardLibrary icon indicating copy to clipboard operation
ModelicaStandardLibrary copied to clipboard

Issues with binaries

Open AHaumer opened this issue 2 years ago • 6 comments

@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

AHaumer avatar Jan 16 '24 19:01 AHaumer

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

beutlich avatar Jan 16 '24 19:01 beutlich

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

AHaumer avatar Jan 16 '24 20:01 AHaumer

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

beutlich avatar Jan 16 '24 20:01 beutlich

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.

m-kessler avatar Feb 16 '24 11:02 m-kessler

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 ?

AHaumer avatar Jun 11 '24 17:06 AHaumer

@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.

casella avatar Jun 18 '24 18:06 casella

Will be resolved by #4250.

Closing after #4250 got merged.

beutlich avatar Sep 09 '24 17:09 beutlich