Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years.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.Analytic_20Years,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 106.2 kB / 16.42 MB, free: 6.469 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.001062/0.001062, allocations: 189.9 kB / 17.36 MB, free: 5.734 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.144/1.144, 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.001928/0.001929, allocations: 277.3 kB / 291.5 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.8117/0.8117, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.031e-05, allocations: 2.281 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Analytic_20Years): time 0.003141/0.00316, allocations: 2.685 MB / 0.6847 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2363/0.2395, allocations: 7.156 MB / 0.6917 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2398, allocations: 7.719 kB / 0.6917 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2412, allocations: 0.5486 MB / 0.6922 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.2419, allocations: 248.6 kB / 0.6924 GB, free: 12.97 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.004008/0.2459, allocations: 1.979 MB / 0.6944 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.2464, allocations: 0.518 MB / 0.6949 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2465, allocations: 42.25 kB / 0.6949 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2467, allocations: 206.5 kB / 0.6951 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00913/0.2559, allocations: 0.6722 MB / 0.6958 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.2559, allocations: 40.75 kB / 0.6958 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.2599, allocations: 2.955 MB / 0.6987 GB, free: 11.16 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0003892/0.2603, allocations: 0.7273 MB / 0.6994 GB, free: 10.7 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001726/0.2604, allocations: 451 kB / 0.6998 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.2605, allocations: 57.58 kB / 0.6999 GB, free: 10.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.478e-05/0.2606, allocations: 5.844 kB / 0.6999 GB, free: 10.36 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