Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.56/1.56, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00108/0.00108, allocations: 188.2 kB / 361.4 MB, free: 6.828 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.381/1.381, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0007737/0.0007737, allocations: 99.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.573e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6391, allocations: 115.3 MB / 0.9644 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.8345, allocations: 149.5 MB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.8349, allocations: 122.7 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02356/0.8584, allocations: 8.302 MB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8585, allocations: 0 / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.8585, allocations: 4 kB / 1.119 GB, free: 13.91 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.0006911/0.8592, allocations: 0.5484 MB / 1.119 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.8593, allocations: 8.031 kB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.8593, allocations: 24.66 kB / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.8596, allocations: 221.6 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.8596, allocations: 2.438 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.8596, allocations: 0 / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001237/0.8598, allocations: 79.95 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.8599, allocations: 109.6 kB / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8599, allocations: 0 / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.86, allocations: 4 kB / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.86, allocations: 0 / 1.12 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.8603, allocations: 242.4 kB / 1.12 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.8604, allocations: 119.3 kB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8605, allocations: 112.8 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.8606, allocations: 0 / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.8606, allocations: 34.56 kB / 1.12 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 8.32e-07/0.8606, allocations: 0 / 1.12 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0003461/0.861, allocations: 229.7 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.861, allocations: 51.41 kB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.8612, allocations: 220.5 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.8612, allocations: 25.7 kB / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.8613, allocations: 124.7 kB / 1.121 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.8614, allocations: 106.5 kB / 1.121 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.8614, allocations: 0 / 1.121 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8615, allocations: 338.8 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.8616, allocations: 79.95 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.8617, allocations: 80.42 kB / 1.121 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.8618, allocations: 107.9 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8619, allocations: 0 / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002637/0.8621, allocations: 221.3 kB / 1.122 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8622, allocations: 5.594 kB / 1.122 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.8622, allocations: 10.42 kB / 1.122 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8622, allocations: 0 / 1.122 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.8622, allocations: 3.938 kB / 1.122 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.8622, allocations: 4.062 kB / 1.122 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.8623, allocations: 15.78 kB / 1.122 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.8623, allocations: 4 kB / 1.122 GB, free: 10.64 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.174e-05/0.8624, allocations: 101.5 kB / 1.122 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.8624, allocations: 27.58 kB / 1.122 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.8629, allocations: 0.5627 MB / 1.122 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/0.863, allocations: 184.3 kB / 1.123 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.027e-05/0.863, allocations: 184.2 kB / 1.123 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.8631, allocations: 180.3 kB / 1.123 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.8635, allocations: 0.513 MB / 1.123 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/0.8635, allocations: 109.6 kB / 1.123 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.8636, allocations: 105 kB / 1.124 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-05/0.8637, allocations: 180.2 kB / 1.124 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.8637, allocations: 193.5 kB / 1.124 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.861e-05/0.8638, allocations: 176.3 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.624e-05/0.8639, allocations: 180.2 kB / 1.124 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.8641, allocations: 335.4 kB / 1.125 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.8645, allocations: 357.5 kB / 1.125 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.8646, allocations: 182.5 kB / 1.125 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.8648, allocations: 108.9 kB / 1.125 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.8649, allocations: 180.2 kB / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.8649, allocations: 105 kB / 1.125 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001192/0.8661, allocations: 1.114 MB / 1.127 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8661, allocations: 0 / 1.127 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008143/0.8669, allocations: 307.6 kB / 1.127 GB, free: 5.031 MB / 0.7292 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.0009813/0.8679, allocations: 451 kB / 1.127 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.8681, allocations: 181.6 kB / 1.127 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8681, allocations: 0 / 1.127 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.8681, allocations: 4.062 kB / 1.127 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.8686, allocations: 0.5385 MB / 1.128 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.8691, allocations: 361.6 kB / 1.128 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.8695, allocations: 0.7593 MB / 1.129 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.8695, allocations: 4 kB / 1.129 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.8695, allocations: 11.44 kB / 1.129 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8695, allocations: 0 / 1.129 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of Templates: time 0.008593/0.8781, allocations: 4.464 MB / 1.133 GB, free: 14.3 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile b'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_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c\nclang -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_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c\nBuildings_maint.8.0.x_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\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1\n'