Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008174/0.0008175, allocations: 87.31 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.827e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6463, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.8543, allocations: 150.5 MB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.8547, allocations: 124.5 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/0.8778, allocations: 8.301 MB / 1.129 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8778, allocations: 0 / 1.129 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.8778, allocations: 4 kB / 1.129 GB, free: 7.34 MB / 0.7292 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.000756/0.8786, allocations: 0.5522 MB / 1.129 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8786, allocations: 12.03 kB / 1.129 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.8787, allocations: 23.62 kB / 1.129 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.8789, allocations: 221.6 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.879, allocations: 7.984 kB / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.879, allocations: 2.625 kB / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.8791, allocations: 77.27 kB / 1.129 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.8793, allocations: 105.7 kB / 1.129 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8793, allocations: 4 kB / 1.129 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8793, allocations: 0 / 1.129 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8793, allocations: 0 / 1.129 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.8796, allocations: 242.4 kB / 1.13 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.8798, allocations: 123.3 kB / 1.13 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.8799, allocations: 108.8 kB / 1.13 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.8799, allocations: 8 kB / 1.13 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.8799, allocations: 30.56 kB / 1.13 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.88, allocations: 0 / 1.13 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0003397/0.8803, allocations: 226.3 kB / 1.13 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.8803, allocations: 51.41 kB / 1.13 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.8805, allocations: 216.5 kB / 1.13 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8806, allocations: 27.48 kB / 1.13 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.8807, allocations: 132.7 kB / 1.131 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.8807, allocations: 102.5 kB / 1.131 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.8808, allocations: 0 / 1.131 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8809, allocations: 342.8 kB / 1.131 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.881, allocations: 79.89 kB / 1.131 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.8811, allocations: 79.89 kB / 1.131 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.8812, allocations: 103.9 kB / 1.131 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8812, allocations: 0 / 1.131 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002441/0.8814, allocations: 225.3 kB / 1.131 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8815, allocations: 4 kB / 1.131 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8815, allocations: 8.047 kB / 1.132 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8815, allocations: 4 kB / 1.132 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.8815, allocations: 0 / 1.132 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.8815, allocations: 0 / 1.132 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.8816, allocations: 11.78 kB / 1.132 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.8816, allocations: 4 kB / 1.132 GB, free: 4.059 MB / 0.7292 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 7.296e-05/0.8817, allocations: 101 kB / 1.132 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.8817, allocations: 27.58 kB / 1.132 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.8822, allocations: 0.5796 MB / 1.132 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.48e-05/0.8823, allocations: 176.3 kB / 1.132 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.8823, allocations: 176.3 kB / 1.133 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/0.8824, allocations: 184.2 kB / 1.133 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.8828, allocations: 0.5208 MB / 1.133 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/0.8828, allocations: 105.7 kB / 1.133 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.8829, allocations: 108.9 kB / 1.133 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.287e-05/0.8829, allocations: 180.2 kB / 1.134 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.883, allocations: 184.2 kB / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.657e-05/0.8831, allocations: 180.2 kB / 1.134 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-05/0.8832, allocations: 184.3 kB / 1.134 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.8834, allocations: 331.4 kB / 1.134 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.8837, allocations: 357.6 kB / 1.135 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.8839, allocations: 176.3 kB / 1.135 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.884, allocations: 112.9 kB / 1.135 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.8841, allocations: 176.3 kB / 1.135 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.8841, allocations: 105 kB / 1.135 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001081/0.8852, allocations: 1.117 MB / 1.136 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8852, allocations: 0 / 1.136 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000884/0.8861, allocations: 299.6 kB / 1.137 GB, free: 14.45 MB / 0.7448 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.0007534/0.8869, allocations: 441.2 kB / 1.137 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.8871, allocations: 189.6 kB / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8871, allocations: 0 / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.8871, allocations: 3.938 kB / 1.137 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.8875, allocations: 0.5337 MB / 1.138 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.8879, allocations: 365.7 kB / 1.138 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.8882, allocations: 0.7587 MB / 1.139 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.8883, allocations: 7.984 kB / 1.139 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.8883, allocations: 7.438 kB / 1.139 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8883, allocations: 4 kB / 1.139 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.007552/0.8958, allocations: 4.46 MB / 1.143 GB, free: 7.707 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_8_Buildings.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_8_Buildings.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:310: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: *** [: Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1