#5155 closed defect (fixed)
Wrong record constructor selected by NF
Reported by: | casella | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Modelica.Electrical.Spice3.Examples.FourInverters. The compilation of the C code fails with
Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.c:199:3: error: unknown type name 'Modelica_Electrical_Spice3_Internal_Mos_MosModelLineParams'; did you mean 'Modelica_Electrical_Spice3_Internal_Mos1_Mos1ModelLineParams'?
Apparently, the NF messes up between the constructors for Mos.MosModelLineParameters and Mos1.Mos1ModelLineParameters.
This error affects many models in the Spice3 library.
Change History (2)
comment:1 Changed 6 years ago by perost
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 6 years ago by casella
As long as the simulation terminates correctly and the results are verified, I'm not too worried.
Fixed in 8b0a884. The model doesn't simulate yet though, there seems to be some issues that cause asserts to trigger.