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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 184.9 kB / 7.798 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4509/0.4509, allocations: 90.85 MB / 99.07 MB, free: 14.97 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.2/1.2, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009812/0.0009808, allocations: 97.62 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.448e-06, allocations: 4 kB / 493.9 MB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 72.29 MB / 0.5529 GB, free: 73.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.421, allocations: 113.1 MB / 0.6634 GB, free: 12.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.4214, allocations: 111.9 kB / 0.6635 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02499/0.4464, allocations: 8.219 MB / 0.6716 GB, free: 4.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4465, allocations: 8 kB / 0.6716 GB, free: 4.66 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009127/0.4474, allocations: 0.5598 MB / 0.6721 GB, free: 4.055 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4474, allocations: 8.031 kB / 0.6721 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.4475, allocations: 25.03 kB / 0.6721 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4478, allocations: 221.5 kB / 0.6723 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4478, allocations: 0 / 0.6723 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.4478, allocations: 0 / 0.6723 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001277/0.448, allocations: 75.97 kB / 0.6724 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.4481, allocations: 109.7 kB / 0.6725 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4481, allocations: 4 kB / 0.6725 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4482, allocations: 0 / 0.6725 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4482, allocations: 0 / 0.6725 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.4485, allocations: 250.3 kB / 0.6728 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4486, allocations: 130.5 kB / 0.6729 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4487, allocations: 108.9 kB / 0.673 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4487, allocations: 4 kB / 0.673 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4488, allocations: 34.56 kB / 0.673 GB, free: 3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 1.183e-06/0.4488, allocations: 0 / 0.673 GB, free: 3 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004013/0.4492, allocations: 324.1 kB / 0.6733 GB, free: 2.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4492, allocations: 55.41 kB / 0.6734 GB, free: 2.613 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4494, allocations: 220.3 kB / 0.6736 GB, free: 2.395 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4495, allocations: 25.7 kB / 0.6736 GB, free: 2.363 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.4495, allocations: 96.78 kB / 0.6737 GB, free: 2.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.4496, allocations: 102.4 kB / 0.6738 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.4496, allocations: 4.031 kB / 0.6738 GB, free: 2.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4497, allocations: 346.8 kB / 0.6742 GB, free: 1.812 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.4498, allocations: 79.91 kB / 0.6742 GB, free: 1.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.4499, allocations: 79.95 kB / 0.6743 GB, free: 1.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.45, allocations: 103.9 kB / 0.6744 GB, free: 1.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.45, allocations: 0 / 0.6744 GB, free: 1.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002969/0.4503, allocations: 327.8 kB / 0.6747 GB, free: 1.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4503, allocations: 4 kB / 0.6747 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4504, allocations: 4 kB / 0.6747 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4504, allocations: 0 / 0.6747 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.4504, allocations: 4.062 kB / 0.6747 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4504, allocations: 2.188 kB / 0.6747 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.4505, allocations: 11.84 kB / 0.6747 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4505, allocations: 7.906 kB / 0.6748 GB, free: 1.199 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.617e-05/0.4506, allocations: 101 kB / 0.6748 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.4506, allocations: 19.72 kB / 0.6749 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.4511, allocations: 0.5844 MB / 0.6754 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/0.4511, allocations: 177 kB / 0.6756 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-05/0.4512, allocations: 180.3 kB / 0.6758 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/0.4513, allocations: 187.6 kB / 0.676 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.4516, allocations: 0.5169 MB / 0.6765 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.4516, allocations: 109 kB / 0.6766 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.4517, allocations: 108.8 kB / 0.6767 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-05/0.4517, allocations: 180.3 kB / 0.6768 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.4518, allocations: 180.3 kB / 0.677 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/0.4519, allocations: 180.2 kB / 0.6772 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.318e-05/0.4519, allocations: 180.2 kB / 0.6774 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001788/0.4521, allocations: 331.4 kB / 0.6777 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.4525, allocations: 354.9 kB / 0.678 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.4527, allocations: 186.5 kB / 0.6782 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4528, allocations: 104.9 kB / 0.6783 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4529, allocations: 188.2 kB / 0.6785 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.453, allocations: 101 kB / 0.6786 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00116/0.4541, allocations: 1.141 MB / 0.6797 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009304/0.4551, allocations: 307.6 kB / 0.68 GB, free: 11.55 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.001067/0.4561, allocations: 441 kB / 0.6804 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4563, allocations: 181.9 kB / 0.6806 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4564, allocations: 0 / 0.6806 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.4564, allocations: 8 kB / 0.6806 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.4568, allocations: 0.5408 MB / 0.6811 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.4573, allocations: 353.8 kB / 0.6814 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4576, allocations: 0.7772 MB / 0.6822 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/0.4576, allocations: 4 kB / 0.6822 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of Templates: time 0.008631/0.4663, allocations: 4.555 MB / 0.6867 GB, free: 4.727 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube_functions.o] Error 1