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.Examples.InternalHEXOneUTube.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.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001067/0.001066, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.558/1.558, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008695/0.0008693, allocations: 98.58 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.358e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7022, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.802, allocations: 411.5 MB / 1.366 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.802, allocations: 121.9 kB / 1.366 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.698/3.5, allocations: 472.4 MB / 1.828 GB, free: 139.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.873e-06/3.5, allocations: 4 kB / 1.828 GB, free: 139.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001841/3.5, allocations: 46.97 kB / 1.828 GB, free: 139.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004591/3.505, allocations: 1.919 MB / 1.83 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/3.505, allocations: 8.031 kB / 1.83 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/3.505, allocations: 217.5 kB / 1.83 GB, free: 137.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/3.508, allocations: 1.697 MB / 1.831 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/3.508, allocations: 39.95 kB / 1.832 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/3.509, allocations: 64 kB / 1.832 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001238/3.51, allocations: 0.7148 MB / 1.832 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/3.511, allocations: 0.9091 MB / 1.833 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/3.511, allocations: 4 kB / 1.833 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/3.511, allocations: 4 kB / 1.833 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/3.511, allocations: 24 kB / 1.833 GB, free: 134.1 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006888/3.518, allocations: 6.23 MB / 1.839 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/3.519, allocations: 0.5245 MB / 1.84 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/3.519, allocations: 312.1 kB / 1.84 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008945/3.52, allocations: 1.266 MB / 1.841 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/3.52, allocations: 47.12 kB / 1.841 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 5.47e-06/3.52, allocations: 0 / 1.841 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.001688/3.522, allocations: 0.7448 MB / 1.842 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/3.522, allocations: 85.67 kB / 1.842 GB, free: 124 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/3.524, allocations: 1.129 MB / 1.843 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/3.524, allocations: 29.7 kB / 1.843 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/3.524, allocations: 0.7155 MB / 1.844 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/3.524, allocations: 236.5 kB / 1.844 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/3.524, allocations: 0 / 1.844 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001144/3.524, allocations: 337.9 kB / 1.845 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/3.525, allocations: 250.6 kB / 1.845 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/3.525, allocations: 475.9 kB / 1.845 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/3.526, allocations: 416.3 kB / 1.846 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/3.526, allocations: 4 kB / 1.846 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001793/3.528, allocations: 0.9764 MB / 1.847 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004133/3.529, allocations: 1.338 MB / 1.848 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/3.529, allocations: 4 kB / 1.848 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/3.529, allocations: 69.69 kB / 1.848 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/3.53, allocations: 183.7 kB / 1.848 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/3.532, allocations: 2.882 MB / 1.851 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/3.533, allocations: 103.2 kB / 1.851 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/3.533, allocations: 43.92 kB / 1.851 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/3.533, allocations: 4 kB / 1.851 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/3.534, allocations: 0.8046 MB / 1.852 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/3.535, allocations: 4.281 kB / 1.852 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/3.535, allocations: 61.69 kB / 1.852 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/3.535, allocations: 179.7 kB / 1.852 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/3.537, allocations: 2.882 MB / 1.855 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/3.538, allocations: 87.39 kB / 1.855 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/3.538, allocations: 43.98 kB / 1.855 GB, free: 110.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002672/3.539, allocations: 119 kB / 1.855 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/3.539, allocations: 150.2 kB / 1.855 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/3.541, allocations: 0.9529 MB / 1.856 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/3.541, allocations: 8 kB / 1.856 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/3.541, allocations: 7.875 kB / 1.856 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/3.542, allocations: 0.7934 MB / 1.857 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/3.546, allocations: 2.471 MB / 1.859 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/3.546, allocations: 4.375 kB / 1.859 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/3.547, allocations: 139.8 kB / 1.86 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/3.547, allocations: 69.69 kB / 1.86 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/3.547, allocations: 11.98 kB / 1.86 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/3.549, allocations: 2.866 MB / 1.862 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/3.549, allocations: 7.938 kB / 1.862 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/3.551, allocations: 1.529 MB / 1.864 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/3.551, allocations: 355 kB / 1.864 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/3.551, allocations: 4 kB / 1.864 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/3.552, allocations: 39.86 kB / 1.864 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/3.552, allocations: 56.48 kB / 1.864 GB, free: 99.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/3.552, allocations: 35.98 kB / 1.864 GB, free: 99.91 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001095/3.553, allocations: 0.8478 MB / 1.865 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.172e-06/3.553, allocations: 0 / 1.865 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003924/3.557, allocations: 1.2 MB / 1.866 GB, free: 97.86 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002735/3.56, allocations: 1.278 MB / 1.868 GB, free: 96.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002255/3.562, allocations: 1.588 MB / 1.869 GB, free: 95.03 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.562, allocations: 4.125 kB / 1.869 GB, free: 95.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/3.563, allocations: 0.5484 MB / 1.87 GB, free: 94.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/3.566, allocations: 0.6267 MB / 1.87 GB, free: 93.84 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/3.569, allocations: 2.204 MB / 1.873 GB, free: 91.56 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/3.57, allocations: 1.307 MB / 1.874 GB, free: 90.22 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001608/3.572, allocations: 456.5 kB / 1.874 GB, free: 89.78 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/3.572, allocations: 87.42 kB / 1.874 GB, free: 89.69 MB / 0.9323 GB Notification: Performance of SimCode: time 8.72e-07/3.572, allocations: 4 kB / 1.874 GB, free: 89.69 MB / 0.9323 GB Notification: Performance of Templates: time 0.05031/3.622, allocations: 34.12 MB / 1.908 GB, free: 55.84 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -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.Examples.InternalHEXOneUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -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.Examples.InternalHEXOneUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:953: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.Examples.InternalHEXOneUTube_functions.o] Error 1\n'