Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Geothermal.Borefields.Examples.RectangularBorefield,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.sta_a.T|borFie.groTemRes.delTBor",fileNamePrefix="Buildings_11_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_11_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.001307/0.001307, allocations: 115.9 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.001388/0.001388, allocations: 182 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.153/1.153, 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.1.0-maint.11.x/package.mo): time 2.276/2.276, allocations: 469.8 MB / 0.7431 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.514e-05, allocations: 2.281 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.Examples.RectangularBorefield): time 0.4615/0.4615, allocations: 104.4 MB / 1.168 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03975/0.5013, allocations: 33.2 MB / 1.2 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/0.5055, allocations: 127.4 kB / 1.2 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007101/0.5127, allocations: 3.157 MB / 1.203 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.5234, allocations: 4.614 MB / 1.208 GB, free: 1.527 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.1.0-maint.11.x/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.01281/0.5362, allocations: 5.771 MB / 1.214 GB, free: 13.48 MB / 0.9356 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:594:7-597: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}.