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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 253.2 MB / 260.6 MB, free: 7.449 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.001452/0.001452, allocations: 170.6 kB / 319.9 MB, free: 3.055 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.054/2.054, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001132/0.001132, allocations: 86.77 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.056e-05, allocations: 4 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.2 MB / 0.8887 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8734/1.075, allocations: 152.3 MB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/1.075, allocations: 116.6 kB / 1.038 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0749/1.15, allocations: 14.59 MB / 1.052 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/1.15, allocations: 0 / 1.052 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.15, allocations: 0 / 1.052 GB, free: 4.57 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.001241/1.151, allocations: 0.5473 MB / 1.052 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.151, allocations: 12.03 kB / 1.052 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/1.152, allocations: 87.45 kB / 1.052 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/1.152, allocations: 255 kB / 1.053 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/1.152, allocations: 150.6 kB / 1.053 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/1.152, allocations: 158.5 kB / 1.053 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.256e-05/1.152, allocations: 150.6 kB / 1.053 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.916e-05/1.152, allocations: 108.9 kB / 1.053 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/1.152, allocations: 75.28 kB / 1.053 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/1.152, allocations: 154.6 kB / 1.053 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/1.152, allocations: 154.5 kB / 1.054 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/1.153, allocations: 441.5 kB / 1.054 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/1.153, allocations: 169 kB / 1.054 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/1.153, allocations: 88.14 kB / 1.054 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/1.153, allocations: 79.22 kB / 1.054 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/1.153, allocations: 109.8 kB / 1.054 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/1.153, allocations: 0 / 1.054 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.175e-05/1.153, allocations: 29.7 kB / 1.055 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/1.153, allocations: 51.41 kB / 1.055 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.153, allocations: 119 kB / 1.055 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/1.153, allocations: 29.7 kB / 1.055 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.153, allocations: 91.81 kB / 1.055 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/1.153, allocations: 0 / 1.055 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.153, allocations: 0 / 1.055 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.153, allocations: 318.8 kB / 1.055 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/1.153, allocations: 7.75 kB / 1.055 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/1.153, allocations: 0 / 1.055 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/1.154, allocations: 11.94 kB / 1.055 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.154, allocations: 0 / 1.055 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001649/1.154, allocations: 52.97 kB / 1.055 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.154, allocations: 8 kB / 1.055 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.154, allocations: 0 / 1.055 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.154, allocations: 0 / 1.055 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/1.154, allocations: 0 / 1.055 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.154, allocations: 7.984 kB / 1.055 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/1.154, allocations: 3.906 kB / 1.055 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/1.154, allocations: 0 / 1.055 GB, free: 0.9922 MB / 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.0001062/1.154, allocations: 184.7 kB / 1.055 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/1.154, allocations: 109 kB / 1.055 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/1.154, allocations: 116.6 kB / 1.056 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/1.154, allocations: 176.3 kB / 1.056 GB, free: 400 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.647e-05/1.154, allocations: 184.2 kB / 1.056 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/1.154, allocations: 180.2 kB / 1.056 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/1.155, allocations: 393.4 kB / 1.056 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/1.155, allocations: 104.9 kB / 1.057 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/1.155, allocations: 108.7 kB / 1.057 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/1.155, allocations: 180.2 kB / 1.057 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/1.155, allocations: 188.2 kB / 1.057 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.145e-05/1.155, allocations: 180.2 kB / 1.057 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.266e-05/1.155, allocations: 181 kB / 1.057 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/1.155, allocations: 311.5 kB / 1.058 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/1.155, allocations: 190 kB / 1.058 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/1.155, allocations: 176.3 kB / 1.058 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/1.156, allocations: 108.9 kB / 1.058 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/1.156, allocations: 184.2 kB / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/1.156, allocations: 101 kB / 1.058 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.911e-05/1.156, allocations: 96.75 kB / 1.058 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.156, allocations: 0 / 1.058 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001329/1.157, allocations: 317.6 kB / 1.059 GB, free: 13.12 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.002122/1.159, allocations: 0.5633 MB / 1.059 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.159, allocations: 45.2 kB / 1.059 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.16, allocations: 0 / 1.059 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/1.16, allocations: 0 / 1.059 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/1.16, allocations: 0.5311 MB / 1.06 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/1.16, allocations: 150.5 kB / 1.06 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/1.16, allocations: 0.6846 MB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.191e-05/1.161, allocations: 0 / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/1.161, allocations: 11.44 kB / 1.061 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/1.161, allocations: 3.938 kB / 1.061 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.01537/1.176, allocations: 5.283 MB / 1.066 GB, free: 5.867 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:786: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.InternalResistancesOneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'