Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001105/0.001105, allocations: 105.7 kB / 16.42 MB, free: 6.516 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.00107/0.00107, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.149/1.149, 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.001924/0.001923, allocations: 287.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8146/0.8146, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.487e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.001779/0.001803, allocations: 1.311 MB / 0.6834 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.003563, allocations: 1.333 MB / 0.6847 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.003597, allocations: 0 / 0.6847 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.003633, allocations: 4 kB / 0.6847 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.00373, allocations: 19.84 kB / 0.6847 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.004497, allocations: 373.8 kB / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.004592, allocations: 23.92 kB / 0.6851 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.004638, allocations: 3.984 kB / 0.6851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.004673, allocations: 8 kB / 0.6851 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.004729, allocations: 15.92 kB / 0.6851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.004746, allocations: 0 / 0.6851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.005379, allocations: 0.5187 MB / 0.6856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of combineBinaries: time 5.138e-05/0.005441, allocations: 31.72 kB / 0.6856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.595e-05/0.005465, allocations: 30.27 kB / 0.6857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.00548, allocations: 0 / 0.6857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.105e-06/0.005492, allocations: 0 / 0.6857 GB, free: 3.312 MB / 494.1 MB 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.0003205/0.005816, allocations: 228.8 kB / 0.6859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of FunctionAlias: time 3.762e-05/0.005859, allocations: 7.875 kB / 0.6859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001032/0.005968, allocations: 88.33 kB / 0.686 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simplify1: time 7.434e-06/0.005982, allocations: 0 / 0.686 GB, free: 2.867 MB / 494.1 MB Notification: Performance of Alias: time 0.0002288/0.006215, allocations: 112.8 kB / 0.6861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simplify2: time 2.675e-06/0.006226, allocations: 0 / 0.6861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Events: time 1.417e-05/0.006245, allocations: 8 kB / 0.6861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of Detect States: time 4.611e-05/0.006295, allocations: 24.23 kB / 0.6861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of Partitioning: time 3.684e-05/0.006338, allocations: 20.06 kB / 0.6861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Causalize: time 9.998e-05/0.006444, allocations: 64.08 kB / 0.6862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 5.79e-05/0.00651, allocations: 72.34 kB / 0.6863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of Inline: time 0.0001438/0.006659, allocations: 137.5 kB / 0.6864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of Partitioning: time 9.818e-06/0.006677, allocations: 8.125 kB / 0.6864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Cleanup: time 9.147e-06/0.00669, allocations: 4 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001381/0.006833, allocations: 116.4 kB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Tearing: time 4.128e-06/0.006846, allocations: 0 / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Initialization: time 2.6e-07/0.00685, allocations: 0 / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Tearing: time 6.51e-07/0.006854, allocations: 0 / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Categorize: time 5.29e-06/0.006863, allocations: 0 / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Solve: time 5.771e-05/0.006924, allocations: 19.98 kB / 0.6865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Jacobian: time 3.557e-06/0.006934, allocations: 3.938 kB / 0.6865 GB, free: 2.137 MB / 494.1 MB 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 2.523e-05/0.006965, allocations: 11.62 kB / 0.6865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of SimCode: time 0.001246/0.008215, allocations: 1.227 MB / 0.6877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of Templates: time 0.2434/0.2516, allocations: 2.186 MB / 0.6899 GB, free: 14.21 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:125:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:128:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:131:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _R); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:134:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _S); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:247:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:250:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:253:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _R); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:256:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _S); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:370:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:373:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:376:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _R); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:379:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _S); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:500:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:503:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:506:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _R); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:509:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _S); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:888:3: error: function definition is not allowed here { ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:895:165: error: use of undeclared identifier 'closure1_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand'; did you mean 'closure0_BuildingSystems_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_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand,tmpMeta6), 1e-12, 100.0, 1e-6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ closure0_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.c:10:26: note: 'closure0_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand' declared here static modelica_metatype closure0_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_cylindricalHeatSource__Integrand(threadData_t *thData, modelica_metatype closure, modelica_metatype u) ^ 18 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_functions.o] Error 1