Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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.1.4-maint.8.1.x/package.mo): time 1.488/1.488, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001051/0.001051, allocations: 189.3 kB / 366.3 MB, free: 1.93 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.548/1.548, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.001034/0.001034, allocations: 87.08 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.843e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6789, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9693/1.648, allocations: 407.5 MB / 1.37 GB, free: 77.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/1.649, allocations: 83.77 kB / 1.371 GB, free: 77.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.896/9.545, allocations: 2.183 GB / 3.553 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001257/9.546, allocations: 191 kB / 3.554 GB, free: 148.3 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02392/9.57, allocations: 6.04 MB / 3.56 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/9.57, allocations: 7.906 kB / 3.56 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/9.576, allocations: 0.8465 MB / 3.56 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02668/9.603, allocations: 7.807 MB / 3.568 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007091/9.604, allocations: 194.8 kB / 3.568 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/9.608, allocations: 365.3 kB / 3.569 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02289/9.631, allocations: 6.504 MB / 3.575 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/9.66, allocations: 7.585 MB / 3.582 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005456/9.66, allocations: 26 kB / 3.582 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/9.663, allocations: 13.22 kB / 3.582 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002503/9.664, allocations: 178 kB / 3.583 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06616/9.73, allocations: 33.9 MB / 3.616 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/9.738, allocations: 3.963 MB / 3.619 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005445/9.743, allocations: 3.166 MB / 3.623 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/9.745, allocations: 0.9594 MB / 3.624 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005549/9.75, allocations: 2.247 MB / 3.626 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 8.896e-06/9.75, allocations: 7.078 kB / 3.626 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.0137/9.764, allocations: 4.747 MB / 3.63 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/9.764, allocations: 84.44 kB / 3.63 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01293/9.777, allocations: 4.349 MB / 3.635 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/9.778, allocations: 30.64 kB / 3.635 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005086/9.783, allocations: 2.421 MB / 3.637 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003376/9.787, allocations: 1.073 MB / 3.638 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/9.788, allocations: 3.438 kB / 3.638 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0007459/9.789, allocations: 493.3 kB / 3.639 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/9.793, allocations: 2.062 MB / 3.641 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/9.798, allocations: 3.559 MB / 3.644 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/9.805, allocations: 3.115 MB / 3.647 GB, free: 97.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.436e-05/9.805, allocations: 16 kB / 3.647 GB, free: 97.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01683/9.822, allocations: 6.454 MB / 3.653 GB, free: 91.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/9.822, allocations: 6.734 kB / 3.653 GB, free: 91.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/9.822, allocations: 52 kB / 3.654 GB, free: 91.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/9.824, allocations: 436.1 kB / 3.654 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/9.828, allocations: 1.022 MB / 3.655 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/9.834, allocations: 5.018 MB / 3.66 GB, free: 84.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/9.843, allocations: 0.5919 MB / 3.66 GB, free: 83.78 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/9.845, allocations: 220 kB / 3.661 GB, free: 83.57 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002616/9.847, allocations: 246.7 kB / 3.661 GB, free: 83.32 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003264/9.851, allocations: 482 kB / 3.661 GB, free: 82.85 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/9.865, allocations: 5.292 MB / 3.666 GB, free: 77.55 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.092e-05/9.865, allocations: 28 kB / 3.666 GB, free: 77.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/9.865, allocations: 8 kB / 3.667 GB, free: 77.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008398/9.873, allocations: 4.634 MB / 3.671 GB, free: 72.79 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/9.909, allocations: 11.51 MB / 3.682 GB, free: 61.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/9.909, allocations: 4 kB / 3.682 GB, free: 61.22 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/9.913, allocations: 0.6108 MB / 3.683 GB, free: 60.62 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009857/9.914, allocations: 369.3 kB / 3.683 GB, free: 60.26 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007077/9.915, allocations: 51.22 kB / 3.683 GB, free: 60.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/9.92, allocations: 4.927 MB / 3.688 GB, free: 55.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/9.92, allocations: 0 / 3.688 GB, free: 55.08 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01523/9.936, allocations: 7.947 MB / 3.696 GB, free: 47.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006009/9.942, allocations: 1.256 MB / 3.697 GB, free: 45.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003048/9.945, allocations: 15.98 kB / 3.697 GB, free: 45.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007113/9.952, allocations: 315.9 kB / 3.697 GB, free: 45.45 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007092/9.953, allocations: 178.1 kB / 3.698 GB, free: 45.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008328/9.953, allocations: 139.8 kB / 3.698 GB, free: 45.13 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01057/9.964, allocations: 3.311 MB / 3.701 GB, free: 41.83 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01431/9.978, allocations: 2.018 MB / 3.703 GB, free: 39.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/9.981, allocations: 0.778 MB / 3.704 GB, free: 39.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009957/9.991, allocations: 5.1 MB / 3.709 GB, free: 34.06 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/9.991, allocations: 4 kB / 3.709 GB, free: 34.05 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004782/9.996, allocations: 2.399 MB / 3.711 GB, free: 31.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0162/10.01, allocations: 2.373 MB / 3.713 GB, free: 29.45 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/10.05, allocations: 11.66 MB / 3.725 GB, free: 17.88 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01089/10.06, allocations: 5.16 MB / 3.73 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/10.06, allocations: 0 / 3.73 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.7274/10.79, allocations: 95.92 MB / 3.823 GB, free: 222.7 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)