Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 172.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008259, allocations: 85.34 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.148e-05, allocations: 4 kB / 0.8518 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6889, allocations: 115.3 MB / 0.9644 GB, free: 79.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.9017, allocations: 158.5 MB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.9021, allocations: 122.4 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.9489, allocations: 15.17 MB / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.054e-06/0.949, allocations: 4 kB / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.949, allocations: 0 / 1.134 GB, free: 14.08 MB / 0.7448 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.001288/0.9503, allocations: 0.5532 MB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.9504, allocations: 8.031 kB / 1.135 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.9505, allocations: 80.31 kB / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.9507, allocations: 246.8 kB / 1.135 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.9507, allocations: 156.1 kB / 1.135 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.9508, allocations: 150.6 kB / 1.135 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.728e-05/0.9509, allocations: 154.5 kB / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.951, allocations: 109 kB / 1.136 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.951, allocations: 75.28 kB / 1.136 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.9511, allocations: 154.6 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.9511, allocations: 154.5 kB / 1.136 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.9515, allocations: 442.5 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.9516, allocations: 169.1 kB / 1.137 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.9516, allocations: 87.58 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.9517, allocations: 79.22 kB / 1.137 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.9517, allocations: 109.8 kB / 1.137 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9517, allocations: 4 kB / 1.137 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.135e-05/0.9518, allocations: 29.61 kB / 1.137 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.9519, allocations: 51.41 kB / 1.137 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.952, allocations: 122.8 kB / 1.137 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.9521, allocations: 33.17 kB / 1.137 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.9522, allocations: 92.12 kB / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.9522, allocations: 0 / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.9522, allocations: 0 / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9523, allocations: 318.8 kB / 1.137 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.9523, allocations: 4 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.9524, allocations: 8 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.9524, allocations: 4 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9525, allocations: 7.922 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001653/0.9526, allocations: 57.59 kB / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9527, allocations: 4.781 kB / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.9527, allocations: 4 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9527, allocations: 0 / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.9527, allocations: 0 / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.9527, allocations: 1.719 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.9528, allocations: 7.906 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.9528, allocations: 0 / 1.137 GB, free: 10.46 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.0001109/0.9529, allocations: 180.2 kB / 1.138 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.953, allocations: 113 kB / 1.138 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.953, allocations: 112.9 kB / 1.138 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.052e-05/0.9531, allocations: 180.3 kB / 1.138 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.676e-05/0.9532, allocations: 180.2 kB / 1.138 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.72e-05/0.9533, allocations: 180.2 kB / 1.138 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.9535, allocations: 393.8 kB / 1.139 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/0.9536, allocations: 101 kB / 1.139 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.9536, allocations: 105 kB / 1.139 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.601e-05/0.9537, allocations: 184.2 kB / 1.139 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.9538, allocations: 188.2 kB / 1.139 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.685e-05/0.9538, allocations: 180.2 kB / 1.139 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-05/0.9539, allocations: 181 kB / 1.14 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.9541, allocations: 307.7 kB / 1.14 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.9542, allocations: 193.9 kB / 1.14 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.9543, allocations: 176.3 kB / 1.14 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.9544, allocations: 108.9 kB / 1.14 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.9545, allocations: 181.2 kB / 1.141 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.9545, allocations: 111.7 kB / 1.141 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.9546, allocations: 92.22 kB / 1.141 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.473e-06/0.9546, allocations: 1.406 kB / 1.141 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001264/0.9559, allocations: 331.4 kB / 1.141 GB, free: 6.547 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.002059/0.9579, allocations: 0.5755 MB / 1.142 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.9581, allocations: 45.97 kB / 1.142 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9581, allocations: 0 / 1.142 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.9581, allocations: 0 / 1.142 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.9585, allocations: 0.5224 MB / 1.142 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.9588, allocations: 144.2 kB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.9591, allocations: 0.6885 MB / 1.143 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.9591, allocations: 0 / 1.143 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.9591, allocations: 7.438 kB / 1.143 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.9591, allocations: 1.969 kB / 1.143 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of Templates: time 0.01166/0.9708, allocations: 5.441 MB / 1.148 GB, free: 15.13 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.c\nclang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_maint.8.0.x_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'