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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.0009779/0.0009779, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.56/1.56, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008377/0.0008379, allocations: 105.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.323e-05, allocations: 4 kB / 0.8518 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6432, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.8604, allocations: 157.8 MB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.8608, allocations: 122.1 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04474/0.9056, allocations: 14.85 MB / 1.133 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9056, allocations: 0 / 1.133 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9056, allocations: 1.406 kB / 1.133 GB, free: 15.1 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.001006/0.9066, allocations: 0.5565 MB / 1.134 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.9067, allocations: 8.031 kB / 1.134 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.9068, allocations: 80.31 kB / 1.134 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.907, allocations: 254.1 kB / 1.134 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.907, allocations: 150.6 kB / 1.134 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.9071, allocations: 150.6 kB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.278e-05/0.9072, allocations: 161.5 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/0.9073, allocations: 101 kB / 1.135 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.9073, allocations: 79.27 kB / 1.135 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.9074, allocations: 150.6 kB / 1.135 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.9075, allocations: 150.6 kB / 1.135 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.9078, allocations: 454.3 kB / 1.135 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.9079, allocations: 169.1 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.9079, allocations: 80.14 kB / 1.136 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.908, allocations: 76.22 kB / 1.136 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.908, allocations: 117.8 kB / 1.136 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.908, allocations: 3.938 kB / 1.136 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.171e-05/0.9081, allocations: 33.55 kB / 1.136 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.9082, allocations: 51.41 kB / 1.136 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.9083, allocations: 115 kB / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.9083, allocations: 29.7 kB / 1.136 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.9084, allocations: 88.12 kB / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.9084, allocations: 0 / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.9084, allocations: 0 / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9086, allocations: 323.5 kB / 1.136 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.9086, allocations: 0 / 1.136 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.9086, allocations: 8 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.059e-05/0.9087, allocations: 4 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9087, allocations: 4 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.9089, allocations: 49.55 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9089, allocations: 4 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.9089, allocations: 5.125 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9089, allocations: 0 / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.9089, allocations: 0 / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.909, allocations: 4.062 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.909, allocations: 7.984 kB / 1.136 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.909, allocations: 6.828 kB / 1.136 GB, free: 11.49 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.0001107/0.9091, allocations: 180.3 kB / 1.137 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.9092, allocations: 116.9 kB / 1.137 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.9093, allocations: 105 kB / 1.137 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/0.9094, allocations: 188.2 kB / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.301e-05/0.9095, allocations: 180.2 kB / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.188e-05/0.9095, allocations: 176.3 kB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.9098, allocations: 400.3 kB / 1.138 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-05/0.9098, allocations: 101 kB / 1.138 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.9099, allocations: 101 kB / 1.138 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.07e-05/0.9099, allocations: 192.3 kB / 1.138 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-05/0.91, allocations: 180.2 kB / 1.138 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.446e-05/0.9101, allocations: 181.8 kB / 1.138 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.218e-05/0.9102, allocations: 180.2 kB / 1.139 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.9103, allocations: 311.7 kB / 1.139 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.9104, allocations: 186 kB / 1.139 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.9105, allocations: 180.2 kB / 1.139 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.9106, allocations: 104.9 kB / 1.139 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.9107, allocations: 181.1 kB / 1.14 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.9108, allocations: 109 kB / 1.14 GB, free: 8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.9109, allocations: 98.09 kB / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9109, allocations: 0 / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001138/0.912, allocations: 327.4 kB / 1.14 GB, free: 7.586 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.001622/0.9136, allocations: 0.5522 MB / 1.141 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.9138, allocations: 45.95 kB / 1.141 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9138, allocations: 0 / 1.141 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.9138, allocations: 4.062 kB / 1.141 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.9143, allocations: 0.5224 MB / 1.141 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.9145, allocations: 147.9 kB / 1.141 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.9149, allocations: 0.6885 MB / 1.142 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.9149, allocations: 3.906 kB / 1.142 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.9149, allocations: 11.44 kB / 1.142 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.9149, allocations: 0 / 1.142 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.01109/0.926, allocations: 5.294 MB / 1.147 GB, free: 340 kB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_maint.8.0.x_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'