Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.522/1.522, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001275, allocations: 185.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 84.45 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.456e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6294, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.8113, allocations: 149.5 MB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.8116, allocations: 113.6 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02428/0.8359, allocations: 7.659 MB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8359, allocations: 0.8438 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005786/0.8365, allocations: 485.9 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8366, allocations: 8.531 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.8366, allocations: 7.906 kB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.8368, allocations: 200.8 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8369, allocations: 0 / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.8369, allocations: 0 / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.171e-05/0.8369, allocations: 29.36 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.837, allocations: 56.27 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8371, allocations: 3.469 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.8371, allocations: 4 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.8371, allocations: 0 / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.8373, allocations: 166.1 kB / 1.118 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.8374, allocations: 46.5 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.8374, allocations: 36.88 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.8374, allocations: 4 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.8375, allocations: 30.56 kB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.8375, allocations: 4 kB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002269/0.8377, allocations: 93.58 kB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.8377, allocations: 51.41 kB / 1.118 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8379, allocations: 144.7 kB / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.8379, allocations: 25.7 kB / 1.119 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.838, allocations: 92.12 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.838, allocations: 23.59 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.838, allocations: 0 / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8382, allocations: 326.9 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.8382, allocations: 23.98 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.8382, allocations: 27.98 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.8383, allocations: 31.97 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8383, allocations: 0 / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001371/0.8385, allocations: 101.6 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.8385, allocations: 4 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8385, allocations: 4 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8385, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.8385, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.8385, allocations: 4.062 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.8386, allocations: 9.547 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.8386, allocations: 0 / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.257e-05/0.8387, allocations: 108.9 kB / 1.119 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.8387, allocations: 11.84 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.8389, allocations: 204.1 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/0.839, allocations: 184.2 kB / 1.12 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.905e-05/0.8391, allocations: 184.3 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/0.8392, allocations: 180.2 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.8394, allocations: 417.7 kB / 1.12 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/0.8395, allocations: 101 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.8395, allocations: 110.9 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.8396, allocations: 180.3 kB / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.8397, allocations: 180.2 kB / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.34e-05/0.8398, allocations: 185.6 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.031e-05/0.8398, allocations: 180.3 kB / 1.121 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001644/0.84, allocations: 319.7 kB / 1.122 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.8402, allocations: 215.2 kB / 1.122 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.8404, allocations: 184.2 kB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.8405, allocations: 101 kB / 1.122 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.8405, allocations: 176.3 kB / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.8406, allocations: 105 kB / 1.122 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002501/0.8409, allocations: 271.1 kB / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007248/0.8416, allocations: 239.7 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008251/0.8424, allocations: 453.4 kB / 1.123 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.8426, allocations: 65.98 kB / 1.123 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8426, allocations: 0 / 1.123 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.8426, allocations: 3.938 kB / 1.123 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.843, allocations: 0.5324 MB / 1.124 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.8433, allocations: 195.8 kB / 1.124 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.8437, allocations: 0.7118 MB / 1.125 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8437, allocations: 0 / 1.125 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of Templates: time 0.008636/0.8523, allocations: 4.279 MB / 1.129 GB, free: 2.43 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile b'clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.c\nclang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:358:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1\n'