Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00104/0.00104, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001177/0.001177, allocations: 190 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.141/1.141, 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 10.1.1-maint.10.0.x/package.mo): time 2.117/2.117, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.658e-05, allocations: 2.5 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox): time 0.5265/0.5265, allocations: 124.4 MB / 1.141 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05206/0.5786, allocations: 37.44 MB / 1.177 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006086/0.5847, allocations: 138.7 kB / 1.177 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009539/0.5943, allocations: 3.387 MB / 1.181 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.6083, allocations: 4.995 MB / 1.186 GB, free: 14.3 MB / 0.8887 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 10.1.1-maint.10.0.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.01598/0.6243, allocations: 6.203 MB / 1.192 GB, free: 9.922 MB / 0.8887 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}.