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.001263/0.001263, 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.001285/0.001285, 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 289.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/2.969e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003802/0.003844, allocations: 1.743 MB / 0.6838 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4657/0.4695, allocations: 5.39 MB / 0.6891 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4698, allocations: 4.688 kB / 0.6891 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.4715, allocations: 366.5 kB / 0.6894 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.4717, allocations: 64.45 kB / 0.6895 GB, free: 13.05 MB / 494.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.00551/0.4773, allocations: 1.498 MB / 0.6909 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.4779, allocations: 198.5 kB / 0.6911 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.478, allocations: 8.125 kB / 0.6911 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.4781, allocations: 70.38 kB / 0.6912 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.4783, allocations: 79.92 kB / 0.6913 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.4783, allocations: 6.812 kB / 0.6913 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.4847, allocations: 2.5 MB / 0.6937 GB, free: 12.96 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002857/0.4851, allocations: 249.5 kB / 0.694 GB, free: 12.82 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001222/0.4852, allocations: 182.9 kB / 0.6941 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.4853, allocations: 15.12 kB / 0.6942 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.013e-05/0.4853, allocations: 1.594 kB / 0.6942 GB, free: 12.69 MB / 494.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