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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 253.2 MB / 260.6 MB, free: 7.48 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.001454/0.001454, allocations: 183.4 kB / 319.9 MB, free: 3.027 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 1.979/1.979, allocations: 205.5 MB / 0.5708 GB, free: 15.24 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.001437/0.001437, allocations: 98.62 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.056e-05, allocations: 8 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 106.3 MB / 0.8887 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.084, allocations: 152.3 MB / 1.037 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004239/1.084, allocations: 119.6 kB / 1.038 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07465/1.159, allocations: 14.59 MB / 1.052 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/1.159, allocations: 0 / 1.052 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.159, allocations: 0 / 1.052 GB, free: 4.574 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.001145/1.16, allocations: 0.5499 MB / 1.052 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.16, allocations: 8.031 kB / 1.052 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/1.16, allocations: 95.45 kB / 1.052 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/1.16, allocations: 250.2 kB / 1.053 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/1.161, allocations: 150.6 kB / 1.053 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/1.161, allocations: 150.6 kB / 1.053 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.4e-05/1.161, allocations: 150.6 kB / 1.053 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.334e-05/1.161, allocations: 101 kB / 1.053 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/1.161, allocations: 83.28 kB / 1.053 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/1.161, allocations: 150.6 kB / 1.053 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/1.161, allocations: 162.6 kB / 1.054 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/1.161, allocations: 440.8 kB / 1.054 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/1.161, allocations: 169.1 kB / 1.054 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/1.161, allocations: 80.14 kB / 1.054 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.162, allocations: 75.28 kB / 1.054 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.162, allocations: 108.9 kB / 1.054 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/1.162, allocations: 0 / 1.054 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.711e-05/1.162, allocations: 33.64 kB / 1.054 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.162, allocations: 55.41 kB / 1.055 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.162, allocations: 117.5 kB / 1.055 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.162, allocations: 33.62 kB / 1.055 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/1.162, allocations: 89.95 kB / 1.055 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/1.162, allocations: 0 / 1.055 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.162, allocations: 0 / 1.055 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.162, allocations: 318.1 kB / 1.055 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/1.162, allocations: 11.11 kB / 1.055 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/1.162, allocations: 4 kB / 1.055 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/1.162, allocations: 11.97 kB / 1.055 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.162, allocations: 0 / 1.055 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001717/1.163, allocations: 48.69 kB / 1.055 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.163, allocations: 4 kB / 1.055 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.163, allocations: 4 kB / 1.055 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.163, allocations: 0 / 1.055 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-06/1.163, allocations: 3.938 kB / 1.055 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.163, allocations: 0 / 1.055 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/1.163, allocations: 3.906 kB / 1.055 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.163, allocations: 4 kB / 1.055 GB, free: 1 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.0001267/1.163, allocations: 188.2 kB / 1.055 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/1.163, allocations: 109 kB / 1.055 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/1.163, allocations: 112.4 kB / 1.056 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/1.163, allocations: 180.2 kB / 1.056 GB, free: 404 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-05/1.163, allocations: 180.3 kB / 1.056 GB, free: 216 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.202e-05/1.163, allocations: 180.3 kB / 1.056 GB, free: 28 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/1.164, allocations: 392.6 kB / 1.056 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/1.164, allocations: 112.9 kB / 1.057 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/1.164, allocations: 101 kB / 1.057 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/1.164, allocations: 180.2 kB / 1.057 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/1.164, allocations: 184.3 kB / 1.057 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/1.164, allocations: 180.3 kB / 1.057 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.399e-05/1.164, allocations: 188.2 kB / 1.057 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/1.164, allocations: 302.7 kB / 1.058 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.164, allocations: 189.9 kB / 1.058 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.165, allocations: 188.2 kB / 1.058 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.165, allocations: 101 kB / 1.058 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.165, allocations: 183.5 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/1.165, allocations: 101 kB / 1.058 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.703e-05/1.165, allocations: 96.61 kB / 1.058 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.165, allocations: 0 / 1.058 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00136/1.166, allocations: 317 kB / 1.059 GB, free: 13.14 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.001871/1.168, allocations: 0.5727 MB / 1.059 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001374/1.168, allocations: 37.16 kB / 1.059 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.168, allocations: 0 / 1.059 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/1.168, allocations: 0 / 1.059 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/1.169, allocations: 0.5316 MB / 1.06 GB, free: 12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/1.169, allocations: 145.9 kB / 1.06 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.169, allocations: 0.6885 MB / 1.061 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.765e-05/1.169, allocations: 0 / 1.061 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/1.169, allocations: 7.438 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/1.169, allocations: 4 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.0148/1.184, allocations: 5.296 MB / 1.066 GB, free: 5.871 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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.InternalResistancesOneUTubeNegative_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'