Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Templates.Plants.Controls.Utilities.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ena.y|u1UpHol.y|u1DowHol.y|u1AvaSta.1..y|u1AvaSta.2..y|u1AvaSta.3..y|u1AvaSta.4..y|idxSta.y|idxStaUna.y|idxStaRun.y|idxStaRunUna.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ena.y|u1UpHol.y|u1DowHol.y|u1AvaSta.1..y|u1AvaSta.2..y|u1AvaSta.3..y|u1AvaSta.4..y|idxSta.y|idxStaUna.y|idxStaRun.y|idxStaRunUna.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 108 kB / 16.42 MB, free: 5.992 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.001757/0.001757, allocations: 187.5 kB / 17.36 MB, free: 5.57 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.104/1.104, 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 12.0.0-master/package.mo): time 2.179/2.179, allocations: 472.6 MB / 0.7459 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.547e-05, allocations: 2.281 kB / 1.07 GB, free: 9.637 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxSta.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxStaUna.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxStaRun.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxStaRunUna.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex): time 0.008354/0.008379, allocations: 7.874 MB / 1.078 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.364/0.3724, allocations: 4.289 MB / 1.082 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.3739, allocations: 109.5 kB / 1.082 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3752, allocations: 0.7894 MB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006143/0.3758, allocations: 377.6 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.3788, allocations: 2.13 MB / 1.085 GB, free: 9.859 MB / 0.8419 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 idxSta.stateGraphRoot.subgraphStatePort. Result: idxSta.stateGraphRoot.subgraphStatePort with leftover: {$i1}.