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.InternalHEXOneUTube.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.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadModel(Buildings): time 3.801/3.801, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.341e-05, allocations: 4 kB / 0.5326 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5014, allocations: 98.71 MB / 0.629 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.974/1.475, allocations: 397.9 MB / 1.018 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.476, allocations: 127.2 kB / 1.018 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.276/3.752, allocations: 472.1 MB / 1.479 GB, free: 153.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.234e-06/3.752, allocations: 0 / 1.479 GB, free: 153.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001779/3.752, allocations: 46.11 kB / 1.479 GB, free: 153.6 MB / 0.8073 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.004549/3.756, allocations: 1.928 MB / 1.481 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/3.757, allocations: 9.531 kB / 1.481 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008532/3.757, allocations: 213.6 kB / 1.481 GB, free: 152.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/3.762, allocations: 1.708 MB / 1.483 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/3.762, allocations: 34.11 kB / 1.483 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/3.762, allocations: 70.16 kB / 1.483 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001857/3.764, allocations: 0.712 MB / 1.483 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/3.766, allocations: 0.8975 MB / 1.484 GB, free: 152 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/3.766, allocations: 7.5 kB / 1.484 GB, free: 152 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/3.766, allocations: 0 / 1.484 GB, free: 152 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/3.766, allocations: 26.75 kB / 1.484 GB, free: 152 MB / 0.8073 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.009466/3.776, allocations: 6.221 MB / 1.49 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/3.777, allocations: 488 kB / 1.491 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/3.777, allocations: 299.4 kB / 1.491 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/3.778, allocations: 1.27 MB / 1.492 GB, free: 147 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/3.778, allocations: 42.16 kB / 1.492 GB, free: 146.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=65): time 4.36e-06/3.778, allocations: 3.719 kB / 1.492 GB, free: 146.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65): time 0.002552/3.781, allocations: 0.7273 MB / 1.493 GB, free: 146.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/3.781, allocations: 94.55 kB / 1.493 GB, free: 146.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/3.783, allocations: 1.128 MB / 1.494 GB, free: 146.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/3.783, allocations: 33.36 kB / 1.494 GB, free: 146.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/3.784, allocations: 0.728 MB / 1.495 GB, free: 146.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/3.784, allocations: 228.3 kB / 1.495 GB, free: 146.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/3.784, allocations: 0 / 1.495 GB, free: 146.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/3.784, allocations: 341.5 kB / 1.496 GB, free: 145.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/3.785, allocations: 242.2 kB / 1.496 GB, free: 145.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/3.786, allocations: 476.9 kB / 1.496 GB, free: 145.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/3.787, allocations: 417.1 kB / 1.497 GB, free: 145.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/3.787, allocations: 0 / 1.497 GB, free: 145.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003196/3.791, allocations: 0.9682 MB / 1.498 GB, free: 145.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004719/3.791, allocations: 1.339 MB / 1.499 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/3.791, allocations: 3.875 kB / 1.499 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/3.792, allocations: 75.09 kB / 1.499 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/3.794, allocations: 175.4 kB / 1.499 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/3.798, allocations: 2.873 MB / 1.502 GB, free: 141.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/3.801, allocations: 106 kB / 1.502 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/3.801, allocations: 45.66 kB / 1.502 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/3.801, allocations: 8.25 kB / 1.502 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004871/3.806, allocations: 0.7838 MB / 1.503 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/3.806, allocations: 7.094 kB / 1.503 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/3.807, allocations: 67.09 kB / 1.503 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/3.808, allocations: 176.8 kB / 1.503 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/3.812, allocations: 2.873 MB / 1.506 GB, free: 138.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/3.815, allocations: 95.83 kB / 1.506 GB, free: 138.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/3.815, allocations: 40.22 kB / 1.506 GB, free: 138.8 MB / 0.8073 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.0004533/3.816, allocations: 122.8 kB / 1.506 GB, free: 138.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/3.816, allocations: 146.2 kB / 1.506 GB, free: 138.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005063/3.821, allocations: 0.963 MB / 1.507 GB, free: 138.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/3.821, allocations: 10.64 kB / 1.507 GB, free: 138.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/3.821, allocations: 2.75 kB / 1.507 GB, free: 138.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003347/3.825, allocations: 0.7168 MB / 1.508 GB, free: 138.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009832/3.835, allocations: 2.352 MB / 1.51 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/3.835, allocations: 3.844 kB / 1.51 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/3.836, allocations: 128.9 kB / 1.51 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/3.837, allocations: 68.55 kB / 1.51 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/3.837, allocations: 10.69 kB / 1.51 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/3.841, allocations: 2.871 MB / 1.513 GB, free: 135.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/3.841, allocations: 3.781 kB / 1.513 GB, free: 135.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/3.846, allocations: 1.407 MB / 1.515 GB, free: 134.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/3.848, allocations: 344.2 kB / 1.515 GB, free: 134.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004637/3.848, allocations: 7.922 kB / 1.515 GB, free: 134.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/3.85, allocations: 38.47 kB / 1.515 GB, free: 134.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/3.85, allocations: 52.44 kB / 1.515 GB, free: 134.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/3.85, allocations: 25.52 kB / 1.515 GB, free: 134.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003019/3.853, allocations: 0.8859 MB / 1.516 GB, free: 134.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.293e-06/3.853, allocations: 3.938 kB / 1.516 GB, free: 134.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.008054/3.861, allocations: 1.194 MB / 1.517 GB, free: 134 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (63): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005047/3.866, allocations: 1.282 MB / 1.518 GB, free: 133.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004918/3.871, allocations: 1.562 MB / 1.52 GB, free: 133.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/3.872, allocations: 0 / 1.52 GB, free: 133.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/3.873, allocations: 0.5089 MB / 1.52 GB, free: 133 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/3.877, allocations: 0.5993 MB / 1.521 GB, free: 133 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/3.881, allocations: 2.191 MB / 1.523 GB, free: 132.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/3.882, allocations: 1.299 MB / 1.524 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002509/3.885, allocations: 450.6 kB / 1.525 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/3.885, allocations: 88.86 kB / 1.525 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.68e-06/3.885, allocations: 0 / 1.525 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.07854/3.964, allocations: 34 MB / 1.558 GB, free: 129.4 MB / 0.8073 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_6.0.0_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.\n: recipe for target \'Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'