Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.583/2.583, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 188.8 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001052, allocations: 93.53 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.38e-05, allocations: 4 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7945, allocations: 115.2 MB / 0.9635 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/1.065, allocations: 158.4 MB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004285/1.066, allocations: 122.8 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07629/1.142, allocations: 14.89 MB / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/1.142, allocations: 0 / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.142, allocations: 0 / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001119/1.143, allocations: 0.5566 MB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.143, allocations: 17.7 kB / 1.133 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/1.143, allocations: 83.17 kB / 1.134 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.143, allocations: 250.2 kB / 1.134 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/1.143, allocations: 150.6 kB / 1.134 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/1.143, allocations: 154.6 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.135e-05/1.144, allocations: 150.6 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.717e-05/1.144, allocations: 105 kB / 1.134 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/1.144, allocations: 75.28 kB / 1.134 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/1.144, allocations: 150.6 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/1.144, allocations: 154.5 kB / 1.135 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/1.144, allocations: 450.4 kB / 1.135 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/1.144, allocations: 169.1 kB / 1.135 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/1.144, allocations: 80.14 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/1.144, allocations: 79.27 kB / 1.135 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.144, allocations: 112 kB / 1.135 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.013e-06/1.144, allocations: 0 / 1.135 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.233e-05/1.144, allocations: 41.55 kB / 1.136 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.145, allocations: 55.41 kB / 1.136 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.145, allocations: 119.6 kB / 1.136 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.145, allocations: 29.64 kB / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/1.145, allocations: 88.14 kB / 1.136 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/1.145, allocations: 0 / 1.136 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.145, allocations: 0 / 1.136 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.145, allocations: 318.8 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/1.145, allocations: 8 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/1.145, allocations: 8 kB / 1.136 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.364e-05/1.145, allocations: 11.95 kB / 1.136 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.145, allocations: 0 / 1.136 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/1.145, allocations: 49.59 kB / 1.136 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.145, allocations: 8 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.145, allocations: 4 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.145, allocations: 0 / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/1.145, allocations: 0 / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.145, allocations: 3.938 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/1.145, allocations: 7.969 kB / 1.136 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.145, allocations: 0 / 1.136 GB, free: 11.4 MB / 0.7448 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 9.669e-05/1.146, allocations: 188 kB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.146, allocations: 105 kB / 1.136 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/1.146, allocations: 114 kB / 1.137 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.595e-05/1.146, allocations: 180.2 kB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.283e-05/1.146, allocations: 180.3 kB / 1.137 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-05/1.146, allocations: 181.9 kB / 1.137 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/1.146, allocations: 397.7 kB / 1.137 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/1.146, allocations: 108.4 kB / 1.138 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/1.146, allocations: 105 kB / 1.138 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-05/1.146, allocations: 184.2 kB / 1.138 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/1.147, allocations: 184.3 kB / 1.138 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.339e-05/1.147, allocations: 180.2 kB / 1.138 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.728e-05/1.147, allocations: 184.2 kB / 1.138 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/1.147, allocations: 303.7 kB / 1.139 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/1.147, allocations: 193.9 kB / 1.139 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/1.147, allocations: 184.2 kB / 1.139 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/1.147, allocations: 103.4 kB / 1.139 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/1.147, allocations: 181.1 kB / 1.139 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.147, allocations: 101 kB / 1.139 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.635e-05/1.147, allocations: 103.2 kB / 1.14 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.61e-07/1.147, allocations: 4 kB / 1.14 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001396/1.149, allocations: 327.5 kB / 1.14 GB, free: 7.48 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.001796/1.151, allocations: 0.564 MB / 1.14 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001401/1.151, allocations: 42.02 kB / 1.14 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.151, allocations: 1.781 kB / 1.14 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/1.151, allocations: 0 / 1.14 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.151, allocations: 0.5302 MB / 1.141 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/1.151, allocations: 151.3 kB / 1.141 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/1.152, allocations: 0.6846 MB / 1.142 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.702e-05/1.152, allocations: 4 kB / 1.142 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/1.152, allocations: 11.44 kB / 1.142 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/1.152, allocations: 0 / 1.142 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.01514/1.167, allocations: 5.434 MB / 1.147 GB, free: 76 kB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile b'clang -Os -fPIC -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_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.c\nclang -Os -fPIC -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_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:817: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.\n: recipe for target \'Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'