Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadModel(Buildings): time 3.993/3.993, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.246e-05, allocations: 11.94 kB / 0.5326 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4913, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.438, allocations: 414.8 MB / 1.034 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.438, allocations: 121 kB / 1.034 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.982/6.42, allocations: 1.014 GB / 2.049 GB, free: 86.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/6.42, allocations: 2.438 kB / 2.049 GB, free: 86.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003552/6.421, allocations: 78.97 kB / 2.049 GB, free: 86.61 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007829/6.429, allocations: 3.05 MB / 2.052 GB, free: 85.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/6.429, allocations: 15.02 kB / 2.052 GB, free: 85.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/6.43, allocations: 370.8 kB / 2.052 GB, free: 85.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/6.438, allocations: 2.923 MB / 2.055 GB, free: 85.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/6.438, allocations: 64.12 kB / 2.055 GB, free: 85.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/6.439, allocations: 132.8 kB / 2.055 GB, free: 85.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003854/6.443, allocations: 1.447 MB / 2.057 GB, free: 85.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/6.447, allocations: 1.782 MB / 2.058 GB, free: 84.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.247e-05/6.447, allocations: 3.094 kB / 2.058 GB, free: 84.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/6.447, allocations: 4.875 kB / 2.058 GB, free: 84.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/6.447, allocations: 51.44 kB / 2.058 GB, free: 84.82 MB / 0.8386 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.01579/6.463, allocations: 8.429 MB / 2.067 GB, free: 82.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/6.465, allocations: 1.094 MB / 2.068 GB, free: 82.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/6.467, allocations: 0.7498 MB / 2.068 GB, free: 82.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/6.469, allocations: 2.914 MB / 2.071 GB, free: 78.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/6.469, allocations: 55.89 kB / 2.071 GB, free: 78.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=145): time 4.738e-06/6.469, allocations: 0 / 2.071 GB, free: 78.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=145): time 0.005641/6.475, allocations: 1.62 MB / 2.073 GB, free: 78.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/6.475, allocations: 96.72 kB / 2.073 GB, free: 78.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/6.478, allocations: 1.691 MB / 2.075 GB, free: 78.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/6.479, allocations: 29.42 kB / 2.075 GB, free: 78.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/6.48, allocations: 1.22 MB / 2.076 GB, free: 77.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/6.48, allocations: 0.4903 MB / 2.076 GB, free: 77.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/6.48, allocations: 0 / 2.076 GB, free: 77.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001234/6.48, allocations: 370.5 kB / 2.077 GB, free: 77.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/6.482, allocations: 499.4 kB / 2.077 GB, free: 77.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/6.483, allocations: 0.8348 MB / 2.078 GB, free: 76.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/6.486, allocations: 0.8101 MB / 2.079 GB, free: 76.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/6.486, allocations: 3.438 kB / 2.079 GB, free: 76.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00603/6.492, allocations: 1.975 MB / 2.081 GB, free: 76.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000541/6.493, allocations: 2.696 MB / 2.083 GB, free: 73.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/6.493, allocations: 12.19 kB / 2.083 GB, free: 73.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006662/6.493, allocations: 202.6 kB / 2.083 GB, free: 73.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/6.495, allocations: 354.9 kB / 2.084 GB, free: 73.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/6.5, allocations: 6.876 MB / 2.091 GB, free: 67.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/6.503, allocations: 220.7 kB / 2.091 GB, free: 67.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/6.503, allocations: 77.16 kB / 2.091 GB, free: 67.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/6.503, allocations: 8.453 kB / 2.091 GB, free: 67.47 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005159/6.509, allocations: 1.663 MB / 2.092 GB, free: 67.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/6.509, allocations: 13.34 kB / 2.092 GB, free: 67.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/6.509, allocations: 197.2 kB / 2.093 GB, free: 67.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/6.511, allocations: 358.6 kB / 2.093 GB, free: 67.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/6.517, allocations: 8.658 MB / 2.101 GB, free: 59.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/6.52, allocations: 202.5 kB / 2.102 GB, free: 59.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/6.521, allocations: 68.34 kB / 2.102 GB, free: 59.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004299/6.521, allocations: 142.2 kB / 2.102 GB, free: 59.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/6.522, allocations: 234.8 kB / 2.102 GB, free: 59.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/6.527, allocations: 1.992 MB / 2.104 GB, free: 59.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/6.527, allocations: 24.39 kB / 2.104 GB, free: 59.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-06/6.527, allocations: 0 / 2.104 GB, free: 59.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00439/6.532, allocations: 1.669 MB / 2.106 GB, free: 58.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/6.542, allocations: 4.078 MB / 2.11 GB, free: 58.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/6.542, allocations: 2.094 kB / 2.11 GB, free: 58.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/6.544, allocations: 266.5 kB / 2.11 GB, free: 58.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/6.545, allocations: 191.1 kB / 2.11 GB, free: 58.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/6.545, allocations: 21.56 kB / 2.11 GB, free: 58.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/6.55, allocations: 6.836 MB / 2.117 GB, free: 52.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/6.55, allocations: 5.031 kB / 2.117 GB, free: 52.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/6.557, allocations: 2.617 MB / 2.119 GB, free: 51.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/6.558, allocations: 0.5465 MB / 2.12 GB, free: 51.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/6.559, allocations: 3.062 kB / 2.12 GB, free: 51.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/6.561, allocations: 131.3 kB / 2.12 GB, free: 51.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/6.561, allocations: 97.2 kB / 2.12 GB, free: 51.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/6.561, allocations: 57.53 kB / 2.12 GB, free: 51.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002546/6.564, allocations: 1.265 MB / 2.121 GB, free: 51.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.9e-07/6.564, allocations: 0 / 2.121 GB, free: 51.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008159/6.572, allocations: 1.967 MB / 2.123 GB, free: 51.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003884/6.576, allocations: 1.77 MB / 2.125 GB, free: 50.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005709/6.582, allocations: 3.413 MB / 2.128 GB, free: 49.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/6.582, allocations: 2.562 kB / 2.128 GB, free: 49.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/6.584, allocations: 1.148 MB / 2.129 GB, free: 49.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00727/6.591, allocations: 1.142 MB / 2.131 GB, free: 49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008489/6.599, allocations: 3.951 MB / 2.134 GB, free: 47.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/6.601, allocations: 1.803 MB / 2.136 GB, free: 47.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004192/6.605, allocations: 0.7212 MB / 2.137 GB, free: 47.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/6.606, allocations: 157.9 kB / 2.137 GB, free: 47.19 MB / 0.8386 GB Notification: Performance of SimCode: time 1.79e-06/6.606, allocations: 0 / 2.137 GB, free: 47.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.1241/6.73, allocations: 57.68 MB / 2.193 GB, free: 43.83 MB / 0.8386 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile b'clang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c\nclang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1098: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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1\n'