Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.163/1.163, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 182.8 kB / 316 MB, free: 7.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 0.5667 GB, free: 23.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008002/0.0008002, allocations: 80.03 kB / 0.671 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/8.025e-06, allocations: 4 kB / 0.7808 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3412, allocations: 106.3 MB / 0.8846 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.4853, allocations: 151.4 MB / 1.032 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4856, allocations: 119.9 kB / 1.033 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.318/0.8036, allocations: 14.67 MB / 1.047 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8037, allocations: 5.188 kB / 1.047 GB, free: 147.4 MB / 0.6823 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.0006174/0.8043, allocations: 0.5471 MB / 1.047 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.8043, allocations: 12 kB / 1.047 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.8044, allocations: 87.06 kB / 1.048 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/0.8045, allocations: 243.2 kB / 1.048 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8045, allocations: 150.6 kB / 1.048 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.8045, allocations: 152.4 kB / 1.048 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.476e-05/0.8046, allocations: 155.8 kB / 1.048 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.21e-05/0.8046, allocations: 101 kB / 1.048 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8046, allocations: 77.59 kB / 1.048 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.8046, allocations: 150.6 kB / 1.049 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.8047, allocations: 158.4 kB / 1.049 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.8048, allocations: 446 kB / 1.049 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.594e-05/0.8049, allocations: 166.2 kB / 1.049 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.8049, allocations: 80.75 kB / 1.049 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.8049, allocations: 75.28 kB / 1.049 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.8049, allocations: 115.4 kB / 1.05 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.8049, allocations: 1 kB / 1.05 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 5.966e-05/0.805, allocations: 36.92 kB / 1.05 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.386e-05/0.805, allocations: 51.92 kB / 1.05 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.8051, allocations: 122.8 kB / 1.05 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.8051, allocations: 25.7 kB / 1.05 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.8052, allocations: 86.81 kB / 1.05 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.8052, allocations: 0 / 1.05 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.8052, allocations: 1.062 kB / 1.05 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.8052, allocations: 325.8 kB / 1.05 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.8052, allocations: 3.5 kB / 1.05 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.8053, allocations: 7.406 kB / 1.05 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.8053, allocations: 7.016 kB / 1.05 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8053, allocations: 0 / 1.05 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.8054, allocations: 47.66 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.8055, allocations: 4.594 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.8055, allocations: 3.219 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.8055, allocations: 0.875 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.8055, allocations: 5.75 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8055, allocations: 3.938 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.8055, allocations: 1.219 kB / 1.05 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.8056, allocations: 2.859 kB / 1.05 GB, free: 144 MB / 0.6823 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 4.382e-05/0.8056, allocations: 187.5 kB / 1.05 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.8056, allocations: 111.9 kB / 1.051 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.8057, allocations: 109 kB / 1.051 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.8057, allocations: 184.8 kB / 1.051 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.8057, allocations: 182.1 kB / 1.051 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.8058, allocations: 178.6 kB / 1.051 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.8059, allocations: 396.4 kB / 1.052 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.8059, allocations: 102.7 kB / 1.052 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.8059, allocations: 102.8 kB / 1.052 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.8059, allocations: 189.8 kB / 1.052 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.806, allocations: 178.9 kB / 1.052 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.806, allocations: 178.3 kB / 1.052 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.296e-05/0.806, allocations: 190.3 kB / 1.052 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.755e-05/0.8061, allocations: 310.6 kB / 1.053 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.8061, allocations: 184.5 kB / 1.053 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.8061, allocations: 182.9 kB / 1.053 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.8062, allocations: 103.2 kB / 1.053 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.8062, allocations: 180.9 kB / 1.053 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.8062, allocations: 110.9 kB / 1.053 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.147e-05/0.8063, allocations: 96.72 kB / 1.054 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007018/0.807, allocations: 327.6 kB / 1.054 GB, free: 140.4 MB / 0.6823 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.0009672/0.808, allocations: 0.5581 MB / 1.054 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.289e-05/0.808, allocations: 40.97 kB / 1.054 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8081, allocations: 0.5312 kB / 1.054 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.8081, allocations: 5.125 kB / 1.054 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.8083, allocations: 0.5232 MB / 1.055 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.8084, allocations: 142.5 kB / 1.055 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.8085, allocations: 0.702 MB / 1.056 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.8085, allocations: 4.812 kB / 1.056 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.009548/0.8181, allocations: 5.517 MB / 1.061 GB, free: 137.6 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_maint.7.0.x_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') 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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1