Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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_10_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.001144/0.001144, 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.00107/0.00107, 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.163/1.163, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.111/2.111, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.41e-05, allocations: 8.469 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002148/0.00217, allocations: 1.773 MB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006248/0.008429, allocations: 5.39 MB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.008502, allocations: 3.938 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.009422, allocations: 363 kB / 1.027 GB, free: 1.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.009531, allocations: 55.72 kB / 1.027 GB, free: 1.777 MB / 0.795 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.002697/0.01224, allocations: 1.509 MB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.01248, allocations: 203.3 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.01252, allocations: 240 / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.0126, allocations: 71.7 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.01273, allocations: 87.69 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.01275, allocations: 4 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.01552, allocations: 2.496 MB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0001813/0.01571, allocations: 260.9 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 9.638e-05/0.01581, allocations: 169.5 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.01585, allocations: 19.94 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.955e-06/0.01586, allocations: 4 kB / 1.031 GB, free: 12.96 MB / 0.8106 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