Opened 6 years ago
Closed 6 years ago
#5038 closed defect (fixed)
Issue with functions using records in the NF
Reported by: | casella | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Four models of the Spice3 library, see e.g. Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter fail with the NF because of this issue:
Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter_06inz.c:717:1414: error: too many arguments to function call, expected 31, have 32 tmp14 = omc_Modelica_Electrical_Spice3_Internal_Mos1_mos1RenameParameters(threadData, omc_Modelica_Electrical_Spice3_Internal_ModelcardMOS(threadData,
Apparently something goes wrong in the process of turning the elements of the input/output records into scalar parameters. The flattened functions look exactly the same, unfortunately I cannot dig deeper to see what the problem is.
Change History (1)
comment:1 Changed 6 years ago by casella
- Resolution set to fixed
- Status changed from new to closed
This issue is now solved, the compilation fails because of #5155