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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.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 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 184.9 kB / 316 MB, free: 3.57 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.063/1.063, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0007845/0.0007845, allocations: 97.75 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.532e-06, allocations: 0 / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.6087, allocations: 152.5 MB / 1.033 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.609, allocations: 124.9 kB / 1.034 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04109/0.6501, allocations: 14.68 MB / 1.048 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6501, allocations: 0 / 1.048 GB, free: 6.117 MB / 0.6667 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.0007138/0.6509, allocations: 0.5426 MB / 1.048 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6509, allocations: 16.03 kB / 1.048 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.6509, allocations: 79.19 kB / 1.049 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.6511, allocations: 250.2 kB / 1.049 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.6511, allocations: 150.6 kB / 1.049 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.6512, allocations: 158.4 kB / 1.049 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.178e-05/0.6512, allocations: 150.6 kB / 1.049 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.161e-05/0.6513, allocations: 108.9 kB / 1.049 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6513, allocations: 75.28 kB / 1.049 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.6513, allocations: 150.6 kB / 1.05 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.6514, allocations: 150.6 kB / 1.05 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.6516, allocations: 449.6 kB / 1.05 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.6517, allocations: 169.1 kB / 1.05 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.6517, allocations: 80.14 kB / 1.05 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.6517, allocations: 79.28 kB / 1.05 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.6518, allocations: 113.2 kB / 1.051 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.6518, allocations: 0 / 1.051 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.124e-05/0.6518, allocations: 33.61 kB / 1.051 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.6519, allocations: 55.41 kB / 1.051 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.652, allocations: 114.5 kB / 1.051 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.652, allocations: 25.7 kB / 1.051 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.652, allocations: 87.44 kB / 1.051 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.652, allocations: 0 / 1.051 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.652, allocations: 0 / 1.051 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.6521, allocations: 322.2 kB / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.6521, allocations: 4 kB / 1.051 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.6521, allocations: 11.92 kB / 1.051 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.6522, allocations: 8 kB / 1.051 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6522, allocations: 0 / 1.051 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001578/0.6524, allocations: 52.78 kB / 1.051 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.6524, allocations: 8 kB / 1.051 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6524, allocations: 0 / 1.051 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.6524, allocations: 0 / 1.051 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.6524, allocations: 4 kB / 1.051 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6524, allocations: 0 / 1.051 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.6525, allocations: 0 / 1.051 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6525, allocations: 4.062 kB / 1.051 GB, free: 2.555 MB / 0.6667 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 6.034e-05/0.6525, allocations: 188.1 kB / 1.051 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.6526, allocations: 104.9 kB / 1.052 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.6526, allocations: 119.9 kB / 1.052 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/0.6527, allocations: 176.3 kB / 1.052 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-05/0.6527, allocations: 176.3 kB / 1.052 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-05/0.6528, allocations: 188.2 kB / 1.052 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.653, allocations: 392.9 kB / 1.053 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.653, allocations: 109 kB / 1.053 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.653, allocations: 104.9 kB / 1.053 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-05/0.6531, allocations: 180.3 kB / 1.053 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.6531, allocations: 184.4 kB / 1.053 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.89e-05/0.6532, allocations: 180.2 kB / 1.053 GB, free: 384 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.105e-05/0.6532, allocations: 180.2 kB / 1.053 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.907e-05/0.6533, allocations: 316.4 kB / 1.054 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.6534, allocations: 178.1 kB / 1.054 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.6534, allocations: 184.2 kB / 1.054 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.6535, allocations: 112.9 kB / 1.054 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.6536, allocations: 180.1 kB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.6536, allocations: 101 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.137e-05/0.6536, allocations: 94.33 kB / 1.055 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008066/0.6545, allocations: 325.6 kB / 1.055 GB, free: 14.68 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.0009906/0.6555, allocations: 0.5656 MB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.6555, allocations: 37.64 kB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6556, allocations: 0 / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.6556, allocations: 7.562 kB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.6558, allocations: 0.5225 MB / 1.056 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.656, allocations: 142.4 kB / 1.056 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.6562, allocations: 0.6958 MB / 1.057 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of SimCode: time 2.405e-06/0.6562, allocations: 0 / 1.057 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.00816/0.6644, allocations: 5.541 MB / 1.062 GB, free: 7.191 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_maint.7.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') 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.InternalResistancesOneUTubeNegative_functions.o] Error 1