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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [: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.557/1.557, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001106/0.001106, allocations: 189.2 kB / 361.1 MB, free: 7.047 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.393/1.393, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.0008795/0.0008796, allocations: 90.05 kB / 0.7326 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.166e-06, allocations: 0 / 0.8511 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.623, allocations: 115.3 MB / 0.9637 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.8096, allocations: 149.5 MB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.81, allocations: 109.4 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0257/0.8357, allocations: 8.12 MB / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.8357, allocations: 8 kB / 1.118 GB, free: 14.37 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007229/0.8365, allocations: 0.5521 MB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8365, allocations: 9.938 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.8366, allocations: 27.62 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.8369, allocations: 213.7 kB / 1.119 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.8369, allocations: 7.891 kB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.837, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/0.8371, allocations: 79.95 kB / 1.119 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8372, allocations: 105.7 kB / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8373, allocations: 0 / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8373, allocations: 0 / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8373, allocations: 0 / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.8376, allocations: 256.1 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.8377, allocations: 119.3 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8378, allocations: 112.8 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.8379, allocations: 4 kB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.8379, allocations: 30.56 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/0.8379, allocations: 0.6562 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0003942/0.8383, allocations: 329.8 kB / 1.12 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.8383, allocations: 51.41 kB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.8385, allocations: 212.3 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8386, allocations: 25.7 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.8386, allocations: 108.7 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.8387, allocations: 106.4 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.8387, allocations: 0.6562 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8388, allocations: 342.8 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.8389, allocations: 76 kB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.839, allocations: 80.48 kB / 1.12 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.8391, allocations: 111.9 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8392, allocations: 0 / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003059/0.8395, allocations: 321.3 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8395, allocations: 8.469 kB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.8395, allocations: 4 kB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8395, allocations: 0 / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.8395, allocations: 0 / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8396, allocations: 0 / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.8396, allocations: 15.78 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8396, allocations: 11.81 kB / 1.121 GB, free: 10.91 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 6.361e-05/0.8397, allocations: 101 kB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.8397, allocations: 23.62 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.8402, allocations: 0.569 MB / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.895e-05/0.8403, allocations: 184.2 kB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-05/0.8404, allocations: 184.2 kB / 1.122 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.933e-05/0.8405, allocations: 180.2 kB / 1.122 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.8409, allocations: 0.5169 MB / 1.123 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.8409, allocations: 106.4 kB / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.8409, allocations: 105.7 kB / 1.123 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/0.841, allocations: 184.3 kB / 1.123 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.8411, allocations: 180.2 kB / 1.123 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-05/0.8411, allocations: 176.3 kB / 1.123 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.151e-05/0.8412, allocations: 180.3 kB / 1.124 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002125/0.8414, allocations: 339.4 kB / 1.124 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.8418, allocations: 358.8 kB / 1.124 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.842, allocations: 184.2 kB / 1.124 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.8422, allocations: 101 kB / 1.124 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.8423, allocations: 176.3 kB / 1.125 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.8423, allocations: 111.2 kB / 1.125 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001329/0.8437, allocations: 1.153 MB / 1.126 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008856/0.8446, allocations: 303.6 kB / 1.126 GB, free: 5.27 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.001075/0.8456, allocations: 437.8 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.8459, allocations: 181.9 kB / 1.127 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8459, allocations: 3.938 kB / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.8459, allocations: 0 / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.8463, allocations: 0.5537 MB / 1.127 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.8469, allocations: 353.9 kB / 1.128 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.8472, allocations: 0.7726 MB / 1.128 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.8472, allocations: 0 / 1.128 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of Templates: time 0.009682/0.8569, allocations: 4.564 MB / 1.133 GB, free: 14.43 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube_functions.o] Error 1\n'