Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001158/0.001158, allocations: 189.2 kB / 487 MB, free: 5.363 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.37/1.37, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.97 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2564, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7907/1.047, allocations: 160.8 MB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.047, allocations: 114.8 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.021/1.068, allocations: 7.763 MB / 1.37 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.258e-06/1.069, allocations: 0 / 1.37 GB, free: 7.105 MB / 0.8073 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.0004715/1.069, allocations: 484.8 kB / 1.37 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.069, allocations: 8.031 kB / 1.371 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/1.069, allocations: 11.22 kB / 1.371 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/1.069, allocations: 182.5 kB / 1.371 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/1.069, allocations: 4 kB / 1.371 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/1.069, allocations: 4 kB / 1.371 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.338e-05/1.069, allocations: 23.36 kB / 1.371 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/1.069, allocations: 57.61 kB / 1.371 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.069, allocations: 0 / 1.371 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.069, allocations: 0 / 1.371 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.069, allocations: 4 kB / 1.371 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/1.07, allocations: 164.2 kB / 1.371 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/1.07, allocations: 45 kB / 1.371 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/1.07, allocations: 39.75 kB / 1.371 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/1.07, allocations: 3.984 kB / 1.371 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/1.07, allocations: 34.56 kB / 1.371 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/1.07, allocations: 0 / 1.371 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001883/1.07, allocations: 97.27 kB / 1.371 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/1.07, allocations: 51.41 kB / 1.371 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/1.07, allocations: 139.1 kB / 1.371 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/1.07, allocations: 29.73 kB / 1.371 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/1.07, allocations: 92 kB / 1.371 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/1.07, allocations: 19.56 kB / 1.371 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/1.07, allocations: 0 / 1.371 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/1.07, allocations: 330 kB / 1.372 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/1.07, allocations: 23.98 kB / 1.372 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/1.07, allocations: 27.67 kB / 1.372 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/1.07, allocations: 27.98 kB / 1.372 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.07, allocations: 0 / 1.372 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/1.07, allocations: 112.1 kB / 1.372 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.07, allocations: 4 kB / 1.372 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.07, allocations: 4 kB / 1.372 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.07, allocations: 0.9375 kB / 1.372 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/1.071, allocations: 3.938 kB / 1.372 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.071, allocations: 0 / 1.372 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/1.071, allocations: 3.938 kB / 1.372 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/1.071, allocations: 4 kB / 1.372 GB, free: 4.984 MB / 0.8073 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.7e-05/1.071, allocations: 108.9 kB / 1.372 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/1.071, allocations: 11.94 kB / 1.372 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/1.071, allocations: 208 kB / 1.372 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.071, allocations: 180.9 kB / 1.372 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/1.071, allocations: 184.2 kB / 1.373 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/1.071, allocations: 184.2 kB / 1.373 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.071, allocations: 416.9 kB / 1.373 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.071, allocations: 108.9 kB / 1.373 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/1.071, allocations: 104.8 kB / 1.373 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/1.071, allocations: 180.2 kB / 1.374 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.071, allocations: 184.1 kB / 1.374 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.339e-05/1.071, allocations: 176.3 kB / 1.374 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-05/1.071, allocations: 188.2 kB / 1.374 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.185e-05/1.071, allocations: 306.9 kB / 1.374 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/1.071, allocations: 214.6 kB / 1.375 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/1.071, allocations: 184.7 kB / 1.375 GB, free: 1.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/1.071, allocations: 105 kB / 1.375 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/1.072, allocations: 180.2 kB / 1.375 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.072, allocations: 104.9 kB / 1.375 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001741/1.072, allocations: 266.1 kB / 1.375 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005841/1.072, allocations: 242.8 kB / 1.376 GB, free: 1.117 MB / 0.8073 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.0006618/1.073, allocations: 442.4 kB / 1.376 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.528e-05/1.073, allocations: 73.28 kB / 1.376 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.073, allocations: 4.062 kB / 1.376 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/1.073, allocations: 0 / 1.376 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/1.073, allocations: 0.524 MB / 1.377 GB, free: 104 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/1.074, allocations: 190.9 kB / 1.377 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/1.074, allocations: 0.7227 MB / 1.378 GB, free: 15.14 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/1.074, allocations: 3.938 kB / 1.378 GB, free: 15.14 MB / 0.823 GB Notification: Performance of Templates: time 0.008112/1.082, allocations: 4.288 MB / 1.382 GB, free: 10.93 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1