Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.557/1.557, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001253, allocations: 175.4 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001027, allocations: 97.05 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.849e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7388, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9691/1.708, allocations: 420.8 MB / 1.375 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.708, allocations: 104.5 kB / 1.375 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.591/3.3, allocations: 0.5539 GB / 1.929 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001093/3.3, allocations: 39.44 kB / 1.929 GB, free: 15.84 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002332/3.302, allocations: 1.405 MB / 1.93 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/3.302, allocations: 12.53 kB / 1.93 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/3.303, allocations: 154.2 kB / 1.93 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/3.305, allocations: 1.395 MB / 1.932 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/3.305, allocations: 31.91 kB / 1.932 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/3.305, allocations: 52 kB / 1.932 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009232/3.306, allocations: 0.5546 MB / 1.932 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/3.307, allocations: 0.7451 MB / 1.933 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/3.307, allocations: 4 kB / 1.933 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/3.307, allocations: 0 / 1.933 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/3.307, allocations: 31.98 kB / 1.933 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/3.311, allocations: 4.364 MB / 1.937 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/3.312, allocations: 483.5 kB / 1.938 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/3.313, allocations: 310.1 kB / 1.938 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/3.313, allocations: 0.5939 MB / 1.939 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/3.313, allocations: 43.06 kB / 1.939 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 1.953e-06/3.313, allocations: 0 / 1.939 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.001367/3.314, allocations: 0.634 MB / 1.939 GB, free: 4.59 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/3.314, allocations: 59.91 kB / 1.939 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/3.315, allocations: 0.7041 MB / 1.94 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/3.315, allocations: 29.81 kB / 1.94 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/3.315, allocations: 383.3 kB / 1.94 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/3.316, allocations: 193.1 kB / 1.941 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/3.316, allocations: 4 kB / 1.941 GB, free: 3.195 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/3.316, allocations: 330 kB / 1.941 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/3.316, allocations: 181.5 kB / 1.941 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/3.316, allocations: 384.2 kB / 1.941 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/3.317, allocations: 295 kB / 1.942 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/3.317, allocations: 0 / 1.942 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001444/3.318, allocations: 0.7935 MB / 1.942 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004631/3.319, allocations: 1.314 MB / 1.944 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/3.319, allocations: 7.984 kB / 1.944 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/3.319, allocations: 123.4 kB / 1.944 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/3.32, allocations: 127.8 kB / 1.944 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/3.324, allocations: 4.647 MB / 1.949 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/3.325, allocations: 95.42 kB / 1.949 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/3.325, allocations: 35.98 kB / 1.949 GB, free: 10.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/3.325, allocations: 4.938 kB / 1.949 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/3.326, allocations: 0.6493 MB / 1.949 GB, free: 9.648 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/3.326, allocations: 4 kB / 1.949 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/3.327, allocations: 127.7 kB / 1.949 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/3.327, allocations: 127.8 kB / 1.95 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/3.332, allocations: 5.499 MB / 1.955 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/3.333, allocations: 87.48 kB / 1.955 GB, free: 3.336 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/3.333, allocations: 28 kB / 1.955 GB, free: 3.309 MB / 0.948 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 (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/3.333, allocations: 120.8 kB / 1.955 GB, free: 3.184 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/3.333, allocations: 95.02 kB / 1.955 GB, free: 3.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/3.335, allocations: 0.7079 MB / 1.956 GB, free: 2.367 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/3.335, allocations: 4 kB / 1.956 GB, free: 2.363 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/3.335, allocations: 4 kB / 1.956 GB, free: 2.359 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/3.336, allocations: 0.6505 MB / 1.957 GB, free: 1.672 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/3.339, allocations: 1.745 MB / 1.958 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/3.339, allocations: 4 kB / 1.958 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/3.34, allocations: 87.89 kB / 1.958 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/3.34, allocations: 111.5 kB / 1.958 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/3.34, allocations: 4 kB / 1.958 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/3.343, allocations: 4.632 MB / 1.963 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.343, allocations: 0 / 1.963 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001832/3.345, allocations: 1.089 MB / 1.964 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/3.346, allocations: 267.7 kB / 1.964 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/3.346, allocations: 0 / 1.964 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/3.346, allocations: 59.78 kB / 1.964 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/3.346, allocations: 32.45 kB / 1.964 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/3.346, allocations: 27.98 kB / 1.964 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007634/3.347, allocations: 0.5343 MB / 1.965 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002572/3.35, allocations: 0.752 MB / 1.966 GB, free: 7.805 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/3.351, allocations: 0.6641 MB / 1.966 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002339/3.353, allocations: 1.607 MB / 1.968 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/3.353, allocations: 0 / 1.968 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/3.354, allocations: 0.5619 MB / 1.968 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/3.356, allocations: 490.9 kB / 1.969 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/3.359, allocations: 1.523 MB / 1.97 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/3.36, allocations: 1.191 MB / 1.972 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of SimCode: time 9.02e-07/3.36, allocations: 0 / 1.972 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of Templates: time 0.4793/3.84, allocations: 26.11 MB / 1.997 GB, free: 287.6 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)