Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 109.9 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.001107/0.001107, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.165/1.165, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.195/2.195, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.639e-05, allocations: 2.281 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00229/0.002314, allocations: 1.768 MB / 1.056 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006509/0.008833, allocations: 5.393 MB / 1.062 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.008924, allocations: 0 / 1.062 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009916/0.009922, allocations: 373.1 kB / 1.062 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.01003, allocations: 59.67 kB / 1.062 GB, free: 60 kB / 0.8262 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.00316/0.01322, allocations: 1.491 MB / 1.064 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.01349, allocations: 195.3 kB / 1.064 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.01353, allocations: 8.219 kB / 1.064 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.01363, allocations: 71.7 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.01377, allocations: 83.62 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.0138, allocations: 8 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.01695, allocations: 2.488 MB / 1.066 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002019/0.01717, allocations: 268.8 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.392e-05/0.01727, allocations: 169.5 kB / 1.067 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.01731, allocations: 15.94 kB / 1.067 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.889e-06/0.01733, allocations: 4 kB / 1.067 GB, free: 11.26 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: mBor_flow_small Error: Internal error NBackendDAE.lowerVariable failed for parameter Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.BaseClasses.SmallScale_Borefield borFieDat