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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.513/0.513, allocations: 90.91 MB / 99.35 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 94.48 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.646e-05, allocations: 4 kB / 494.6 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 72.31 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.6586, allocations: 113.2 MB / 0.6641 GB, free: 13.13 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6589, allocations: 115.9 kB / 0.6642 GB, free: 13.05 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.6832, allocations: 8.406 MB / 0.6724 GB, free: 5.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6832, allocations: 0 / 0.6724 GB, free: 5.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.6833, allocations: 4 kB / 0.6724 GB, free: 5.832 MB / 474.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.0008566/0.6841, allocations: 0.5585 MB / 0.673 GB, free: 5.242 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6842, allocations: 8.031 kB / 0.673 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.6843, allocations: 27.64 kB / 0.673 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.6845, allocations: 217.1 kB / 0.6732 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6845, allocations: 0 / 0.6732 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.6846, allocations: 7.984 kB / 0.6732 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/0.6847, allocations: 77.77 kB / 0.6733 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6848, allocations: 104.7 kB / 0.6734 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.6849, allocations: 0 / 0.6734 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6849, allocations: 3.953 kB / 0.6734 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.6849, allocations: 3.938 kB / 0.6734 GB, free: 4.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.6852, allocations: 245.5 kB / 0.6737 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.6853, allocations: 118.1 kB / 0.6738 GB, free: 4.453 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.6854, allocations: 122.2 kB / 0.6739 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6855, allocations: 0 / 0.6739 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.6855, allocations: 34.56 kB / 0.6739 GB, free: 4.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/0.6855, allocations: 0 / 0.6739 GB, free: 4.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003588/0.6859, allocations: 222 kB / 0.6741 GB, free: 4.137 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.6859, allocations: 51.41 kB / 0.6742 GB, free: 4.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.6861, allocations: 216.4 kB / 0.6744 GB, free: 3.883 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6861, allocations: 25.73 kB / 0.6744 GB, free: 3.852 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.6862, allocations: 135.9 kB / 0.6745 GB, free: 3.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6864, allocations: 103.7 kB / 0.6746 GB, free: 3.656 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.6864, allocations: 0 / 0.6746 GB, free: 3.656 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6865, allocations: 340 kB / 0.675 GB, free: 3.324 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.6866, allocations: 80.95 kB / 0.675 GB, free: 3.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.6867, allocations: 73.77 kB / 0.6751 GB, free: 3.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.6868, allocations: 101.6 kB / 0.6752 GB, free: 3.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6868, allocations: 3.938 kB / 0.6752 GB, free: 3.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002534/0.6871, allocations: 225.5 kB / 0.6754 GB, free: 2.918 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6871, allocations: 4 kB / 0.6754 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.6871, allocations: 7.984 kB / 0.6754 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6872, allocations: 0 / 0.6754 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-06/0.6872, allocations: 0 / 0.6754 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6872, allocations: 0 / 0.6754 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.6872, allocations: 21.81 kB / 0.6755 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.6873, allocations: 4 kB / 0.6755 GB, free: 2.883 MB / 474.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 7.775e-05/0.6874, allocations: 104.9 kB / 0.6756 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.6874, allocations: 19.72 kB / 0.6756 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.6879, allocations: 0.5744 MB / 0.6761 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-05/0.6879, allocations: 177 kB / 0.6763 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.561e-05/0.688, allocations: 184.2 kB / 0.6765 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/0.6881, allocations: 180.2 kB / 0.6767 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.6885, allocations: 0.5317 MB / 0.6772 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.092e-05/0.6885, allocations: 101 kB / 0.6773 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.6886, allocations: 108.9 kB / 0.6774 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.437e-05/0.6886, allocations: 180.3 kB / 0.6776 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.6887, allocations: 176.3 kB / 0.6777 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.633e-05/0.6888, allocations: 184.2 kB / 0.6779 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-05/0.6888, allocations: 176.3 kB / 0.6781 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.6891, allocations: 334.5 kB / 0.6784 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.6895, allocations: 354.5 kB / 0.6787 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.6896, allocations: 184.2 kB / 0.6789 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.6898, allocations: 109.8 kB / 0.679 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.6899, allocations: 179.3 kB / 0.6792 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.6899, allocations: 105 kB / 0.6793 GB, free: 14.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001069/0.691, allocations: 1.11 MB / 0.6804 GB, free: 14.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.691, allocations: 0 / 0.6804 GB, free: 14.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001043/0.692, allocations: 301.6 kB / 0.6806 GB, free: 13.82 MB / 490.7 MB 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.00123/0.6933, allocations: 450.2 kB / 0.6811 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.6935, allocations: 177.1 kB / 0.6812 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6935, allocations: 0 / 0.6812 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.6935, allocations: 0 / 0.6812 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.694, allocations: 0.543 MB / 0.6818 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.6945, allocations: 368.3 kB / 0.6821 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6948, allocations: 0.7631 MB / 0.6829 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.6949, allocations: 7.891 kB / 0.6829 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.6949, allocations: 11.44 kB / 0.6829 GB, free: 11.52 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6949, allocations: 0 / 0.6829 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Templates: time 0.009399/0.7043, allocations: 4.465 MB / 0.6872 GB, free: 7.121 MB / 490.7 MB 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 -Os -fPIC -falign-functions -mfpmath=sse -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 -Os -fPIC -falign-functions -mfpmath=sse -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:570: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