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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [: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.551/1.551, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001046/0.001046, allocations: 179.3 kB / 361.1 MB, free: 7.09 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.358/1.358, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009549/0.0009549, allocations: 86.11 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.205e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7022, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.9165, allocations: 158.4 MB / 1.118 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.9169, allocations: 117.2 kB / 1.119 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04902/0.9659, allocations: 14.99 MB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.966, allocations: 4 kB / 1.133 GB, free: 14.53 MB / 0.7448 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.001006/0.967, allocations: 0.5487 MB / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.967, allocations: 8.531 kB / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.9671, allocations: 83.19 kB / 1.134 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.9673, allocations: 250.2 kB / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.9673, allocations: 154.6 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.9674, allocations: 150.6 kB / 1.134 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.093e-05/0.9675, allocations: 154.6 kB / 1.135 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.256e-05/0.9675, allocations: 108.9 kB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9676, allocations: 75.28 kB / 1.135 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.9676, allocations: 150.6 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.9677, allocations: 150.6 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.968, allocations: 452.4 kB / 1.135 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.9681, allocations: 165.1 kB / 1.136 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.9681, allocations: 80.14 kB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.9681, allocations: 75.28 kB / 1.136 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.9682, allocations: 117.8 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/0.9682, allocations: 0 / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.611e-05/0.9683, allocations: 33.55 kB / 1.136 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9684, allocations: 55.41 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9685, allocations: 127.9 kB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.9686, allocations: 25.7 kB / 1.136 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.9686, allocations: 80.14 kB / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.9686, allocations: 0 / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9686, allocations: 0 / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9687, allocations: 326.8 kB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.9688, allocations: 4 kB / 1.136 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.9688, allocations: 8 kB / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.9689, allocations: 7.906 kB / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9689, allocations: 0 / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.969, allocations: 49.64 kB / 1.137 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9691, allocations: 11.98 kB / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.9691, allocations: 3.906 kB / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9691, allocations: 6.156 kB / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.9691, allocations: 4.062 kB / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.9691, allocations: 0 / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.9692, allocations: 0 / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9692, allocations: 1.562 kB / 1.137 GB, free: 10.92 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 8.51e-05/0.9693, allocations: 186.8 kB / 1.137 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.9693, allocations: 101 kB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.9694, allocations: 124.4 kB / 1.137 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.592e-05/0.9695, allocations: 180.3 kB / 1.137 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.9695, allocations: 176.3 kB / 1.137 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/0.9696, allocations: 180.2 kB / 1.137 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.9698, allocations: 393.8 kB / 1.138 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.9699, allocations: 105 kB / 1.138 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.9699, allocations: 108.9 kB / 1.138 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.599e-05/0.97, allocations: 180.3 kB / 1.138 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.97, allocations: 180.4 kB / 1.138 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.892e-05/0.9701, allocations: 180.2 kB / 1.139 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-05/0.9702, allocations: 181.3 kB / 1.139 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001211/0.9703, allocations: 320.9 kB / 1.139 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.9704, allocations: 178.1 kB / 1.139 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.9705, allocations: 188.2 kB / 1.139 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.9705, allocations: 108.9 kB / 1.139 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.9706, allocations: 176.3 kB / 1.14 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.9707, allocations: 103.4 kB / 1.14 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.872e-05/0.9707, allocations: 103.3 kB / 1.14 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001124/0.9718, allocations: 327.5 kB / 1.14 GB, free: 7.02 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.001183/0.973, allocations: 0.575 MB / 1.141 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.9731, allocations: 41.7 kB / 1.141 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9732, allocations: 0 / 1.141 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.9732, allocations: 9.75 kB / 1.141 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.9735, allocations: 0.5342 MB / 1.141 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.9738, allocations: 143.9 kB / 1.141 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.974, allocations: 0.6966 MB / 1.142 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.974, allocations: 4 kB / 1.142 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of Templates: time 0.009833/0.9838, allocations: 5.699 MB / 1.148 GB, free: 15.34 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:895: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.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'