Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") [: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.574/1.574, allocations: 289.8 MB / 297.1 MB, free: 12.57 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.8 kB / 366.3 MB, free: 11.88 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 0.6256 GB, free: 1.977 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009844/0.0009847, allocations: 89.78 kB / 0.7395 GB, free: 47.1 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 8.375e-06/8.395e-06, allocations: 4 kB / 0.859 GB, free: 7.145 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.779, allocations: 116.3 MB / 0.9725 GB, free: 81.4 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9624/1.741, allocations: 395.3 MB / 1.359 GB, free: 212.3 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.742, allocations: 84.67 kB / 1.359 GB, free: 212.2 MB / 0.8621 GB Notification: Performance of FrontEnd: time 0.1892/1.931, allocations: 103.5 MB / 1.46 GB, free: 107.8 MB / 0.8621 GB Notification: Performance of Transformations before backend: time 2.635e-05/1.931, allocations: 4 kB / 1.46 GB, free: 107.8 MB / 0.8621 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001007/1.932, allocations: 0.6608 MB / 1.46 GB, free: 107 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.932, allocations: 8.031 kB / 1.46 GB, free: 107 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/1.932, allocations: 51.42 kB / 1.46 GB, free: 107 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/1.945, allocations: 6.681 MB / 1.467 GB, free: 100.2 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/1.946, allocations: 8 kB / 1.467 GB, free: 100.2 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/1.946, allocations: 16 kB / 1.467 GB, free: 100.2 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003418/1.946, allocations: 141 kB / 1.467 GB, free: 100 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/1.946, allocations: 248.3 kB / 1.467 GB, free: 99.79 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.946, allocations: 4 kB / 1.467 GB, free: 99.78 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/1.946, allocations: 7.984 kB / 1.467 GB, free: 99.77 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.946, allocations: 4 kB / 1.467 GB, free: 99.77 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.948, allocations: 1.422 MB / 1.469 GB, free: 98.23 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/1.948, allocations: 114.7 kB / 1.469 GB, free: 98.11 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/1.948, allocations: 53.05 kB / 1.469 GB, free: 98.06 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/1.948, allocations: 93.09 kB / 1.469 GB, free: 97.95 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/1.949, allocations: 95.38 kB / 1.469 GB, free: 97.84 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/1.949, allocations: 0 / 1.469 GB, free: 97.84 MB / 0.8621 GB Notification: Performance of matching and sorting (n=15): time 0.0003254/1.949, allocations: 137.2 kB / 1.469 GB, free: 97.7 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/1.949, allocations: 55.41 kB / 1.469 GB, free: 97.64 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/1.949, allocations: 275.5 kB / 1.47 GB, free: 97.36 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.949, allocations: 29.7 kB / 1.47 GB, free: 97.32 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/1.949, allocations: 179.8 kB / 1.47 GB, free: 97.14 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.949, allocations: 59.22 kB / 1.47 GB, free: 97.09 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/1.949, allocations: 0 / 1.47 GB, free: 97.09 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/1.949, allocations: 342.7 kB / 1.47 GB, free: 96.74 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/1.949, allocations: 48 kB / 1.47 GB, free: 96.7 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/1.95, allocations: 126.4 kB / 1.47 GB, free: 96.54 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/1.95, allocations: 69.52 kB / 1.47 GB, free: 96.47 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.95, allocations: 4 kB / 1.47 GB, free: 96.47 MB / 0.8621 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003462/1.95, allocations: 226.7 kB / 1.471 GB, free: 96.24 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.95, allocations: 4.938 kB / 1.471 GB, free: 96.24 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.95, allocations: 4.312 kB / 1.471 GB, free: 96.23 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.95, allocations: 8 kB / 1.471 GB, free: 96.23 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/1.95, allocations: 67.89 kB / 1.471 GB, free: 96.16 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.95, allocations: 7.938 kB / 1.471 GB, free: 96.15 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/1.951, allocations: 39.73 kB / 1.471 GB, free: 96.11 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/1.951, allocations: 8 kB / 1.471 GB, free: 96.11 MB / 0.8621 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/1.951, allocations: 118.5 kB / 1.471 GB, free: 95.98 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.951, allocations: 31.62 kB / 1.471 GB, free: 95.95 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/1.951, allocations: 147.7 kB / 1.471 GB, free: 95.8 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.951, allocations: 0 / 1.471 GB, free: 95.8 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.951, allocations: 8 kB / 1.471 GB, free: 95.8 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002257/1.951, allocations: 439.7 kB / 1.471 GB, free: 95.28 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/1.952, allocations: 309.9 kB / 1.472 GB, free: 94.94 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.952, allocations: 0 / 1.472 GB, free: 94.94 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.952, allocations: 35.92 kB / 1.472 GB, free: 94.91 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.952, allocations: 7.984 kB / 1.472 GB, free: 94.9 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.952, allocations: 0 / 1.472 GB, free: 94.9 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.952, allocations: 7.891 kB / 1.472 GB, free: 94.89 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.952, allocations: 4 kB / 1.472 GB, free: 94.89 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003016/1.952, allocations: 224.6 kB / 1.472 GB, free: 94.65 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.952, allocations: 124.8 kB / 1.472 GB, free: 94.51 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/1.953, allocations: 8 kB / 1.472 GB, free: 94.5 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/1.953, allocations: 23.92 kB / 1.472 GB, free: 94.48 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/1.953, allocations: 15.88 kB / 1.472 GB, free: 94.46 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.953, allocations: 15.98 kB / 1.472 GB, free: 94.45 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.0001613/1.953, allocations: 211 kB / 1.472 GB, free: 94.24 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.0004543/1.953, allocations: 127.8 kB / 1.473 GB, free: 94.12 MB / 0.8621 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/1.954, allocations: 234.2 kB / 1.473 GB, free: 93.88 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.0002514/1.954, allocations: 162 kB / 1.473 GB, free: 93.72 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.954, allocations: 4.125 kB / 1.473 GB, free: 93.71 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/1.954, allocations: 55.92 kB / 1.473 GB, free: 93.66 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/1.955, allocations: 172.9 kB / 1.473 GB, free: 93.5 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/1.956, allocations: 0.5046 MB / 1.474 GB, free: 92.96 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/1.956, allocations: 0.8376 MB / 1.474 GB, free: 92.09 MB / 0.8621 GB Notification: Performance of SimCode: time 2.8e-07/1.956, allocations: 0 / 1.474 GB, free: 92.09 MB / 0.8621 GB Notification: Performance of Templates: time 0.0101/1.966, allocations: 6.298 MB / 1.481 GB, free: 85.89 MB / 0.8621 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)