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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.473/2.473, allocations: 285 MB / 292.5 MB, free: 10.5 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.00228/0.002279, allocations: 184.8 kB / 360.7 MB, free: 7.215 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.93/1.93, allocations: 205.2 MB / 0.6192 GB, free: 12.12 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.001082/0.001081, allocations: 103.4 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.164e-05, allocations: 4 kB / 0.851 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8243, allocations: 115.2 MB / 0.9635 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/1.151, allocations: 157.7 MB / 1.118 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004665/1.151, allocations: 119.9 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08995/1.241, allocations: 14.57 MB / 1.132 GB, free: 84 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.241, allocations: 0 / 1.132 GB, free: 84 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.241, allocations: 0 / 1.132 GB, free: 84 kB / 0.7292 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.001584/1.243, allocations: 0.5532 MB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.243, allocations: 8.031 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/1.243, allocations: 92.81 kB / 1.132 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/1.243, allocations: 250.2 kB / 1.133 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/1.243, allocations: 150.6 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/1.243, allocations: 154.6 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/1.244, allocations: 154.5 kB / 1.133 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/1.244, allocations: 101.9 kB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/1.244, allocations: 83.28 kB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/1.244, allocations: 150.6 kB / 1.133 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/1.244, allocations: 150.6 kB / 1.134 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/1.245, allocations: 442.4 kB / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/1.245, allocations: 177.1 kB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/1.245, allocations: 80.14 kB / 1.134 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/1.245, allocations: 79.28 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/1.245, allocations: 105.8 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 3.997e-06/1.245, allocations: 0 / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001375/1.245, allocations: 33.59 kB / 1.135 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.245, allocations: 55.41 kB / 1.135 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/1.245, allocations: 121.4 kB / 1.135 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.246, allocations: 29.64 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/1.246, allocations: 88.14 kB / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/1.246, allocations: 0 / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.246, allocations: 0 / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.246, allocations: 318.8 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/1.246, allocations: 11.94 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/1.246, allocations: 0 / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/1.246, allocations: 11.95 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.246, allocations: 4.031 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002622/1.246, allocations: 49.59 kB / 1.135 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.247, allocations: 4 kB / 1.135 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/1.247, allocations: 4 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.247, allocations: 5.438 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/1.247, allocations: 0 / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/1.247, allocations: 0 / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/1.247, allocations: 4 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.247, allocations: 0 / 1.135 GB, free: 12.47 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 0.0001728/1.247, allocations: 192 kB / 1.135 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.247, allocations: 112.8 kB / 1.135 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/1.247, allocations: 110 kB / 1.136 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/1.247, allocations: 180.3 kB / 1.136 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/1.248, allocations: 184.2 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/1.248, allocations: 180.3 kB / 1.136 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/1.248, allocations: 397.8 kB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.707e-05/1.248, allocations: 104.9 kB / 1.137 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/1.248, allocations: 101 kB / 1.137 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/1.248, allocations: 180.2 kB / 1.137 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.249, allocations: 188.2 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001081/1.249, allocations: 184.2 kB / 1.137 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001184/1.249, allocations: 180.3 kB / 1.137 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/1.249, allocations: 303.7 kB / 1.138 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.249, allocations: 182.1 kB / 1.138 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.249, allocations: 190.3 kB / 1.138 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.25, allocations: 105 kB / 1.138 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.25, allocations: 185.2 kB / 1.138 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/1.25, allocations: 104.9 kB / 1.138 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001315/1.25, allocations: 95.2 kB / 1.138 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.41e-07/1.25, allocations: 4 kB / 1.138 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002055/1.252, allocations: 315.6 kB / 1.139 GB, free: 8.562 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.002773/1.255, allocations: 0.5721 MB / 1.139 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000172/1.255, allocations: 37.97 kB / 1.139 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.255, allocations: 0 / 1.139 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/1.255, allocations: 0 / 1.139 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/1.256, allocations: 0.5303 MB / 1.14 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/1.256, allocations: 148.4 kB / 1.14 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.257, allocations: 0.6807 MB / 1.141 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.354e-05/1.257, allocations: 3.906 kB / 1.141 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/1.257, allocations: 11.44 kB / 1.141 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of SimCode: time 1.233e-06/1.257, allocations: 0 / 1.141 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.02314/1.28, allocations: 5.301 MB / 1.146 GB, free: 1.297 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8.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_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_8.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_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'