Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.369/2.369, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 181.3 kB / 360.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001247, allocations: 98.12 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.392e-05, allocations: 4 kB / 0.8503 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6282, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/0.8736, allocations: 157.6 MB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000468/0.8741, allocations: 113.1 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07517/0.9493, allocations: 14.39 MB / 1.131 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.9494, allocations: 4 kB / 1.131 GB, free: 0.707 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001126/0.9505, allocations: 0.5487 MB / 1.131 GB, free: 116 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.9505, allocations: 10.41 kB / 1.131 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.9506, allocations: 88.94 kB / 1.132 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.9509, allocations: 251.1 kB / 1.132 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.951, allocations: 154.5 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.951, allocations: 150.6 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.183e-05/0.9511, allocations: 158.5 kB / 1.132 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.125e-05/0.9512, allocations: 105 kB / 1.132 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.9512, allocations: 75.28 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.9513, allocations: 150.6 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.9514, allocations: 150.6 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.9517, allocations: 446.5 kB / 1.133 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.9518, allocations: 165.1 kB / 1.133 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.9518, allocations: 84.05 kB / 1.133 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.9518, allocations: 79.22 kB / 1.133 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.9519, allocations: 113.8 kB / 1.134 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.9519, allocations: 0 / 1.134 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.75e-05/0.952, allocations: 33.69 kB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9521, allocations: 55.31 kB / 1.134 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.9522, allocations: 114.3 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.9522, allocations: 29.64 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.9523, allocations: 84.89 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.9523, allocations: 0 / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.9523, allocations: 0 / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9524, allocations: 322.8 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.9525, allocations: 4 kB / 1.134 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.9525, allocations: 4 kB / 1.134 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.74e-05/0.9526, allocations: 8 kB / 1.134 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9526, allocations: 3.938 kB / 1.134 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001796/0.9528, allocations: 53.34 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9528, allocations: 5.562 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.9529, allocations: 4 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9529, allocations: 0 / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.9529, allocations: 4.062 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.9529, allocations: 4.234 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.953, allocations: 7.906 kB / 1.134 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.953, allocations: 0 / 1.134 GB, free: 13.1 MB / 0.7448 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 0.0001004/0.9531, allocations: 184 kB / 1.134 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.9532, allocations: 112.9 kB / 1.135 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.9532, allocations: 112.5 kB / 1.135 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/0.9533, allocations: 184.2 kB / 1.135 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.259e-05/0.9534, allocations: 180.3 kB / 1.135 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/0.9535, allocations: 180.2 kB / 1.135 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.9538, allocations: 401.7 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/0.9538, allocations: 101 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.9539, allocations: 104.9 kB / 1.136 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/0.954, allocations: 180.3 kB / 1.136 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.954, allocations: 177.1 kB / 1.136 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.564e-05/0.9541, allocations: 188.2 kB / 1.136 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.326e-05/0.9542, allocations: 180.2 kB / 1.136 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001374/0.9543, allocations: 313 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.9544, allocations: 186 kB / 1.137 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.9545, allocations: 180.2 kB / 1.137 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.9546, allocations: 107.1 kB / 1.137 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.9547, allocations: 176.3 kB / 1.137 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.9548, allocations: 105 kB / 1.137 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.49e-05/0.9548, allocations: 104 kB / 1.138 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001396/0.9562, allocations: 327.5 kB / 1.138 GB, free: 9.199 MB / 0.7448 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.001666/0.9579, allocations: 0.5612 MB / 1.138 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.9581, allocations: 41.64 kB / 1.138 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9581, allocations: 0 / 1.138 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.98e-06/0.9581, allocations: 8.062 kB / 1.138 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.9585, allocations: 0.5224 MB / 1.139 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.9588, allocations: 145.9 kB / 1.139 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.9591, allocations: 0.6958 MB / 1.14 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.9591, allocations: 4 kB / 1.14 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.01493/0.9741, allocations: 5.521 MB / 1.145 GB, free: 1.715 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:857: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.\n: recipe for target \'Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'