Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.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 7.0.1/package.mo): time 2.221/2.221, allocations: 253.1 MB / 260.6 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 185.7 kB / 319.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001544/0.001543, allocations: 90.64 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.118e-05, allocations: 11.94 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1923, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8927/1.085, allocations: 153 MB / 1.038 GB, free: 436 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004351/1.086, allocations: 125.9 kB / 1.038 GB, free: 352 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0752/1.161, allocations: 14.91 MB / 1.053 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.513e-06/1.161, allocations: 0 / 1.053 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.161, allocations: 0 / 1.053 GB, free: 3.688 MB / 0.6667 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.001108/1.162, allocations: 0.5561 MB / 1.053 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.162, allocations: 8.031 kB / 1.053 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/1.162, allocations: 91.44 kB / 1.053 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/1.162, allocations: 246.2 kB / 1.054 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/1.162, allocations: 153.8 kB / 1.054 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/1.162, allocations: 150.6 kB / 1.054 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.382e-05/1.163, allocations: 154.6 kB / 1.054 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.17e-05/1.163, allocations: 104.9 kB / 1.054 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/1.163, allocations: 75.28 kB / 1.054 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/1.163, allocations: 154.6 kB / 1.054 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/1.163, allocations: 154.5 kB / 1.055 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/1.163, allocations: 445.3 kB / 1.055 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/1.163, allocations: 168.3 kB / 1.055 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/1.163, allocations: 80.14 kB / 1.055 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/1.163, allocations: 79.22 kB / 1.055 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/1.163, allocations: 109.8 kB / 1.055 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 2.215e-06/1.163, allocations: 4 kB / 1.055 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.412e-05/1.164, allocations: 34.45 kB / 1.056 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.164, allocations: 51.41 kB / 1.056 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.164, allocations: 116.7 kB / 1.056 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.164, allocations: 29.7 kB / 1.056 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/1.164, allocations: 85.58 kB / 1.056 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/1.164, allocations: 0 / 1.056 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/1.164, allocations: 0 / 1.056 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.164, allocations: 330.7 kB / 1.056 GB, free: 204 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/1.164, allocations: 7.562 kB / 1.056 GB, free: 200 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/1.164, allocations: 3.938 kB / 1.056 GB, free: 196 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/1.164, allocations: 11.94 kB / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.164, allocations: 0 / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/1.164, allocations: 60.03 kB / 1.056 GB, free: 124 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.164, allocations: 4 kB / 1.056 GB, free: 120 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/1.164, allocations: 4 kB / 1.056 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.164, allocations: 0 / 1.056 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/1.164, allocations: 0 / 1.056 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/1.164, allocations: 4.062 kB / 1.056 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/1.165, allocations: 3.984 kB / 1.056 GB, free: 108 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.165, allocations: 4 kB / 1.056 GB, free: 104 kB / 0.6667 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 0.000129/1.165, allocations: 180.2 kB / 1.056 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/1.165, allocations: 112.9 kB / 1.056 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/1.165, allocations: 108.9 kB / 1.057 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/1.165, allocations: 176.3 kB / 1.057 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-05/1.165, allocations: 187.6 kB / 1.057 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/1.165, allocations: 180.2 kB / 1.057 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/1.165, allocations: 393.6 kB / 1.057 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/1.165, allocations: 104.9 kB / 1.058 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/1.165, allocations: 105 kB / 1.058 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-05/1.166, allocations: 184.3 kB / 1.058 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/1.166, allocations: 184.2 kB / 1.058 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/1.166, allocations: 188.2 kB / 1.058 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/1.166, allocations: 176.3 kB / 1.058 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/1.166, allocations: 307.7 kB / 1.059 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/1.166, allocations: 193.8 kB / 1.059 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/1.166, allocations: 176.3 kB / 1.059 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.166, allocations: 104.9 kB / 1.059 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/1.166, allocations: 176.3 kB / 1.059 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/1.166, allocations: 105 kB / 1.059 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.859e-05/1.167, allocations: 99.61 kB / 1.059 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.167, allocations: 0 / 1.059 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001368/1.168, allocations: 336.5 kB / 1.06 GB, free: 12.23 MB / 0.6823 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.001647/1.17, allocations: 0.5606 MB / 1.06 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001317/1.17, allocations: 45.83 kB / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.17, allocations: 0 / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/1.17, allocations: 8.062 kB / 1.06 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/1.17, allocations: 0.521 MB / 1.061 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/1.17, allocations: 147.3 kB / 1.061 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/1.171, allocations: 0.6885 MB / 1.062 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.573e-05/1.171, allocations: 0 / 1.062 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/1.171, allocations: 11.44 kB / 1.062 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/1.171, allocations: 0 / 1.062 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.01468/1.186, allocations: 5.439 MB / 1.067 GB, free: 4.828 MB / 0.6823 GB make -j1 -f Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'