Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [: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 10.0.0-master/package.mo): time 1.922/1.922, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001047/0.001047, allocations: 190.8 kB / 490.8 MB, free: 1.957 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.315/1.315, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 91.53 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.377e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7044/0.9544, allocations: 161.6 MB / 1.369 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.9547, allocations: 114 kB / 1.37 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02238/0.9771, allocations: 7.766 MB / 1.377 GB, free: 15.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.9772, allocations: 1.812 kB / 1.377 GB, free: 15.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005081/0.9777, allocations: 485.5 kB / 1.378 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9777, allocations: 12.88 kB / 1.378 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.9778, allocations: 7.281 kB / 1.378 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.9779, allocations: 190 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.9779, allocations: 0 / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.978, allocations: 0.9688 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.341e-05/0.978, allocations: 25.7 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.874e-05/0.9781, allocations: 53.41 kB / 1.378 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9781, allocations: 5.703 kB / 1.378 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.9781, allocations: 0 / 1.378 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9781, allocations: 0 / 1.378 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.9783, allocations: 171.7 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/0.9783, allocations: 42.97 kB / 1.378 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.9784, allocations: 35.88 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.9784, allocations: 1.031 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.9784, allocations: 39.44 kB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.9784, allocations: 0.9688 kB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001822/0.9786, allocations: 99.38 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.9787, allocations: 60.5 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.9788, allocations: 133.4 kB / 1.378 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.9788, allocations: 25.7 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.9788, allocations: 88 kB / 1.379 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.9789, allocations: 30.83 kB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.9789, allocations: 0 / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.979, allocations: 321.8 kB / 1.379 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.979, allocations: 22.91 kB / 1.379 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.979, allocations: 30.42 kB / 1.379 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.9791, allocations: 31.44 kB / 1.379 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9791, allocations: 1.031 kB / 1.379 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/0.9792, allocations: 101.7 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.9792, allocations: 5.219 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.9793, allocations: 5.953 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.9793, allocations: 0 / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.9793, allocations: 1 kB / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.9793, allocations: 0 / 1.379 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.9793, allocations: 9.781 kB / 1.379 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.9793, allocations: 6.562 kB / 1.379 GB, free: 29.63 MB / 0.8386 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.332e-05/0.9794, allocations: 110.1 kB / 1.379 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.9794, allocations: 6.812 kB / 1.379 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.9796, allocations: 204.6 kB / 1.379 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/0.9796, allocations: 178.2 kB / 1.38 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-05/0.9797, allocations: 181.4 kB / 1.38 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-05/0.9797, allocations: 185 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9799, allocations: 420.4 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.9799, allocations: 106.1 kB / 1.38 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.98, allocations: 101.6 kB / 1.381 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-05/0.98, allocations: 185.4 kB / 1.381 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.9801, allocations: 185.5 kB / 1.381 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-05/0.9801, allocations: 176.3 kB / 1.381 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.386e-05/0.9802, allocations: 189.3 kB / 1.381 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001488/0.9803, allocations: 310.6 kB / 1.382 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.9805, allocations: 223.2 kB / 1.382 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.9805, allocations: 184.2 kB / 1.382 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.9806, allocations: 102.3 kB / 1.382 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.9807, allocations: 177.5 kB / 1.382 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.9807, allocations: 106.2 kB / 1.382 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002159/0.9809, allocations: 262.1 kB / 1.383 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006289/0.9816, allocations: 250.9 kB / 1.383 GB, free: 26.09 MB / 0.8386 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.0006695/0.9822, allocations: 431.7 kB / 1.383 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.9823, allocations: 72.11 kB / 1.383 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9824, allocations: 1.312 kB / 1.383 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.9824, allocations: 3.938 kB / 1.383 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.9827, allocations: 0.5335 MB / 1.384 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.9829, allocations: 191.9 kB / 1.384 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.9832, allocations: 0.7125 MB / 1.385 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/0.9832, allocations: 0 / 1.385 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.00655/0.9897, allocations: 4.284 MB / 1.389 GB, free: 22.23 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1