Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox.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.Fluid.Geothermal.Borefields.Validation.Sandbox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorFieIn.T|TBorFieOut.T|sandBoxMea.y.1.|sandBoxMea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox") translateModel(Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorFieIn.T|TBorFieOut.T|sandBoxMea.y.1.|sandBoxMea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 104 kB / 16.42 MB, free: 6.484 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.001136/0.001137, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.16/1.16, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.248/2.248, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/1.916e-05, allocations: 8.891 kB / 1.07 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox): time 0.4995/0.4995, allocations: 124.4 MB / 1.192 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04709/0.5467, allocations: 37.43 MB / 1.228 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005571/0.5523, allocations: 139.3 kB / 1.228 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007928/0.5602, allocations: 3.391 MB / 1.232 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.5723, allocations: 4.998 MB / 1.236 GB, free: 7.676 MB / 0.9512 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 12.0.0-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.01402/0.5863, allocations: 6.198 MB / 1.242 GB, free: 1.523 MB / 0.9512 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 borHol.borHol.intHex.preDro2.Medium.nXi. Result: borHol.borHol.intHex.preDro2.Medium.nXi with leftover: {$i1}.