Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001074/0.001074, allocations: 108.1 kB / 16.42 MB, free: 6.469 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.001055/0.001055, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.091/2.091, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.446e-05, allocations: 6.438 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex): time 0.002801/0.002824, allocations: 2.357 MB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.0043, allocations: 1.018 MB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004436, allocations: 8 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.004837, allocations: 211 kB / 1.023 GB, free: 5.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.005045, allocations: 123.3 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.005746, allocations: 402.6 kB / 1.023 GB, free: 5.344 MB / 0.795 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}.