Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001122/0.001122, allocations: 103.7 kB / 16.37 MB, free: 6.363 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.00108/0.00108, allocations: 192.5 kB / 17.31 MB, free: 5.91 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.147/1.147, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 299 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8206/0.8206, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.064e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002424/0.002458, allocations: 1.755 MB / 0.5983 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.008601, allocations: 5.386 MB / 0.6036 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.008678, allocations: 1.281 kB / 0.6036 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.009565, allocations: 372.6 kB / 0.604 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.009669, allocations: 56.3 kB / 0.604 GB, free: 6.906 MB / 414.1 MB [/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/BuildingSystems 2.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.00258/0.01227, allocations: 1.5 MB / 0.6055 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.0125, allocations: 200.4 kB / 0.6057 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.01254, allocations: 4.234 kB / 0.6057 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.01262, allocations: 72.61 kB / 0.6057 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.01273, allocations: 81.5 kB / 0.6058 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.01275, allocations: 8 kB / 0.6058 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.01524, allocations: 2.498 MB / 0.6083 GB, free: 2.559 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001715/0.01543, allocations: 253 kB / 0.6085 GB, free: 2.309 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 9.287e-05/0.01553, allocations: 179.3 kB / 0.6087 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.01557, allocations: 11.94 kB / 0.6087 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.338e-06/0.01558, allocations: 4.656 kB / 0.6087 GB, free: 2.117 MB / 414.1 MB [/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 BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.BaseClasses.SmallScale_Borefield borFieDat