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: translateModel(Physiolibrary.Organs.Lungs.Examples.MeanLungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.MeanLungsTest") translateModel(Physiolibrary.Organs.Lungs.Examples.MeanLungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.MeanLungsTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, 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/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 89.3 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.387/0.387, allocations: 37.06 MB / 373.6 MB, free: 45.9 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.868e-05, allocations: 4 kB / 441.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 60.09 MB / 0.4899 GB, free: 3.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.985/1.125, allocations: 335.6 MB / 0.8175 GB, free: 18.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.126, allocations: 72.66 kB / 0.8176 GB, free: 18.29 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 Notification: Performance of FrontEnd: time 1.299/2.424, allocations: 355.3 MB / 1.165 GB, free: 76.39 MB / 0.5105 GB