Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 183.8 kB / 7.797 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4463/0.4463, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 221.4 MB / 342.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009856/0.0009856, allocations: 95.48 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.033e-05, allocations: 8 kB / 493.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 72.29 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4418, allocations: 113.1 MB / 0.6634 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.4421, allocations: 119.4 kB / 0.6635 GB, free: 11.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02273/0.4649, allocations: 7.76 MB / 0.6711 GB, free: 3.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4649, allocations: 4 kB / 0.6711 GB, free: 3.641 MB / 490.7 MB 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.0005052/0.4654, allocations: 481.9 kB / 0.6716 GB, free: 3.121 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4655, allocations: 12.03 kB / 0.6716 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.4655, allocations: 7.812 kB / 0.6716 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.4657, allocations: 187.4 kB / 0.6718 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4658, allocations: 0 / 0.6718 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4658, allocations: 0 / 0.6718 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.084e-05/0.4659, allocations: 27.98 kB / 0.6718 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.466, allocations: 64.16 kB / 0.6719 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.466, allocations: 0 / 0.6719 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.466, allocations: 0 / 0.6719 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4661, allocations: 7.906 kB / 0.6719 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.4662, allocations: 162.2 kB / 0.672 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.4663, allocations: 43.78 kB / 0.6721 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.4664, allocations: 36.88 kB / 0.6721 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.4664, allocations: 3.938 kB / 0.6721 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4664, allocations: 30.56 kB / 0.6721 GB, free: 2.445 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.4664, allocations: 3.938 kB / 0.6721 GB, free: 2.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002237/0.4667, allocations: 109.6 kB / 0.6722 GB, free: 2.328 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4667, allocations: 55.41 kB / 0.6723 GB, free: 2.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4668, allocations: 136.8 kB / 0.6724 GB, free: 2.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4669, allocations: 25.7 kB / 0.6724 GB, free: 2.086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.4669, allocations: 84.14 kB / 0.6725 GB, free: 2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4669, allocations: 27.64 kB / 0.6726 GB, free: 1.973 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4669, allocations: 0 / 0.6726 GB, free: 1.973 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4671, allocations: 326.7 kB / 0.6729 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.4671, allocations: 32.67 kB / 0.6729 GB, free: 1.613 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.4671, allocations: 19.98 kB / 0.6729 GB, free: 1.594 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.4672, allocations: 31.98 kB / 0.6729 GB, free: 1.562 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4672, allocations: 0 / 0.6729 GB, free: 1.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001263/0.4673, allocations: 105.5 kB / 0.673 GB, free: 1.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4673, allocations: 4 kB / 0.673 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4674, allocations: 0 / 0.673 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4674, allocations: 0.6562 kB / 0.673 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4674, allocations: 4 kB / 0.6731 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4674, allocations: 0 / 0.6731 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.4675, allocations: 15.91 kB / 0.6731 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4675, allocations: 0 / 0.6731 GB, free: 1.43 MB / 490.7 MB 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.503e-05/0.4675, allocations: 105 kB / 0.6732 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4676, allocations: 7.906 kB / 0.6732 GB, free: 1.312 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.4678, allocations: 211.2 kB / 0.6734 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.4678, allocations: 181 kB / 0.6735 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.03e-05/0.4679, allocations: 180.3 kB / 0.6737 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/0.468, allocations: 176.3 kB / 0.6739 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.4682, allocations: 429.6 kB / 0.6743 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.4683, allocations: 105 kB / 0.6744 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.4683, allocations: 101 kB / 0.6745 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-05/0.4683, allocations: 184.2 kB / 0.6747 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.4684, allocations: 180.8 kB / 0.6748 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-05/0.4685, allocations: 184.2 kB / 0.675 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-05/0.4685, allocations: 176.3 kB / 0.6752 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001306/0.4687, allocations: 315.6 kB / 0.6755 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4688, allocations: 218 kB / 0.6757 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4689, allocations: 180.2 kB / 0.6759 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.469, allocations: 107.7 kB / 0.676 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.4691, allocations: 180.2 kB / 0.6761 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4691, allocations: 105 kB / 0.6762 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002465/0.4693, allocations: 264.2 kB / 0.6765 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006297/0.47, allocations: 251.6 kB / 0.6767 GB, free: 13.45 MB / 0.4948 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.0007278/0.4707, allocations: 440.2 kB / 0.6772 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4708, allocations: 65.98 kB / 0.6772 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4708, allocations: 0 / 0.6772 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.4709, allocations: 0 / 0.6772 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4712, allocations: 0.5419 MB / 0.6777 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.4715, allocations: 189.1 kB / 0.6779 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.4717, allocations: 0.7149 MB / 0.6786 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.4717, allocations: 2.719 kB / 0.6786 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.008541/0.4803, allocations: 4.276 MB / 0.6828 GB, free: 7.242 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:620: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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1