Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7372/0.7372, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 189.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 399.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 82.48 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.085e-06, allocations: 4 kB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 76.74 MB / 0.6209 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.985/1.157, allocations: 354.8 MB / 0.9673 GB, free: 127 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.157, allocations: 84.52 kB / 0.9674 GB, free: 127 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.1824/1.34, allocations: 99.15 MB / 1.064 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.423e-05/1.34, allocations: 15.92 kB / 1.064 GB, free: 32.71 MB / 0.6198 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.001235/1.341, allocations: 0.6568 MB / 1.065 GB, free: 32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.341, allocations: 8.031 kB / 1.065 GB, free: 32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/1.342, allocations: 47.44 kB / 1.065 GB, free: 31.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/1.355, allocations: 6.498 MB / 1.071 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/1.355, allocations: 12 kB / 1.071 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/1.356, allocations: 16 kB / 1.071 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003545/1.356, allocations: 140.9 kB / 1.071 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/1.356, allocations: 244.4 kB / 1.072 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.356, allocations: 0 / 1.072 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/1.356, allocations: 0 / 1.072 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/1.356, allocations: 12 kB / 1.072 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/1.358, allocations: 1.402 MB / 1.073 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/1.359, allocations: 106.7 kB / 1.073 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/1.359, allocations: 44.86 kB / 1.073 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/1.359, allocations: 93.09 kB / 1.073 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/1.359, allocations: 95.72 kB / 1.073 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/1.359, allocations: 7.938 kB / 1.073 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003627/1.359, allocations: 133.3 kB / 1.074 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.36, allocations: 51.41 kB / 1.074 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/1.36, allocations: 275.4 kB / 1.074 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/1.36, allocations: 25.7 kB / 1.074 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/1.36, allocations: 183.8 kB / 1.074 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/1.36, allocations: 47.3 kB / 1.074 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.36, allocations: 4 kB / 1.074 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/1.36, allocations: 342.7 kB / 1.074 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/1.36, allocations: 48.23 kB / 1.074 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.36, allocations: 121.7 kB / 1.075 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.361, allocations: 71.89 kB / 1.075 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.361, allocations: 4 kB / 1.075 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004153/1.361, allocations: 217.1 kB / 1.075 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.361, allocations: 4 kB / 1.075 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.361, allocations: 7.906 kB / 1.075 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.361, allocations: 4 kB / 1.075 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/1.361, allocations: 64.22 kB / 1.075 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.361, allocations: 4 kB / 1.075 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/1.362, allocations: 27.83 kB / 1.075 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/1.362, allocations: 15.98 kB / 1.075 GB, free: 21.31 MB / 0.6198 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 (28): * Single equations (assignments): 27 * 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 8.629e-05/1.362, allocations: 128.7 kB / 1.075 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/1.362, allocations: 31.62 kB / 1.075 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/1.362, allocations: 140.3 kB / 1.075 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.362, allocations: 4 kB / 1.075 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.362, allocations: 0 / 1.075 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002362/1.362, allocations: 446.4 kB / 1.076 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/1.363, allocations: 301.9 kB / 1.076 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.363, allocations: 4 kB / 1.076 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.363, allocations: 35.97 kB / 1.076 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/1.363, allocations: 0 / 1.076 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.363, allocations: 4 kB / 1.076 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.363, allocations: 3.938 kB / 1.076 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.363, allocations: 0 / 1.076 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003325/1.363, allocations: 228.5 kB / 1.076 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.364, allocations: 128.8 kB / 1.076 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/1.364, allocations: 0 / 1.076 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/1.364, allocations: 23.91 kB / 1.076 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/1.364, allocations: 11.98 kB / 1.076 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.364, allocations: 11.98 kB / 1.076 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001837/1.364, allocations: 211.1 kB / 1.077 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004943/1.365, allocations: 131.9 kB / 1.077 GB, free: 19.34 MB / 0.6198 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.0004203/1.365, allocations: 250.1 kB / 1.077 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000264/1.365, allocations: 153.8 kB / 1.077 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.365, allocations: 0 / 1.077 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/1.365, allocations: 59.92 kB / 1.077 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/1.366, allocations: 165.7 kB / 1.077 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/1.367, allocations: 0.5077 MB / 1.078 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/1.368, allocations: 0.8299 MB / 1.079 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/1.368, allocations: 0 / 1.079 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.011/1.379, allocations: 6.22 MB / 1.085 GB, free: 11.16 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)