Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.Borefields.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.Borefields,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2UTubParIn.T|T2UTubParOut.T|T2UTubSerOut.T|TUTubOut.T|borFie2UTubPar.borHol.intHex.10..vol1.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol2.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol3.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol4.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol1.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol2.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol3.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol4.heatPort.T|borFieUTub.borHol.intHex.10..vol1.heatPort.T|borFieUTub.borHol.intHex.10..vol2.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.Borefields") translateModel(Buildings.Fluid.Geothermal.Borefields.Examples.Borefields,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2UTubParIn.T|T2UTubParOut.T|T2UTubSerOut.T|TUTubOut.T|borFie2UTubPar.borHol.intHex.10..vol1.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol2.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol3.heatPort.T|borFie2UTubPar.borHol.intHex.10..vol4.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol1.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol2.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol3.heatPort.T|borFie2UTubSer.borHol.intHex.10..vol4.heatPort.T|borFieUTub.borHol.intHex.10..vol1.heatPort.T|borFieUTub.borHol.intHex.10..vol2.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.Examples.Borefields") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 112.2 kB / 16.43 MB, free: 6.5 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.001164/0.001164, 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.118/1.118, 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.0.1-master/package.mo): time 2.176/2.176, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.079e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.Examples.Borefields): time 0.6085/0.6085, allocations: 265.7 MB / 1.314 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.08178/0.6903, allocations: 71.63 MB / 1.384 GB, free: 5.152 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01266/0.703, allocations: 342.2 kB / 1.384 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01352/0.7166, allocations: 5.529 MB / 1.39 GB, free: 15.26 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02774/0.7443, allocations: 11.76 MB / 1.401 GB, free: 3.461 MB / 1.107 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.02155/0.7659, allocations: 10.62 MB / 1.412 GB, free: 8.906 MB / 1.123 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 borFie2UTubPar.borHol.intHex.preDro4.Medium.nXi. Result: borFie2UTubPar.borHol.intHex.preDro4.Medium.nXi with leftover: {$i1}.