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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.22/2.22, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001622/0.001622, allocations: 181.2 kB / 360.4 MB, free: 7.48 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 1.778/1.778, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001249/0.001248, allocations: 101.2 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.72e-05, allocations: 4 kB / 0.8503 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6707, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.722, allocations: 428.3 MB / 1.381 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004291/1.723, allocations: 126.4 kB / 1.381 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.997/6.72, allocations: 1.02 GB / 2.402 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005082/6.72, allocations: 77.42 kB / 2.402 GB, free: 117.5 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.01127/6.732, allocations: 3.081 MB / 2.405 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/6.732, allocations: 9.969 kB / 2.405 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/6.734, allocations: 376.7 kB / 2.405 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/6.745, allocations: 2.932 MB / 2.408 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/6.745, allocations: 67 kB / 2.408 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009347/6.746, allocations: 132.2 kB / 2.408 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005793/6.752, allocations: 1.458 MB / 2.41 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005799/6.758, allocations: 1.794 MB / 2.411 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.019e-05/6.758, allocations: 8.031 kB / 2.411 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/6.758, allocations: 0 / 2.411 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/6.759, allocations: 53.8 kB / 2.411 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/6.779, allocations: 8.858 MB / 2.42 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/6.781, allocations: 0.849 MB / 2.421 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/6.783, allocations: 0.7732 MB / 2.422 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002978/6.786, allocations: 2.922 MB / 2.424 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/6.786, allocations: 50.94 kB / 2.425 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 4.479e-06/6.786, allocations: 0 / 2.425 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.007176/6.793, allocations: 1.67 MB / 2.426 GB, free: 109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/6.793, allocations: 92.77 kB / 2.426 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/6.798, allocations: 1.689 MB / 2.428 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/6.798, allocations: 29.14 kB / 2.428 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/6.799, allocations: 0.7985 MB / 2.429 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/6.8, allocations: 0.4973 MB / 2.429 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/6.8, allocations: 0 / 2.429 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00014/6.8, allocations: 372.2 kB / 2.43 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/6.802, allocations: 0.4912 MB / 2.43 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/6.804, allocations: 0.8521 MB / 2.431 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/6.807, allocations: 0.8329 MB / 2.432 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/6.807, allocations: 0 / 2.432 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00809/6.816, allocations: 2.014 MB / 2.434 GB, free: 107 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007266/6.816, allocations: 2.693 MB / 2.436 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/6.816, allocations: 16.14 kB / 2.436 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000915/6.817, allocations: 200.1 kB / 2.436 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/6.82, allocations: 353.9 kB / 2.437 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/6.827, allocations: 6.846 MB / 2.443 GB, free: 97.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/6.831, allocations: 224.5 kB / 2.444 GB, free: 97.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/6.831, allocations: 72.59 kB / 2.444 GB, free: 97.86 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/6.831, allocations: 3.938 kB / 2.444 GB, free: 97.86 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00655/6.838, allocations: 1.709 MB / 2.445 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/6.838, allocations: 6.906 kB / 2.445 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/6.839, allocations: 206.2 kB / 2.446 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/6.841, allocations: 343.7 kB / 2.446 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/6.85, allocations: 8.568 MB / 2.454 GB, free: 90.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/6.854, allocations: 206 kB / 2.455 GB, free: 90.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/6.854, allocations: 72.95 kB / 2.455 GB, free: 90.03 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.0005319/6.854, allocations: 138.4 kB / 2.455 GB, free: 89.92 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008526/6.855, allocations: 235.2 kB / 2.455 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/6.863, allocations: 2.154 MB / 2.457 GB, free: 89.63 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/6.863, allocations: 17.03 kB / 2.457 GB, free: 89.63 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/6.863, allocations: 3.531 kB / 2.457 GB, free: 89.63 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005491/6.869, allocations: 1.727 MB / 2.459 GB, free: 89.28 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/6.883, allocations: 4.193 MB / 2.463 GB, free: 88.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/6.883, allocations: 3.875 kB / 2.463 GB, free: 88.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/6.886, allocations: 272.6 kB / 2.463 GB, free: 88.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007468/6.887, allocations: 187.2 kB / 2.463 GB, free: 88.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/6.887, allocations: 20.69 kB / 2.463 GB, free: 88.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/6.893, allocations: 6.809 MB / 2.47 GB, free: 82.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/6.893, allocations: 6.609 kB / 2.47 GB, free: 82.62 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008796/6.902, allocations: 2.794 MB / 2.473 GB, free: 82.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/6.904, allocations: 0.5448 MB / 2.473 GB, free: 81.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/6.905, allocations: 6.125 kB / 2.473 GB, free: 81.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003707/6.909, allocations: 134.2 kB / 2.473 GB, free: 81.85 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/6.91, allocations: 81 kB / 2.473 GB, free: 81.85 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/6.91, allocations: 58.11 kB / 2.474 GB, free: 81.85 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003584/6.913, allocations: 1.265 MB / 2.475 GB, free: 81.71 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01148/6.925, allocations: 1.953 MB / 2.477 GB, free: 81.36 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.005589/6.931, allocations: 1.755 MB / 2.478 GB, free: 80.94 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008291/6.939, allocations: 3.388 MB / 2.482 GB, free: 79.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/6.939, allocations: 3 kB / 2.482 GB, free: 79.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/6.942, allocations: 1.148 MB / 2.483 GB, free: 79.43 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/6.953, allocations: 1.098 MB / 2.484 GB, free: 79.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/6.967, allocations: 4.038 MB / 2.488 GB, free: 78.45 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003335/6.97, allocations: 2.017 MB / 2.49 GB, free: 77.7 MB / 0.9636 GB Notification: Performance of SimCode: time 2.144e-06/6.97, allocations: 2.688 kB / 2.49 GB, free: 77.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1707/7.141, allocations: 64.83 MB / 2.553 GB, free: 74.23 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 -fPIC -O0 -march=native -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 -fPIC -O0 -march=native -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:1179: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'