Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.conf.json 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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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) Running command: translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 111.2 kB / 16.43 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 185.5 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.16/2.16, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.531e-05, allocations: 2.281 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex): time 0.002845/0.002868, allocations: 2.328 MB / 1.057 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.004428, allocations: 1.028 MB / 1.058 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.004634, allocations: 11.94 kB / 1.058 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.005063, allocations: 207 kB / 1.058 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.005303, allocations: 127.3 kB / 1.058 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.006137, allocations: 395.3 kB / 1.059 GB, free: 3.645 MB / 0.8262 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 sta.stateGraphRoot.subgraphStatePort. Result: sta.stateGraphRoot.subgraphStatePort with leftover: {$i1}.