Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.LeadAcidBattery.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.LeadAcidBattery,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_LeadAcidBattery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.LeadAcidBattery,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_LeadAcidBattery",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.00124/0.00124, allocations: 173.9 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.401/1.401, 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.0008335/0.0008336, allocations: 98.08 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.4035/0.4035, allocations: 37.07 MB / 373.6 MB, free: 45.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.669e-05, allocations: 7.938 kB / 441.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1469, allocations: 60.09 MB / 0.49 GB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6241, allocations: 111.2 MB / 0.5985 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.6245, allocations: 75.95 kB / 0.5986 GB, free: 13.32 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:2844:5-2845: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.LeadAcidBattery Notification: Performance of FrontEnd: time 0.02403/0.6486, allocations: 9.705 MB / 0.6081 GB, free: 3.605 MB / 426.7 MB