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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.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="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.0009464/0.0009464, allocations: 188.3 kB / 316 MB, free: 3.562 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.091/1.091, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008186/0.0008186, allocations: 83.33 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.993e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5857, allocations: 153.2 MB / 1.034 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.586, allocations: 122.6 kB / 1.034 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04282/0.6289, allocations: 15.01 MB / 1.049 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.6289, allocations: 0 / 1.049 GB, free: 4.816 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.00074/0.6296, allocations: 0.5484 MB / 1.05 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6297, allocations: 8.969 kB / 1.05 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.6297, allocations: 91 kB / 1.05 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.6299, allocations: 246.2 kB / 1.05 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.6299, allocations: 150.6 kB / 1.05 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.6299, allocations: 150.6 kB / 1.05 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.408e-05/0.63, allocations: 150.6 kB / 1.05 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.254e-05/0.6301, allocations: 104.9 kB / 1.05 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6301, allocations: 83.28 kB / 1.05 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.6302, allocations: 154.5 kB / 1.051 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.6302, allocations: 154.5 kB / 1.051 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.6304, allocations: 446.2 kB / 1.051 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.6305, allocations: 169.1 kB / 1.051 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.6305, allocations: 83.45 kB / 1.051 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.6305, allocations: 75.28 kB / 1.052 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.6306, allocations: 105.8 kB / 1.052 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.6306, allocations: 3.938 kB / 1.052 GB, free: 2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 6.099e-05/0.6306, allocations: 33.61 kB / 1.052 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.6307, allocations: 51.41 kB / 1.052 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.6308, allocations: 128.1 kB / 1.052 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.6308, allocations: 29.7 kB / 1.052 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.6308, allocations: 87.44 kB / 1.052 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.6308, allocations: 0 / 1.052 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.6308, allocations: 0 / 1.052 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.6309, allocations: 318 kB / 1.052 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.6309, allocations: 0 / 1.052 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.631, allocations: 7.312 kB / 1.052 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.631, allocations: 16.02 kB / 1.052 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.631, allocations: 3.938 kB / 1.052 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001265/0.6312, allocations: 53.05 kB / 1.052 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.6312, allocations: 4 kB / 1.052 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.6312, allocations: 8.062 kB / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.6312, allocations: 0 / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.6312, allocations: 0 / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.6312, allocations: 7.984 kB / 1.052 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.6313, allocations: 3.906 kB / 1.052 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.6313, allocations: 0 / 1.052 GB, free: 1.234 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.562e-05/0.6313, allocations: 180.3 kB / 1.053 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.6314, allocations: 112 kB / 1.053 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.6314, allocations: 108.6 kB / 1.053 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/0.6315, allocations: 180.2 kB / 1.053 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.6315, allocations: 180.2 kB / 1.053 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/0.6316, allocations: 180.3 kB / 1.053 GB, free: 276 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.6318, allocations: 401 kB / 1.054 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/0.6318, allocations: 101 kB / 1.054 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.6318, allocations: 101 kB / 1.054 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.467e-05/0.6319, allocations: 188.2 kB / 1.054 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.6319, allocations: 184.4 kB / 1.054 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.023e-05/0.632, allocations: 184.2 kB / 1.054 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.05e-05/0.632, allocations: 179.5 kB / 1.055 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.232e-05/0.6321, allocations: 309 kB / 1.055 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.6322, allocations: 186 kB / 1.055 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.6322, allocations: 183.5 kB / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.6323, allocations: 108.9 kB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.6324, allocations: 184.2 kB / 1.055 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.6324, allocations: 101 kB / 1.056 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.982e-05/0.6324, allocations: 95.91 kB / 1.056 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007786/0.6332, allocations: 329.1 kB / 1.056 GB, free: 13.36 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.0009872/0.6342, allocations: 0.5792 MB / 1.056 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.6343, allocations: 37.08 kB / 1.057 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6343, allocations: 4 kB / 1.057 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.6343, allocations: 0 / 1.057 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.6346, allocations: 0.5299 MB / 1.057 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.6348, allocations: 139.1 kB / 1.057 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.635, allocations: 0.6958 MB / 1.058 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.635, allocations: 0 / 1.058 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.008137/0.6431, allocations: 5.712 MB / 1.063 GB, free: 5.688 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c Buildings_maint.7.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') 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.InternalResistancesTwoUTubeNegative_functions.o] Error 1