Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Organs.Lungs.Examples.LungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest") translateModel(Physiolibrary.Organs.Lungs.Examples.LungsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Lungs.Examples.LungsTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09302/0.09302, allocations: 15.28 MB / 31.6 MB, free: 4.098 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 107.2 kB / 36.6 MB, free: 3.176 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 193.1 kB / 41.71 MB, free: 7.125 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 269.6 MB, free: 6.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1692/0.1692, allocations: 23.35 MB / 347.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.38e-05, allocations: 2.281 kB / 479.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Organs.Lungs.Examples.LungsTest): time 0.5116/0.5116, allocations: 134.8 MB / 0.5998 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09836/0.61, allocations: 67.47 MB / 0.6657 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007794/0.6179, allocations: 71.75 kB / 0.6658 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007638/0.6255, allocations: 1.467 MB / 0.6672 GB, free: 14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03198/0.6577, allocations: 8.06 MB / 0.6751 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0252/0.683, allocations: 7.499 MB / 0.6824 GB, free: 14.38 MB / 0.4981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:584:7-587:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto lungs.respiratoryUnit.alveolar.pressureMeasureSystemicCapillaries.Medium.nXi. Result: lungs.respiratoryUnit.alveolar.pressureMeasureSystemicCapillaries.Medium.nXi with leftover: {$i1}.