Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield.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.Fluid.Geothermal.Borefields.Examples.RectangularBorefield,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.sta_a.T|borFie.groTemRes.delTBor",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield") translateModel(Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.sta_a.T|borFie.groTemRes.delTBor",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001215/0.001215, allocations: 183.2 kB / 17.35 MB, free: 5.754 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 11.0.1-master/package.mo): time 2.218/2.218, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.862e-05, allocations: 2.281 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield): time 0.4934/0.4934, allocations: 104.4 MB / 1.157 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.04011/0.5336, allocations: 33.19 MB / 1.189 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/0.5384, allocations: 128.1 kB / 1.189 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006916/0.5453, allocations: 3.102 MB / 1.192 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.556, allocations: 4.405 MB / 1.196 GB, free: 14.85 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01315/0.5692, allocations: 5.749 MB / 1.202 GB, free: 10.82 MB / 0.92 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 borFie.borHol.intHex.preDro2.Medium.nXi. Result: borFie.borHol.intHex.preDro2.Medium.nXi with leftover: {$i1}.