Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Measured_SmallScale.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.Validation.Measured_SmallScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Measured_SmallScale") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Measured_SmallScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Measured_SmallScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 113.2 kB / 16.43 MB, free: 6.523 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.001011/0.001011, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 293 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.366e-05, allocations: 6.219 kB / 0.682 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Measured_SmallScale): time 0.00409/0.004123, allocations: 2.526 MB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4536/0.4577, allocations: 7.957 MB / 0.6923 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.4582, allocations: 6.344 kB / 0.6923 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.4608, allocations: 0.7352 MB / 0.693 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.4618, allocations: 227 kB / 0.6932 GB, free: 12.28 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.007969/0.4698, allocations: 1.931 MB / 0.6951 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.4711, allocations: 447.3 kB / 0.6955 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4713, allocations: 41.44 kB / 0.6956 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.4716, allocations: 172.1 kB / 0.6957 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.473, allocations: 0.5845 MB / 0.6963 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.4731, allocations: 28.09 kB / 0.6963 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00942/0.4825, allocations: 3.17 MB / 0.6994 GB, free: 10.74 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0007839/0.4833, allocations: 0.6221 MB / 0.7 GB, free: 10.35 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002567/0.4836, allocations: 393.6 kB / 0.7004 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4837, allocations: 38.94 kB / 0.7005 GB, free: 10.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.254e-05/0.4838, allocations: 5.156 kB / 0.7005 GB, free: 10.06 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.Data.Borefield.Template groTemRes.borFieDat = borFieDat