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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, 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.00146/0.00146, allocations: 173 kB / 319.9 MB, free: 3.051 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.13/2.13, 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.0011/0.0011, allocations: 94.58 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.522e-05, allocations: 8 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.2 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8849/1.09, allocations: 153 MB / 1.038 GB, free: 392 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004562/1.09, allocations: 118.8 kB / 1.038 GB, free: 312 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07543/1.166, allocations: 14.9 MB / 1.053 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.924e-06/1.166, allocations: 0 / 1.053 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.166, allocations: 4 kB / 1.053 GB, free: 3.652 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.001176/1.167, allocations: 0.5582 MB / 1.053 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.167, allocations: 8.031 kB / 1.053 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/1.167, allocations: 83.45 kB / 1.053 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/1.167, allocations: 256.5 kB / 1.054 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/1.167, allocations: 150.6 kB / 1.054 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/1.167, allocations: 154.4 kB / 1.054 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.784e-05/1.168, allocations: 158.5 kB / 1.054 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/1.168, allocations: 101 kB / 1.054 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/1.168, allocations: 75.28 kB / 1.054 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/1.168, allocations: 158.5 kB / 1.054 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.733e-05/1.168, allocations: 154.5 kB / 1.055 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/1.168, allocations: 445 kB / 1.055 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.168, allocations: 169.1 kB / 1.055 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/1.168, allocations: 87.58 kB / 1.055 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/1.169, allocations: 75.28 kB / 1.055 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/1.169, allocations: 109.8 kB / 1.055 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/1.169, allocations: 0 / 1.055 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.594e-05/1.169, allocations: 33.61 kB / 1.056 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.169, allocations: 51.41 kB / 1.056 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/1.169, allocations: 114 kB / 1.056 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.169, allocations: 25.7 kB / 1.056 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/1.169, allocations: 95 kB / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.169, allocations: 0 / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.169, allocations: 0 / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.169, allocations: 325.8 kB / 1.056 GB, free: 164 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/1.169, allocations: 11.69 kB / 1.056 GB, free: 156 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/1.169, allocations: 3.938 kB / 1.056 GB, free: 152 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/1.169, allocations: 15.55 kB / 1.056 GB, free: 140 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.169, allocations: 0 / 1.056 GB, free: 140 kB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/1.17, allocations: 52.92 kB / 1.056 GB, free: 84 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.17, allocations: 4 kB / 1.056 GB, free: 80 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/1.17, allocations: 4 kB / 1.056 GB, free: 76 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.17, allocations: 0 / 1.056 GB, free: 76 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/1.17, allocations: 4.062 kB / 1.056 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/1.17, allocations: 0 / 1.056 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/1.17, allocations: 0 / 1.056 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.17, allocations: 7.984 kB / 1.056 GB, free: 64 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.0001257/1.17, allocations: 180.2 kB / 1.056 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/1.17, allocations: 112.8 kB / 1.056 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/1.17, allocations: 105 kB / 1.057 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/1.17, allocations: 180.3 kB / 1.057 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-05/1.17, allocations: 191.5 kB / 1.057 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/1.17, allocations: 176.3 kB / 1.057 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/1.171, allocations: 385.2 kB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/1.171, allocations: 112.9 kB / 1.058 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/1.171, allocations: 104 kB / 1.058 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.575e-05/1.171, allocations: 184.2 kB / 1.058 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/1.171, allocations: 184.2 kB / 1.058 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.517e-05/1.171, allocations: 180.3 kB / 1.058 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-05/1.171, allocations: 176.3 kB / 1.058 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/1.171, allocations: 318.5 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/1.171, allocations: 186 kB / 1.059 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/1.171, allocations: 180.2 kB / 1.059 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/1.171, allocations: 101 kB / 1.059 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/1.172, allocations: 183.7 kB / 1.059 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/1.172, allocations: 112.9 kB / 1.059 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.619e-05/1.172, allocations: 95.12 kB / 1.059 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.172, allocations: 0 / 1.059 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001405/1.173, allocations: 333.8 kB / 1.06 GB, free: 12.18 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.001722/1.175, allocations: 0.5614 MB / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000135/1.175, allocations: 40.28 kB / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.175, allocations: 4.062 kB / 1.06 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.175, allocations: 4 kB / 1.06 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/1.175, allocations: 0.525 MB / 1.061 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/1.176, allocations: 147.1 kB / 1.061 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.176, allocations: 0.6885 MB / 1.062 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.856e-05/1.176, allocations: 4 kB / 1.062 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/1.176, allocations: 7.438 kB / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/1.176, allocations: 0 / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.01567/1.192, allocations: 5.445 MB / 1.067 GB, free: 4.781 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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.InternalResistancesTwoUTubeNegative_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'