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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000903/0.0009028, allocations: 177.6 kB / 8.004 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.4836/0.4836, allocations: 90.91 MB / 99.34 MB, free: 2.215 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.393/1.393, allocations: 221.5 MB / 343.2 MB, free: 1.617 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.0008547/0.0008546, allocations: 84.03 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.534e-05, allocations: 8 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 72.32 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/0.6561, allocations: 113.2 MB / 0.6641 GB, free: 13.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.6565, allocations: 117.7 kB / 0.6642 GB, free: 13.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.679, allocations: 7.949 MB / 0.672 GB, free: 6.273 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.679, allocations: 0 / 0.672 GB, free: 6.273 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.679, allocations: 0 / 0.672 GB, free: 6.273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006415/0.6797, allocations: 492 kB / 0.6725 GB, free: 5.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6797, allocations: 8.031 kB / 0.6725 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.6798, allocations: 11.81 kB / 0.6725 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.68, allocations: 176.7 kB / 0.6727 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.68, allocations: 0 / 0.6727 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.68, allocations: 4 kB / 0.6727 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.993e-05/0.6801, allocations: 22.98 kB / 0.6727 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.6802, allocations: 61.05 kB / 0.6727 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6802, allocations: 0 / 0.6727 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6802, allocations: 3.953 kB / 0.6727 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.6802, allocations: 4 kB / 0.6727 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.6804, allocations: 165.6 kB / 0.6729 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.6805, allocations: 41.31 kB / 0.6729 GB, free: 5.195 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.6806, allocations: 39.75 kB / 0.673 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6806, allocations: 0 / 0.673 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6806, allocations: 34.56 kB / 0.673 GB, free: 5.117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.6806, allocations: 0 / 0.673 GB, free: 5.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002155/0.6808, allocations: 102.4 kB / 0.6731 GB, free: 5.016 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.6809, allocations: 51.41 kB / 0.6732 GB, free: 4.953 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.681, allocations: 130.5 kB / 0.6733 GB, free: 4.824 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.681, allocations: 29.7 kB / 0.6733 GB, free: 4.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.6811, allocations: 98 kB / 0.6734 GB, free: 4.699 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.6811, allocations: 26.55 kB / 0.6734 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.6811, allocations: 4 kB / 0.6734 GB, free: 4.672 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6812, allocations: 326.2 kB / 0.6737 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.6813, allocations: 24.03 kB / 0.6738 GB, free: 4.328 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.6813, allocations: 22.86 kB / 0.6738 GB, free: 4.309 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.6814, allocations: 39.41 kB / 0.6738 GB, free: 4.273 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6814, allocations: 0 / 0.6738 GB, free: 4.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.6815, allocations: 87.19 kB / 0.6739 GB, free: 4.188 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6815, allocations: 9.094 kB / 0.6739 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6816, allocations: 3.984 kB / 0.6739 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6816, allocations: 0 / 0.6739 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.6816, allocations: 0 / 0.6739 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.6816, allocations: 4.078 kB / 0.6739 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.6816, allocations: 11.94 kB / 0.6739 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.6817, allocations: 3.984 kB / 0.6739 GB, free: 4.156 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.204e-05/0.6817, allocations: 108.9 kB / 0.674 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.6817, allocations: 3.906 kB / 0.6741 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.6819, allocations: 206.1 kB / 0.6742 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.117e-05/0.682, allocations: 177 kB / 0.6744 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.209e-05/0.6821, allocations: 187.8 kB / 0.6746 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.253e-05/0.6821, allocations: 176.3 kB / 0.6748 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.6824, allocations: 425.7 kB / 0.6752 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.6824, allocations: 104.9 kB / 0.6753 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.6825, allocations: 101 kB / 0.6754 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-05/0.6825, allocations: 180.3 kB / 0.6755 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.6826, allocations: 184.2 kB / 0.6757 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.557e-05/0.6826, allocations: 183.8 kB / 0.6759 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-05/0.6827, allocations: 184.2 kB / 0.6761 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6828, allocations: 311.6 kB / 0.6764 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.683, allocations: 224.5 kB / 0.6766 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.6831, allocations: 180.2 kB / 0.6767 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.6832, allocations: 101 kB / 0.6768 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.6832, allocations: 180.3 kB / 0.677 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.6833, allocations: 104.9 kB / 0.6771 GB, free: 0.707 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.6835, allocations: 256 kB / 0.6774 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6835, allocations: 4 kB / 0.6774 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.6842, allocations: 245.1 kB / 0.6776 GB, free: 296 kB / 474.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.0007634/0.685, allocations: 445.5 kB / 0.678 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6851, allocations: 68.25 kB / 0.6781 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6851, allocations: 0 / 0.6781 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.6851, allocations: 0 / 0.6781 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.6855, allocations: 0.5357 MB / 0.6786 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.6857, allocations: 190.8 kB / 0.6788 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.686, allocations: 0.7079 MB / 0.6795 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.686, allocations: 0 / 0.6795 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.6861, allocations: 7.438 kB / 0.6795 GB, free: 14.31 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6861, allocations: 0 / 0.6795 GB, free: 14.31 MB / 490.7 MB Notification: Performance of Templates: time 0.007474/0.6936, allocations: 4.173 MB / 0.6836 GB, free: 10.2 MB / 490.7 MB 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 -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_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 -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_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: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_OneUTube_functions.o] Error 1