Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.026/2.026, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 176.5 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009868, allocations: 95.19 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.045e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2796, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8103/1.09, allocations: 168.7 MB / 1.37 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/1.09, allocations: 121.8 kB / 1.37 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04216/1.133, allocations: 14.78 MB / 1.385 GB, free: 9.754 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.133, allocations: 4 kB / 1.385 GB, free: 9.75 MB / 0.823 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.001084/1.134, allocations: 0.5459 MB / 1.385 GB, free: 9.168 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.134, allocations: 8.031 kB / 1.385 GB, free: 9.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/1.134, allocations: 79.28 kB / 1.385 GB, free: 9.082 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/1.134, allocations: 258.1 kB / 1.385 GB, free: 8.789 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/1.134, allocations: 150.6 kB / 1.386 GB, free: 8.641 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/1.134, allocations: 154.5 kB / 1.386 GB, free: 8.488 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.933e-05/1.134, allocations: 150.6 kB / 1.386 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.483e-05/1.134, allocations: 105 kB / 1.386 GB, free: 8.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/1.135, allocations: 82.47 kB / 1.386 GB, free: 8.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/1.135, allocations: 154.6 kB / 1.386 GB, free: 8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.677e-05/1.135, allocations: 150.6 kB / 1.386 GB, free: 7.852 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/1.135, allocations: 444.8 kB / 1.387 GB, free: 7.387 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/1.135, allocations: 165.1 kB / 1.387 GB, free: 7.215 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/1.135, allocations: 88.08 kB / 1.387 GB, free: 7.125 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/1.135, allocations: 79.19 kB / 1.387 GB, free: 7.047 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/1.135, allocations: 109.6 kB / 1.387 GB, free: 6.934 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/1.135, allocations: 0 / 1.387 GB, free: 6.934 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.606e-05/1.136, allocations: 33.64 kB / 1.387 GB, free: 6.895 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/1.136, allocations: 55.39 kB / 1.387 GB, free: 6.828 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/1.136, allocations: 118 kB / 1.387 GB, free: 6.711 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.136, allocations: 29.7 kB / 1.387 GB, free: 6.676 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/1.136, allocations: 88.08 kB / 1.387 GB, free: 6.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/1.136, allocations: 0 / 1.387 GB, free: 6.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.136, allocations: 0 / 1.387 GB, free: 6.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.136, allocations: 317.8 kB / 1.388 GB, free: 6.273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/1.136, allocations: 4 kB / 1.388 GB, free: 6.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/1.136, allocations: 4 kB / 1.388 GB, free: 6.266 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/1.136, allocations: 7.188 kB / 1.388 GB, free: 6.262 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.136, allocations: 0 / 1.388 GB, free: 6.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000172/1.136, allocations: 57.56 kB / 1.388 GB, free: 6.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.136, allocations: 4 kB / 1.388 GB, free: 6.195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.136, allocations: 4 kB / 1.388 GB, free: 6.191 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.136, allocations: 0 / 1.388 GB, free: 6.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/1.136, allocations: 0 / 1.388 GB, free: 6.191 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.136, allocations: 3.984 kB / 1.388 GB, free: 6.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/1.137, allocations: 3.906 kB / 1.388 GB, free: 6.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.137, allocations: 7.562 kB / 1.388 GB, free: 6.18 MB / 0.823 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.0001255/1.137, allocations: 183.4 kB / 1.388 GB, free: 5.996 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/1.137, allocations: 108.9 kB / 1.388 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/1.137, allocations: 116.3 kB / 1.388 GB, free: 5.762 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/1.137, allocations: 180.2 kB / 1.388 GB, free: 5.578 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-05/1.137, allocations: 180.3 kB / 1.389 GB, free: 5.395 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-05/1.137, allocations: 180.1 kB / 1.389 GB, free: 5.215 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/1.137, allocations: 401.4 kB / 1.389 GB, free: 4.781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/1.137, allocations: 105 kB / 1.389 GB, free: 4.672 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/1.137, allocations: 101 kB / 1.389 GB, free: 4.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/1.138, allocations: 184.2 kB / 1.39 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/1.138, allocations: 180.3 kB / 1.39 GB, free: 4.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.908e-05/1.138, allocations: 180.3 kB / 1.39 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.482e-05/1.138, allocations: 188.2 kB / 1.39 GB, free: 3.82 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002314/1.138, allocations: 308 kB / 1.39 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.138, allocations: 186 kB / 1.391 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.138, allocations: 184.1 kB / 1.391 GB, free: 3.109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.138, allocations: 105 kB / 1.391 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.139, allocations: 180.2 kB / 1.391 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/1.139, allocations: 104.9 kB / 1.391 GB, free: 2.707 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.509e-05/1.139, allocations: 94.58 kB / 1.391 GB, free: 2.617 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001513/1.14, allocations: 320.9 kB / 1.391 GB, free: 2.316 MB / 0.823 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.001285/1.141, allocations: 0.5568 MB / 1.392 GB, free: 1.762 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000136/1.142, allocations: 40.95 kB / 1.392 GB, free: 1.719 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.142, allocations: 0 / 1.392 GB, free: 1.719 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/1.142, allocations: 0 / 1.392 GB, free: 1.719 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/1.142, allocations: 0.5273 MB / 1.393 GB, free: 1.191 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/1.142, allocations: 143.7 kB / 1.393 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.143, allocations: 0.6958 MB / 1.393 GB, free: 312 kB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.143, allocations: 0 / 1.393 GB, free: 312 kB / 0.823 GB Notification: Performance of Templates: time 0.01034/1.153, allocations: 5.413 MB / 1.399 GB, free: 10.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile 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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c 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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:819:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1