Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 115.9 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.001073/0.001073, allocations: 182 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.151/1.151, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.209/2.209, allocations: 469.8 MB / 0.7431 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.842e-05, allocations: 4.25 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.001974/0.002001, allocations: 1.302 MB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.003844, allocations: 1.351 MB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.003877, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.003917, allocations: 3.984 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.004014, allocations: 7.938 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.004912, allocations: 366.2 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.005, allocations: 23.92 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.00504, allocations: 7.984 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.005073, allocations: 8 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.005123, allocations: 15.91 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.005139, allocations: 4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.005826, allocations: 0.5109 MB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of combineBinaries: time 4.972e-05/0.005886, allocations: 35.67 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.711e-05/0.005911, allocations: 27.73 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-06/0.005926, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.476e-06/0.005938, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (2) * Number of variables: 6 (2) Notification: Performance of Bindings: time 0.0002918/0.006233, allocations: 212.8 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.461e-05/0.006284, allocations: 11.94 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001089/0.006398, allocations: 88.3 kB / 1.07 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simplify1: time 3.171e-05/0.006437, allocations: 40.36 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002285/0.006671, allocations: 100.6 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simplify2: time 2.459e-05/0.006704, allocations: 36.44 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of Detect States: time 5.223e-05/0.006762, allocations: 33.92 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of Events: time 1.316e-05/0.006783, allocations: 11.94 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.389e-05/0.006821, allocations: 12.12 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001001/0.006926, allocations: 56.09 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 5.445e-05/0.006988, allocations: 64.34 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001435/0.007138, allocations: 124.7 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.137e-06/0.007156, allocations: 12.12 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.075e-05/0.007181, allocations: 15.92 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001309/0.007316, allocations: 96.08 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of Tearing: time 7.524e-06/0.007333, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of Initialization: time 3.41e-07/0.007337, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of Tearing: time 1.031e-06/0.007342, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of Categorize: time 6.402e-06/0.007352, allocations: 3.938 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of Solve: time 6.809e-05/0.007423, allocations: 31.95 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.575e-06/0.007432, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:1, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.038e-05/0.007467, allocations: 25.05 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001366/0.008837, allocations: 1.351 MB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of Templates: time 0.004434/0.01328, allocations: 2.256 MB / 1.074 GB, free: 5.023 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.o Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.o Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:888:3: error: function definition is not allowed here { ^ Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:895:165: error: use of undeclared identifier 'closure1_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand'; did you mean 'closure0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand'? (&data->localData[0]->realVars[1] /* G[1] variable */)[_omcQ_24i1 - 1] = omc_Modelica_Math_Nonlinear_quadratureLobatto(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand,tmpMeta6), 1e-12, 100.0, 1e-6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ closure0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:10:26: note: 'closure0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand' declared here static modelica_metatype closure0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand(threadData_t *thData, modelica_metatype closure, modelica_metatype u) ^ 2 errors generated. make: *** [: Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.o] Error 1