Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 110.1 kB / 16.43 MB, free: 6.523 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.001077/0.001077, allocations: 185.9 kB / 17.36 MB, free: 5.746 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.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.16 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.089/2.089, allocations: 437 MB / 0.7111 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.227e-05, allocations: 4.531 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.4603/0.4603, allocations: 81.02 MB / 1.098 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.4841, allocations: 21.05 MB / 1.119 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.4872, allocations: 107.6 kB / 1.119 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004543/0.4918, allocations: 1.966 MB / 1.121 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006503/0.4983, allocations: 3.036 MB / 1.124 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.5035, allocations: 2.496 MB / 1.126 GB, free: 5.98 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 res.Medium.nXi. Result: res.Medium.nXi with leftover: {$i1}.