Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Organs.Lungs.Examples.MeanLungsTest.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Organs.Lungs.Examples.MeanLungsTest,fileNamePrefix="Physiolibrary_Physiolibrary_Organs_Lungs_Examples_MeanLungsTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Organs.Lungs.Examples.MeanLungsTest,fileNamePrefix="Physiolibrary_Physiolibrary_Organs_Lungs_Examples_MeanLungsTest",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.07/1.07, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008539/0.0008541, allocations: 93.36 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2568/0.2568, allocations: 37.08 MB / 368 MB, free: 47.49 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.09449/0.3513, allocations: 66.22 MB / 434.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.4488, allocations: 60.08 MB / 494.3 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5619/1.011, allocations: 334.8 MB / 0.8097 GB, free: 33.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000138/1.011, allocations: 71.78 kB / 0.8097 GB, free: 33.03 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Organs.mo:2201:38-2201:57:writable] Warning: Non-array modification '"mol2.s-1.J-1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Fluid.mo:677:7-678:440:writable] Error: Cannot resolve type of expression sum(concentration_start .* Medium.MMb[1:Medium.nS - 2]) - concentration_start * Medium.zb[1:Medium.nS - 2] * Medium.MMb[Medium.nS - 1]. The operands have types Real(quantity = "MolarMass", unit = "kg/mol", min = 0.0), Real(quantity = "ChargeNumberOfIon", unit = "1")[18] in component lungs.pulmVeins. Error: Error occurred while flattening model Physiolibrary.Organs.Lungs.Examples.MeanLungsTest Error: Internal error SimCode: The model Physiolibrary.Organs.Lungs.Examples.MeanLungsTest could not be translated to FMU