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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [: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.552/1.552, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001239/0.001239, allocations: 173.3 kB / 361.1 MB, free: 7.082 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.482/1.482, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0009091/0.0009092, allocations: 98.78 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.233e-05/1.235e-05, allocations: 4 kB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7031, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.9074, allocations: 157.7 MB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/0.9079, allocations: 125.4 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04841/0.9563, allocations: 14.65 MB / 1.132 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.9564, allocations: 4 kB / 1.132 GB, free: 15.51 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.0009905/0.9574, allocations: 0.5487 MB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9574, allocations: 8.531 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.9575, allocations: 87.19 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.9577, allocations: 241 kB / 1.133 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.9578, allocations: 154.5 kB / 1.133 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.9578, allocations: 150.6 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.048e-05/0.9579, allocations: 154.6 kB / 1.133 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.958, allocations: 102.3 kB / 1.134 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.9581, allocations: 83.28 kB / 1.134 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.9581, allocations: 158.5 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.9582, allocations: 150.6 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.9585, allocations: 438.4 kB / 1.134 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.9586, allocations: 177.1 kB / 1.135 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.9586, allocations: 85.05 kB / 1.135 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.9587, allocations: 75.28 kB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.9587, allocations: 113.8 kB / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.9587, allocations: 0 / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.412e-05/0.9588, allocations: 29.64 kB / 1.135 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.9589, allocations: 59.31 kB / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.959, allocations: 113.2 kB / 1.135 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.959, allocations: 29.7 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.9591, allocations: 89.72 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.9591, allocations: 0 / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.9591, allocations: 0 / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9592, allocations: 318.8 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.9593, allocations: 0 / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.9593, allocations: 4 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.9594, allocations: 8.031 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9594, allocations: 0 / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001638/0.9596, allocations: 57.62 kB / 1.135 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9596, allocations: 4 kB / 1.135 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.9596, allocations: 4 kB / 1.135 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9596, allocations: 3.938 kB / 1.135 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.9596, allocations: 0 / 1.135 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.9596, allocations: 0 / 1.135 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.9597, allocations: 11.89 kB / 1.135 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.9597, allocations: 1.75 kB / 1.135 GB, free: 11.9 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.522e-05/0.9598, allocations: 180.3 kB / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.9599, allocations: 111.4 kB / 1.136 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.9599, allocations: 104.6 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/0.96, allocations: 188.2 kB / 1.136 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.864e-05/0.9601, allocations: 180.2 kB / 1.136 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.722e-05/0.9601, allocations: 180.3 kB / 1.136 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.9604, allocations: 397.6 kB / 1.137 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/0.9604, allocations: 101 kB / 1.137 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.9604, allocations: 101 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.346e-05/0.9605, allocations: 184.2 kB / 1.137 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.9606, allocations: 184.4 kB / 1.137 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.472e-05/0.9607, allocations: 184.3 kB / 1.137 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.437e-05/0.9607, allocations: 180.2 kB / 1.138 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001159/0.9608, allocations: 305 kB / 1.138 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.9609, allocations: 195.6 kB / 1.138 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.961, allocations: 180.3 kB / 1.138 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.9611, allocations: 105 kB / 1.138 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.9612, allocations: 184.2 kB / 1.139 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.9612, allocations: 105 kB / 1.139 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.077e-05/0.9613, allocations: 90.56 kB / 1.139 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001031/0.9623, allocations: 331.3 kB / 1.139 GB, free: 8.016 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.00152/0.9638, allocations: 0.5704 MB / 1.14 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.9639, allocations: 41.62 kB / 1.14 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.964, allocations: 0 / 1.14 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.964, allocations: 0 / 1.14 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.9643, allocations: 0.5341 MB / 1.14 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.9645, allocations: 150.7 kB / 1.14 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.9649, allocations: 0.6966 MB / 1.141 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9649, allocations: 0 / 1.141 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.01048/0.9754, allocations: 5.523 MB / 1.146 GB, free: 0.5195 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'