Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.415/2.415, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 188.8 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.3 MB / 0.6192 GB, free: 12.08 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 88.91 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.255e-05, allocations: 4 kB / 0.8509 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7972, allocations: 115.2 MB / 0.9635 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/2.152, allocations: 428.4 MB / 1.382 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/2.152, allocations: 122.6 kB / 1.382 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.782/7.934, allocations: 1.014 GB / 2.396 GB, free: 125 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.887e-06/7.935, allocations: 4.094 kB / 2.396 GB, free: 125 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000541/7.935, allocations: 77.97 kB / 2.396 GB, free: 125 MB / 0.9636 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.01257/7.948, allocations: 3.054 MB / 2.399 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/7.948, allocations: 9.969 kB / 2.399 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/7.95, allocations: 377.4 kB / 2.4 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/7.962, allocations: 2.899 MB / 2.403 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/7.962, allocations: 67.72 kB / 2.403 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/7.962, allocations: 135.2 kB / 2.403 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00536/7.968, allocations: 1.453 MB / 2.404 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006435/7.974, allocations: 1.788 MB / 2.406 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.545e-05/7.974, allocations: 2.156 kB / 2.406 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/7.975, allocations: 2.281 kB / 2.406 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/7.975, allocations: 50.19 kB / 2.406 GB, free: 122.9 MB / 0.9636 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.02102/7.996, allocations: 8.443 MB / 2.414 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/7.999, allocations: 1.279 MB / 2.416 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/8.001, allocations: 0.767 MB / 2.416 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/8.004, allocations: 2.919 MB / 2.419 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/8.004, allocations: 54.91 kB / 2.419 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 5.08e-06/8.004, allocations: 0 / 2.419 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.006679/8.01, allocations: 1.633 MB / 2.421 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/8.011, allocations: 100.2 kB / 2.421 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/8.015, allocations: 1.679 MB / 2.423 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/8.015, allocations: 29.58 kB / 2.423 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/8.016, allocations: 1.217 MB / 2.424 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007686/8.017, allocations: 0.4929 MB / 2.424 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/8.017, allocations: 0 / 2.424 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001327/8.017, allocations: 371.8 kB / 2.425 GB, free: 115 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/8.019, allocations: 499.4 kB / 2.425 GB, free: 115 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/8.02, allocations: 0.8388 MB / 2.426 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/8.024, allocations: 0.816 MB / 2.427 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/8.024, allocations: 5.75 kB / 2.427 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.007343/8.031, allocations: 1.976 MB / 2.429 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006657/8.032, allocations: 2.683 MB / 2.431 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.982e-05/8.032, allocations: 13.22 kB / 2.431 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/8.033, allocations: 200.3 kB / 2.431 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/8.035, allocations: 355.9 kB / 2.432 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/8.041, allocations: 6.885 MB / 2.438 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/8.045, allocations: 224.6 kB / 2.439 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/8.045, allocations: 73.77 kB / 2.439 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/8.045, allocations: 3.312 kB / 2.439 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00599/8.051, allocations: 1.672 MB / 2.44 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/8.052, allocations: 10.91 kB / 2.44 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/8.052, allocations: 201.4 kB / 2.441 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/8.055, allocations: 350.9 kB / 2.441 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/8.063, allocations: 8.649 MB / 2.449 GB, free: 97.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/8.067, allocations: 209.9 kB / 2.45 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/8.067, allocations: 72.5 kB / 2.45 GB, free: 97.42 MB / 0.9636 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.0005365/8.068, allocations: 134.3 kB / 2.45 GB, free: 97.31 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/8.069, allocations: 234.5 kB / 2.45 GB, free: 97.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006984/8.076, allocations: 2.018 MB / 2.452 GB, free: 97 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/8.076, allocations: 20.62 kB / 2.452 GB, free: 97 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/8.076, allocations: 3.812 kB / 2.452 GB, free: 97 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005082/8.081, allocations: 1.681 MB / 2.454 GB, free: 96.66 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/8.095, allocations: 4.262 MB / 2.458 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/8.095, allocations: 6.656 kB / 2.458 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/8.097, allocations: 277.6 kB / 2.458 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/8.098, allocations: 182.4 kB / 2.458 GB, free: 95.99 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/8.098, allocations: 25.45 kB / 2.458 GB, free: 95.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/8.103, allocations: 6.846 MB / 2.465 GB, free: 89.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/8.104, allocations: 7.156 kB / 2.465 GB, free: 89.85 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008245/8.112, allocations: 2.716 MB / 2.468 GB, free: 89.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/8.114, allocations: 0.548 MB / 2.468 GB, free: 89.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009715/8.115, allocations: 13.02 kB / 2.468 GB, free: 89.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/8.119, allocations: 129.9 kB / 2.468 GB, free: 89.08 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/8.119, allocations: 100.6 kB / 2.468 GB, free: 89.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/8.12, allocations: 55.33 kB / 2.468 GB, free: 89.07 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003027/8.123, allocations: 1.265 MB / 2.47 GB, free: 88.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.21e-07/8.123, allocations: 0 / 2.47 GB, free: 88.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0114/8.134, allocations: 1.961 MB / 2.472 GB, free: 88.58 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (140): * Single equations (assignments): 123 * 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.00542/8.14, allocations: 1.771 MB / 2.473 GB, free: 88.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007487/8.147, allocations: 3.425 MB / 2.477 GB, free: 87 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/8.147, allocations: 3.344 kB / 2.477 GB, free: 87 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/8.149, allocations: 1.163 MB / 2.478 GB, free: 86.58 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/8.16, allocations: 1.138 MB / 2.479 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/8.171, allocations: 3.981 MB / 2.483 GB, free: 85.51 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/8.173, allocations: 1.803 MB / 2.485 GB, free: 84.76 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005168/8.179, allocations: 0.7261 MB / 2.485 GB, free: 84.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/8.179, allocations: 156.2 kB / 2.485 GB, free: 84.73 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/8.179, allocations: 2 kB / 2.485 GB, free: 84.73 MB / 0.9636 GB Notification: Performance of Templates: time 0.1431/8.322, allocations: 57.6 MB / 2.542 GB, free: 80.94 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile b'clang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c\nclang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c\nBuildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1\n'