Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.769/0.769, allocations: 132.4 MB / 139.7 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001099/0.001099, allocations: 168.5 kB / 171.6 MB, free: 2.008 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001653/0.001653, allocations: 118.3 kB / 444.4 MB, free: 9.391 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4841/0.4841, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6973/1.181, allocations: 351.1 MB / 1.009 GB, free: 89.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.182, allocations: 80.45 kB / 1.009 GB, free: 89.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.1416/1.323, allocations: 73.42 MB / 1.081 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.734e-05/1.323, allocations: 4 kB / 1.081 GB, free: 24.36 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.00105/1.324, allocations: 0.6562 MB / 1.081 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.325, allocations: 8.031 kB / 1.081 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/1.325, allocations: 47.52 kB / 1.081 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.338, allocations: 6.357 MB / 1.088 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.338, allocations: 8 kB / 1.088 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/1.338, allocations: 16 kB / 1.088 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003212/1.338, allocations: 129 kB / 1.088 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.339, allocations: 245.9 kB / 1.088 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.339, allocations: 4 kB / 1.088 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.339, allocations: 3.906 kB / 1.088 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/1.339, allocations: 8 kB / 1.088 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/1.34, allocations: 1.367 MB / 1.089 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.341, allocations: 101.6 kB / 1.089 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/1.341, allocations: 64.84 kB / 1.089 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.342, allocations: 0.7677 MB / 1.09 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/1.342, allocations: 95.31 kB / 1.09 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 3.015e-06/1.342, allocations: 0 / 1.09 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003305/1.342, allocations: 143.9 kB / 1.09 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.342, allocations: 55.41 kB / 1.09 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/1.343, allocations: 271.4 kB / 1.091 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.343, allocations: 33.7 kB / 1.091 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/1.343, allocations: 171.9 kB / 1.091 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/1.343, allocations: 51.3 kB / 1.091 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/1.343, allocations: 0 / 1.091 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/1.343, allocations: 338.7 kB / 1.091 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/1.343, allocations: 48.22 kB / 1.091 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/1.343, allocations: 121.6 kB / 1.091 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/1.343, allocations: 71.97 kB / 1.092 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.343, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003758/1.344, allocations: 218.4 kB / 1.092 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.344, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.344, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.344, allocations: 4.312 kB / 1.092 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.344, allocations: 63.91 kB / 1.092 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.344, allocations: 4 kB / 1.092 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/1.344, allocations: 43.72 kB / 1.092 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/1.344, allocations: 15.94 kB / 1.092 GB, free: 12.4 MB / 0.5886 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 7.772e-05/1.344, allocations: 108.9 kB / 1.092 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/1.344, allocations: 31.62 kB / 1.092 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/1.345, allocations: 148.3 kB / 1.092 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.345, allocations: 4 kB / 1.092 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.345, allocations: 0 / 1.092 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002468/1.345, allocations: 443.7 kB / 1.093 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/1.345, allocations: 336.4 kB / 1.093 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.345, allocations: 0 / 1.093 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/1.346, allocations: 39.97 kB / 1.093 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.346, allocations: 0 / 1.093 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.346, allocations: 3.938 kB / 1.093 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.346, allocations: 7.906 kB / 1.093 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.346, allocations: 4.031 kB / 1.093 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000316/1.346, allocations: 246 kB / 1.093 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.346, allocations: 132.8 kB / 1.093 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/1.346, allocations: 4 kB / 1.093 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.346, allocations: 19.98 kB / 1.093 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/1.346, allocations: 19.88 kB / 1.093 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/1.346, allocations: 8 kB / 1.093 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000173/1.347, allocations: 203.1 kB / 1.094 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004684/1.347, allocations: 123.8 kB / 1.094 GB, free: 10.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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.0003733/1.348, allocations: 249.8 kB / 1.094 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000242/1.348, allocations: 153.6 kB / 1.094 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.348, allocations: 3.938 kB / 1.094 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/1.348, allocations: 55.98 kB / 1.094 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/1.349, allocations: 167.3 kB / 1.094 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.35, allocations: 0.5214 MB / 1.095 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.35, allocations: 0.8297 MB / 1.096 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/1.35, allocations: 0 / 1.096 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of Templates: time 0.01156/1.362, allocations: 6.156 MB / 1.102 GB, free: 2.223 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)