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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [: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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009729/0.0009729, allocations: 181.2 kB / 316 MB, free: 3.539 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.045/1.045, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.000775/0.000775, allocations: 96.44 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.642e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5716, allocations: 144.2 MB / 1.025 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5719, allocations: 117.2 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.02165/0.5936, allocations: 8.12 MB / 1.033 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.5936, allocations: 4 kB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004693/0.5941, allocations: 0.5539 MB / 1.034 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5941, allocations: 12.03 kB / 1.034 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.5941, allocations: 27.7 kB / 1.034 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.5944, allocations: 225.2 kB / 1.034 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.5944, allocations: 0 / 1.034 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5944, allocations: 4 kB / 1.034 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.94e-05/0.5945, allocations: 77.2 kB / 1.034 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.5946, allocations: 108.2 kB / 1.034 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5946, allocations: 0 / 1.034 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5946, allocations: 0 / 1.034 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5946, allocations: 4 kB / 1.034 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.5948, allocations: 241.5 kB / 1.035 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.595, allocations: 125.6 kB / 1.035 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.595, allocations: 113.1 kB / 1.035 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.5951, allocations: 4 kB / 1.035 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5951, allocations: 30.56 kB / 1.035 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 9.62e-07/0.5951, allocations: 0 / 1.035 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0003112/0.5954, allocations: 337.2 kB / 1.035 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.5955, allocations: 51.41 kB / 1.035 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5956, allocations: 215.7 kB / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.5956, allocations: 29.7 kB / 1.036 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.5957, allocations: 103.4 kB / 1.036 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.5957, allocations: 99.78 kB / 1.036 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.5957, allocations: 0 / 1.036 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.5958, allocations: 341 kB / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.5959, allocations: 78.27 kB / 1.036 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.596, allocations: 77.72 kB / 1.036 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.5961, allocations: 101.2 kB / 1.036 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5961, allocations: 4.031 kB / 1.036 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002499/0.5963, allocations: 329.6 kB / 1.037 GB, free: 404 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.5964, allocations: 8 kB / 1.037 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.5964, allocations: 3.984 kB / 1.037 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5964, allocations: 0 / 1.037 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.5964, allocations: 0 / 1.037 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5964, allocations: 0 / 1.037 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.5965, allocations: 19.69 kB / 1.037 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5965, allocations: 4 kB / 1.037 GB, free: 368 kB / 0.6511 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 5.283e-05/0.5965, allocations: 105 kB / 1.037 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.5966, allocations: 27.56 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.5969, allocations: 0.5699 MB / 1.037 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/0.597, allocations: 180.3 kB / 1.038 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-05/0.597, allocations: 180.2 kB / 1.038 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/0.5971, allocations: 191.4 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.5974, allocations: 0.5165 MB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.5974, allocations: 101 kB / 1.039 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.5974, allocations: 117.1 kB / 1.039 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-05/0.5975, allocations: 176.3 kB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.5975, allocations: 180.3 kB / 1.039 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.053e-05/0.5976, allocations: 180.2 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-05/0.5976, allocations: 184.3 kB / 1.039 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001469/0.5978, allocations: 330.4 kB / 1.04 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.5982, allocations: 360.1 kB / 1.04 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.5983, allocations: 184.2 kB / 1.04 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.5985, allocations: 108.9 kB / 1.04 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5985, allocations: 176.3 kB / 1.04 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.5985, allocations: 109 kB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0009749/0.5995, allocations: 1.141 MB / 1.042 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006651/0.6002, allocations: 308.9 kB / 1.042 GB, free: 11.25 MB / 0.6667 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.0006593/0.6009, allocations: 441.6 kB / 1.042 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.601, allocations: 178.3 kB / 1.043 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.601, allocations: 0 / 1.043 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.601, allocations: 3.938 kB / 1.043 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.6014, allocations: 0.542 MB / 1.043 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.6018, allocations: 357.7 kB / 1.043 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.602, allocations: 0.7699 MB / 1.044 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.602, allocations: 0 / 1.044 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of Templates: time 0.007132/0.6092, allocations: 4.563 MB / 1.049 GB, free: 4.484 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_MultipoleThermalResistances_TwoUTube -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.MultipoleThermalResistances_TwoUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_MultipoleThermalResistances_TwoUTube -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.MultipoleThermalResistances_TwoUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:358: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.MultipoleThermalResistances_TwoUTube_functions.o] Error 1