Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.021/2.021, allocations: 253.1 MB / 260.4 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 181.3 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 86.69 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.293e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.456/1.657, allocations: 423 MB / 1.301 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005025/1.658, allocations: 119.5 kB / 1.301 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.948/6.605, allocations: 1.02 GB / 2.322 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005425/6.606, allocations: 81.89 kB / 2.322 GB, free: 105.2 MB / 0.8855 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.01147/6.617, allocations: 3.083 MB / 2.325 GB, free: 104 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/6.617, allocations: 9.094 kB / 2.325 GB, free: 104 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/6.62, allocations: 376 kB / 2.325 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/6.631, allocations: 2.922 MB / 2.328 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/6.631, allocations: 68.94 kB / 2.328 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000807/6.632, allocations: 135.9 kB / 2.328 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006175/6.638, allocations: 1.46 MB / 2.33 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/6.646, allocations: 1.79 MB / 2.331 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/6.646, allocations: 3.938 kB / 2.331 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/6.646, allocations: 6.906 kB / 2.331 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/6.646, allocations: 54.53 kB / 2.331 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/6.669, allocations: 8.845 MB / 2.34 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/6.672, allocations: 0.8474 MB / 2.341 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/6.674, allocations: 0.7719 MB / 2.342 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003037/6.677, allocations: 2.92 MB / 2.345 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.298e-05/6.677, allocations: 50.78 kB / 2.345 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 9.087e-06/6.677, allocations: 0 / 2.345 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.00777/6.685, allocations: 1.677 MB / 2.346 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/6.685, allocations: 93.73 kB / 2.346 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/6.69, allocations: 1.69 MB / 2.348 GB, free: 96.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004352/6.69, allocations: 29.14 kB / 2.348 GB, free: 96.15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/6.691, allocations: 0.7915 MB / 2.349 GB, free: 95.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/6.692, allocations: 0.502 MB / 2.349 GB, free: 95.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/6.693, allocations: 0 / 2.349 GB, free: 95.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001662/6.693, allocations: 369.9 kB / 2.35 GB, free: 95.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/6.694, allocations: 0.4927 MB / 2.35 GB, free: 95.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/6.696, allocations: 0.8525 MB / 2.351 GB, free: 94.72 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/6.7, allocations: 0.8356 MB / 2.352 GB, free: 94.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/6.7, allocations: 5.156 kB / 2.352 GB, free: 94.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008353/6.709, allocations: 2.012 MB / 2.354 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006539/6.709, allocations: 2.686 MB / 2.356 GB, free: 91.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-05/6.71, allocations: 13.75 kB / 2.356 GB, free: 91.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009129/6.71, allocations: 206.4 kB / 2.357 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/6.713, allocations: 347.1 kB / 2.357 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/6.72, allocations: 6.847 MB / 2.364 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/6.724, allocations: 219.5 kB / 2.364 GB, free: 85.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/6.724, allocations: 73.44 kB / 2.364 GB, free: 85.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/6.724, allocations: 6.469 kB / 2.364 GB, free: 85.34 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006996/6.731, allocations: 1.708 MB / 2.365 GB, free: 85.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/6.732, allocations: 15.28 kB / 2.366 GB, free: 85.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/6.732, allocations: 205.2 kB / 2.366 GB, free: 85.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/6.735, allocations: 350.1 kB / 2.366 GB, free: 85.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/6.743, allocations: 8.568 MB / 2.374 GB, free: 77.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/6.747, allocations: 206.4 kB / 2.375 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005061/6.748, allocations: 70.56 kB / 2.375 GB, free: 77.5 MB / 0.8855 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.0005517/6.748, allocations: 149.6 kB / 2.375 GB, free: 77.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009514/6.749, allocations: 236 kB / 2.375 GB, free: 77.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00839/6.758, allocations: 2.142 MB / 2.377 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/6.758, allocations: 20.09 kB / 2.377 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/6.758, allocations: 0.75 kB / 2.377 GB, free: 77.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005973/6.764, allocations: 1.731 MB / 2.379 GB, free: 76.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/6.778, allocations: 4.172 MB / 2.383 GB, free: 76.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/6.778, allocations: 4.469 kB / 2.383 GB, free: 76.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/6.78, allocations: 277.5 kB / 2.383 GB, free: 76.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/6.781, allocations: 189.2 kB / 2.383 GB, free: 76.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/6.781, allocations: 21.55 kB / 2.383 GB, free: 76.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/6.787, allocations: 6.814 MB / 2.39 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/6.787, allocations: 3.812 kB / 2.39 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008573/6.796, allocations: 2.795 MB / 2.393 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/6.798, allocations: 0.549 MB / 2.393 GB, free: 69.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008491/6.799, allocations: 7.219 kB / 2.393 GB, free: 69.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/6.803, allocations: 132 kB / 2.393 GB, free: 69.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/6.803, allocations: 83.78 kB / 2.394 GB, free: 69.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/6.803, allocations: 54.45 kB / 2.394 GB, free: 69.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003138/6.806, allocations: 1.264 MB / 2.395 GB, free: 69.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01008/6.817, allocations: 1.967 MB / 2.397 GB, free: 68.83 MB / 0.8855 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.004929/6.822, allocations: 1.762 MB / 2.398 GB, free: 68.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007945/6.83, allocations: 3.392 MB / 2.402 GB, free: 67.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/6.83, allocations: 0 / 2.402 GB, free: 67.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/6.832, allocations: 1.151 MB / 2.403 GB, free: 66.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/6.843, allocations: 1.102 MB / 2.404 GB, free: 66.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/6.856, allocations: 4.034 MB / 2.408 GB, free: 65.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003035/6.859, allocations: 2.017 MB / 2.41 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/6.859, allocations: 0 / 2.41 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of Templates: time 0.2128/7.072, allocations: 64.81 MB / 2.473 GB, free: 61.28 MB / 0.8855 GB make -j1 -f Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c\nBuildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1\n'