Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01445/0.01445, allocations: 1.182 MB / 14.44 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.3 MB / 236.6 MB, free: 1.879 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009048, allocations: 96.86 kB / 287.8 MB, free: 5.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.278e-05, allocations: 0 / 346.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.67 MB / 397.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3246/0.4296, allocations: 76.43 MB / 473.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4299, allocations: 67.19 kB / 473.7 MB, free: 15.73 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/TestRecordFunctionInput.mo:16:7-17:32:writable] Error: Type mismatch for positional argument 1 in FluxTubesExtension.TestRecordFunctionInput.Material.BH_Approx(material=material). The argument has type: record FluxTubesExtension.TestRecordFunctionInput.Material.BaseData$material String label; Real(quantity = "RelativePermeability", unit = "1") mu_i; Integer N; Real(quantity = "MagneticFieldStrength", unit = "A/m")[4] Hk; Real(quantity = "MagneticFluxDensity", unit = "T")[4] Bk; end FluxTubesExtension.TestRecordFunctionInput.Material.BaseData$material; expected type: record FluxTubesExtension.TestRecordFunctionInput.Material.BaseData String label; Real(quantity = "RelativePermeability", unit = "1") mu_i; Integer N; Real(quantity = "MagneticFieldStrength", unit = "A/m")[1] Hk; Real(quantity = "MagneticFluxDensity", unit = "T")[1] Bk; end FluxTubesExtension.TestRecordFunctionInput.Material.BaseData; Error: Error occurred while flattening model FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic Notification: Performance of FrontEnd: time 0.005161/0.4351, allocations: 1.791 MB / 475.5 MB, free: 14.61 MB / 346.7 MB