Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7541/0.7541, allocations: 141.8 MB / 149.1 MB, free: 12.09 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 184.3 kB / 181.9 MB, free: 8.848 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 436 MB, free: 1.086 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.22 kB / 0.507 GB, free: 10.08 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 273.5 kB / 0.5884 GB, free: 6.902 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.418e-06, allocations: 4 kB / 0.676 GB, free: 13.21 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4383, allocations: 82.78 MB / 0.7568 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5601, allocations: 120.2 MB / 0.8742 GB, free: 17.69 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5604, allocations: 116.4 kB / 0.8743 GB, free: 17.58 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.02128/0.5817, allocations: 8.231 MB / 0.8824 GB, free: 9.379 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5817, allocations: 0 / 0.8824 GB, free: 9.379 MB / 0.5575 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.0004445/0.5822, allocations: 0.5561 MB / 0.8829 GB, free: 8.777 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5822, allocations: 8.031 kB / 0.8829 GB, free: 8.77 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.5823, allocations: 23.62 kB / 0.8829 GB, free: 8.746 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.5825, allocations: 221.7 kB / 0.8831 GB, free: 8.492 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.5825, allocations: 0 / 0.8831 GB, free: 8.492 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.5826, allocations: 3.906 kB / 0.8831 GB, free: 8.488 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/0.5827, allocations: 79.91 kB / 0.8832 GB, free: 8.41 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5828, allocations: 117.6 kB / 0.8833 GB, free: 8.289 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5828, allocations: 0 / 0.8833 GB, free: 8.289 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5828, allocations: 0 / 0.8833 GB, free: 8.289 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5829, allocations: 0 / 0.8833 GB, free: 8.289 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.5831, allocations: 238.5 kB / 0.8836 GB, free: 8.016 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5832, allocations: 130.5 kB / 0.8837 GB, free: 7.879 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.5833, allocations: 108.9 kB / 0.8838 GB, free: 7.77 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.5833, allocations: 3.984 kB / 0.8838 GB, free: 7.766 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.5833, allocations: 34.55 kB / 0.8838 GB, free: 7.723 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=32): time 9.31e-07/0.5833, allocations: 4 kB / 0.8838 GB, free: 7.719 MB / 0.5575 GB Notification: Performance of matching and sorting (n=32): time 0.0003251/0.5837, allocations: 317.8 kB / 0.8841 GB, free: 7.402 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.5837, allocations: 51.41 kB / 0.8842 GB, free: 7.34 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.5839, allocations: 228.3 kB / 0.8844 GB, free: 7.113 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.5839, allocations: 25.7 kB / 0.8844 GB, free: 7.082 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.5839, allocations: 96.78 kB / 0.8845 GB, free: 6.984 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.584, allocations: 106.4 kB / 0.8846 GB, free: 6.879 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.584, allocations: 0 / 0.8846 GB, free: 6.879 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.584, allocations: 346.7 kB / 0.8849 GB, free: 6.531 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.5841, allocations: 75.97 kB / 0.885 GB, free: 6.457 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.5842, allocations: 79.95 kB / 0.8851 GB, free: 6.379 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.5843, allocations: 108.2 kB / 0.8852 GB, free: 6.273 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5843, allocations: 7.969 kB / 0.8852 GB, free: 6.266 MB / 0.5575 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002239/0.5845, allocations: 317.3 kB / 0.8855 GB, free: 5.949 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.5845, allocations: 4 kB / 0.8855 GB, free: 5.945 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.5845, allocations: 0 / 0.8855 GB, free: 5.945 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5846, allocations: 7.906 kB / 0.8855 GB, free: 5.938 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.5846, allocations: 3.938 kB / 0.8855 GB, free: 5.934 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5846, allocations: 0 / 0.8855 GB, free: 5.934 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.5846, allocations: 11.83 kB / 0.8855 GB, free: 5.922 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.5846, allocations: 4 kB / 0.8855 GB, free: 5.918 MB / 0.5575 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.333e-05/0.5847, allocations: 105 kB / 0.8856 GB, free: 5.809 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.5847, allocations: 27.62 kB / 0.8857 GB, free: 5.781 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.585, allocations: 0.5685 MB / 0.8862 GB, free: 5.109 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.5851, allocations: 177 kB / 0.8864 GB, free: 4.93 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/0.5851, allocations: 180.2 kB / 0.8866 GB, free: 4.746 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.5851, allocations: 184.3 kB / 0.8867 GB, free: 4.559 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.5854, allocations: 0.5324 MB / 0.8873 GB, free: 3.98 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.5854, allocations: 101 kB / 0.8874 GB, free: 3.875 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.5854, allocations: 101 kB / 0.8875 GB, free: 3.77 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/0.5854, allocations: 176.3 kB / 0.8876 GB, free: 3.59 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.5855, allocations: 196.2 kB / 0.8878 GB, free: 3.391 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/0.5855, allocations: 184.2 kB / 0.888 GB, free: 3.203 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-05/0.5855, allocations: 180.2 kB / 0.8882 GB, free: 3.02 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001134/0.5856, allocations: 319.5 kB / 0.8885 GB, free: 2.684 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.586, allocations: 365.4 kB / 0.8888 GB, free: 2.301 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.5861, allocations: 189.5 kB / 0.889 GB, free: 2.109 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5863, allocations: 101 kB / 0.8891 GB, free: 2.004 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5864, allocations: 184.2 kB / 0.8893 GB, free: 1.816 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5864, allocations: 101 kB / 0.8894 GB, free: 1.711 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0009224/0.5873, allocations: 1.145 MB / 0.8905 GB, free: 0.5625 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.000626/0.5879, allocations: 299.7 kB / 0.8908 GB, free: 276 kB / 0.5575 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.0007434/0.5887, allocations: 448.9 kB / 0.8912 GB, free: 15.82 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.5889, allocations: 181.9 kB / 0.8914 GB, free: 15.63 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5889, allocations: 0 / 0.8914 GB, free: 15.63 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.5889, allocations: 0 / 0.8914 GB, free: 15.63 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.5893, allocations: 0.5457 MB / 0.8919 GB, free: 15.09 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.5898, allocations: 355.7 kB / 0.8922 GB, free: 14.71 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.5901, allocations: 0.7737 MB / 0.893 GB, free: 13.91 MB / 0.5732 GB Notification: Performance of SimCode: time 2.61e-07/0.5901, allocations: 0 / 0.893 GB, free: 13.91 MB / 0.5732 GB Notification: Performance of Templates: time 0.007876/0.598, allocations: 4.571 MB / 0.8975 GB, free: 9.418 MB / 0.5732 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1