Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.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.Chemical.Examples.GasSolubility_blood,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.GasSolubility_blood,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_GasSolubility_blood",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.001875/0.001875, allocations: 185.6 kB / 7.459 MB, free: 2.52 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.074/1.074, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008916/0.0008916, allocations: 92.03 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.252/0.252, allocations: 37.08 MB / 368 MB, free: 47.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09298/0.345, allocations: 66.21 MB / 434.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.4438, allocations: 60.09 MB / 494.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.6955, allocations: 110.3 MB / 0.5904 GB, free: 5.145 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.6957, allocations: 71.97 kB / 0.5904 GB, free: 5.074 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:2885:5-2886:38:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:5124:5-5125:53:writable] Error: Duplicate elements (due to inherited elements) not identical: first element is: flow Modelica.Units.SI.MolarFlowRate q "Molar change of the substance" second element is: flow .Real q "Change of the substance in nonspecific units" Error: Error occurred while flattening model Physiolibrary.Chemical.Examples.GasSolubility_blood Error: Internal error SimCode: The model Physiolibrary.Chemical.Examples.GasSolubility_blood could not be translated to FMU