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.Examples.BoreholeOneUTube.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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") [: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.233/2.233, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001609/0.001608, allocations: 189.2 kB / 319.6 MB, free: 3.227 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.877/1.877, 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.001267/0.001267, allocations: 93.77 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.07e-05/1.084e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.603, allocations: 407.6 MB / 1.286 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/1.603, allocations: 110.2 kB / 1.286 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 13.52/15.13, allocations: 2.786 GB / 4.072 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.00402/15.13, allocations: 307.1 kB / 4.072 GB, free: 113.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04671/15.18, allocations: 10.66 MB / 4.083 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/15.18, allocations: 14.75 kB / 4.083 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/15.19, allocations: 1.627 MB / 4.084 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07195/15.26, allocations: 18.96 MB / 4.103 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006615/15.26, allocations: 268.8 kB / 4.103 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/15.27, allocations: 0.5156 MB / 4.104 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03634/15.3, allocations: 9.869 MB / 4.113 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04486/15.35, allocations: 10.82 MB / 4.124 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000811/15.35, allocations: 32.92 kB / 4.124 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003963/15.35, allocations: 8.656 kB / 4.124 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/15.35, allocations: 209.8 kB / 4.124 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/15.53, allocations: 52.52 MB / 4.175 GB, free: 83.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/15.55, allocations: 4.427 MB / 4.18 GB, free: 81.95 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01371/15.56, allocations: 3.828 MB / 4.184 GB, free: 80.56 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/15.57, allocations: 2.178 MB / 4.186 GB, free: 78.19 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/15.57, allocations: 101.2 kB / 4.186 GB, free: 78.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=482): time 7.774e-06/15.57, allocations: 0 / 4.186 GB, free: 78.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=482): time 0.02894/15.59, allocations: 7.433 MB / 4.193 GB, free: 75.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/15.6, allocations: 365.5 kB / 4.193 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0463/15.64, allocations: 13.1 MB / 4.206 GB, free: 70.51 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/15.64, allocations: 34.55 kB / 4.206 GB, free: 70.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01241/15.66, allocations: 3.577 MB / 4.21 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01561/15.67, allocations: 1.651 MB / 4.211 GB, free: 66.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/15.67, allocations: 0 / 4.211 GB, free: 66.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0008078/15.67, allocations: 0.5683 MB / 4.212 GB, free: 65.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01341/15.69, allocations: 3.496 MB / 4.215 GB, free: 62.78 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01758/15.7, allocations: 5.67 MB / 4.221 GB, free: 56.95 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0207/15.73, allocations: 4.84 MB / 4.226 GB, free: 52.99 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/15.73, allocations: 12 kB / 4.226 GB, free: 52.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.046/15.77, allocations: 10.64 MB / 4.236 GB, free: 43.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004995/15.78, allocations: 24.17 MB / 4.26 GB, free: 17.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004412/15.78, allocations: 67.66 kB / 4.26 GB, free: 17.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/15.78, allocations: 0.9829 MB / 4.261 GB, free: 16.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/15.79, allocations: 1.413 MB / 4.262 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03625/15.83, allocations: 31.61 MB / 4.293 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01988/15.85, allocations: 1.055 MB / 4.294 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/15.85, allocations: 272.7 kB / 4.294 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/15.85, allocations: 8.734 kB / 4.294 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03776/15.89, allocations: 9.525 MB / 4.303 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004635/15.89, allocations: 62.95 kB / 4.303 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/15.89, allocations: 1.002 MB / 4.304 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/15.91, allocations: 1.401 MB / 4.306 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8661/16.77, allocations: 31.62 MB / 4.337 GB, free: 188.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01973/16.79, allocations: 0.9518 MB / 4.338 GB, free: 188.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00242/16.79, allocations: 274.7 kB / 4.338 GB, free: 188.3 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003741/16.8, allocations: 276.6 kB / 4.338 GB, free: 188.2 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005787/16.8, allocations: 1.045 MB / 4.339 GB, free: 188.2 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03309/16.84, allocations: 8.34 MB / 4.347 GB, free: 187.8 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/16.84, allocations: 55.92 kB / 4.347 GB, free: 187.8 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-05/16.84, allocations: 10.75 kB / 4.347 GB, free: 187.8 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02162/16.86, allocations: 6.513 MB / 4.354 GB, free: 187.5 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09949/16.96, allocations: 43.18 MB / 4.396 GB, free: 165 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.267e-05/16.96, allocations: 9.875 kB / 4.396 GB, free: 165 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009738/16.97, allocations: 1.021 MB / 4.397 GB, free: 165 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/16.97, allocations: 0.9417 MB / 4.398 GB, free: 164.9 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/16.97, allocations: 92.81 kB / 4.398 GB, free: 164.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/17, allocations: 31.57 MB / 4.429 GB, free: 139.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-05/17, allocations: 13.34 kB / 4.429 GB, free: 139.6 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03737/17.04, allocations: 14.93 MB / 4.443 GB, free: 134.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0126/17.05, allocations: 2.749 MB / 4.446 GB, free: 134.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005943/17.06, allocations: 58.92 kB / 4.446 GB, free: 134.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01489/17.08, allocations: 465.2 kB / 4.447 GB, free: 134.2 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/17.08, allocations: 277.6 kB / 4.447 GB, free: 134.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009652/17.08, allocations: 200.1 kB / 4.447 GB, free: 134.2 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.03155/17.11, allocations: 10.02 MB / 4.457 GB, free: 133.8 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.04625/17.16, allocations: 6.646 MB / 4.463 GB, free: 133.4 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.005592/17.16, allocations: 1.35 MB / 4.465 GB, free: 133.3 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.04286/17.2, allocations: 17.5 MB / 4.482 GB, free: 128.5 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.502e-05/17.2, allocations: 5.156 kB / 4.482 GB, free: 128.5 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/17.22, allocations: 5.3 MB / 4.487 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05313/17.27, allocations: 5.737 MB / 4.492 GB, free: 126.4 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09497/17.36, allocations: 25.67 MB / 4.518 GB, free: 122.2 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02993/17.39, allocations: 10.32 MB / 4.528 GB, free: 121.2 MB / 0.9324 GB Notification: Performance of SimCode: time 2.014e-06/17.39, allocations: 0 / 4.528 GB, free: 121.2 MB / 0.9324 GB Notification: Performance of Templates: time 1.157/18.55, allocations: 266.4 MB / 4.788 GB, free: 197.4 MB / 0.9324 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_functions.c:1027: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.Examples.BoreholeOneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_functions.o] Error 1\n'