Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") [: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.8525/0.8525, allocations: 132.4 MB / 139.7 MB, free: 15.61 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.001396/0.001397, allocations: 169 kB / 171.6 MB, free: 2 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.732/1.732, 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.001593/0.001593, allocations: 108.9 kB / 444.4 MB, free: 9.375 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.6445/0.6445, allocations: 73.39 MB / 0.666 GB, free: 62.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.94, allocations: 2.128 GB / 2.794 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/5.94, allocations: 85.03 kB / 2.794 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.65/6.59, allocations: 112 MB / 2.903 GB, free: 154.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.157e-05/6.59, allocations: 12 kB / 2.904 GB, free: 154.7 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001152/6.592, allocations: 0.6003 MB / 2.904 GB, free: 154 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/6.592, allocations: 8.031 kB / 2.904 GB, free: 154 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/6.593, allocations: 147.3 kB / 2.904 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/6.594, allocations: 437 kB / 2.905 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/6.594, allocations: 8 kB / 2.905 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/6.594, allocations: 16 kB / 2.905 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003283/6.594, allocations: 169 kB / 2.905 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/6.594, allocations: 241.6 kB / 2.905 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/6.594, allocations: 0 / 2.905 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/6.594, allocations: 0 / 2.905 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/6.594, allocations: 8.5 kB / 2.905 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/6.596, allocations: 1.133 MB / 2.906 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/6.596, allocations: 190.9 kB / 2.906 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/6.596, allocations: 76.84 kB / 2.906 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/6.596, allocations: 8 kB / 2.906 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/6.596, allocations: 34.56 kB / 2.906 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/6.597, allocations: 0 / 2.906 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.000692/6.597, allocations: 228.9 kB / 2.907 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/6.597, allocations: 55.41 kB / 2.907 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/6.597, allocations: 235.6 kB / 2.907 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/6.598, allocations: 25.7 kB / 2.907 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/6.598, allocations: 160.1 kB / 2.907 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/6.598, allocations: 67 kB / 2.907 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/6.598, allocations: 0 / 2.907 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/6.598, allocations: 338.8 kB / 2.908 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/6.598, allocations: 55.98 kB / 2.908 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/6.598, allocations: 107.5 kB / 2.908 GB, free: 150.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/6.598, allocations: 71.91 kB / 2.908 GB, free: 150 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/6.598, allocations: 4 kB / 2.908 GB, free: 150 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002756/6.598, allocations: 227.1 kB / 2.908 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/6.598, allocations: 4 kB / 2.908 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/6.598, allocations: 4 kB / 2.908 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/6.598, allocations: 0 / 2.908 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/6.599, allocations: 43.92 kB / 2.908 GB, free: 149.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/6.599, allocations: 7.938 kB / 2.908 GB, free: 149.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/6.599, allocations: 24.02 kB / 2.908 GB, free: 149.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/6.599, allocations: 12 kB / 2.908 GB, free: 149.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.41e-05/6.599, allocations: 108.8 kB / 2.908 GB, free: 149.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/6.599, allocations: 31.62 kB / 2.908 GB, free: 149.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/6.599, allocations: 34.03 kB / 2.908 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/6.599, allocations: 0 / 2.908 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/6.599, allocations: 0 / 2.908 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/6.599, allocations: 4 kB / 2.908 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/6.6, allocations: 346.4 kB / 2.909 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/6.6, allocations: 4 kB / 2.909 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/6.6, allocations: 35.98 kB / 2.909 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/6.6, allocations: 44.81 kB / 2.909 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/6.6, allocations: 0 / 2.909 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/6.601, allocations: 1.346 MB / 2.91 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/6.601, allocations: 4.031 kB / 2.91 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004467/6.602, allocations: 390.4 kB / 2.91 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/6.602, allocations: 132.6 kB / 2.91 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/6.602, allocations: 0 / 2.91 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/6.602, allocations: 7.984 kB / 2.91 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/6.602, allocations: 15.98 kB / 2.91 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/6.602, allocations: 4 kB / 2.911 GB, free: 147 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001474/6.602, allocations: 195.1 kB / 2.911 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005628/6.603, allocations: 143.7 kB / 2.911 GB, free: 146.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/6.604, allocations: 0.8102 MB / 2.912 GB, free: 146 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002788/6.604, allocations: 148.7 kB / 2.912 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.604, allocations: 0 / 2.912 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/6.604, allocations: 182 kB / 2.912 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/6.605, allocations: 166.5 kB / 2.912 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/6.607, allocations: 0.583 MB / 2.913 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/6.607, allocations: 0.8306 MB / 2.913 GB, free: 144 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/6.607, allocations: 4 kB / 2.913 GB, free: 144 MB / 0.6198 GB Notification: Performance of Templates: time 0.01532/6.622, allocations: 9.578 MB / 2.923 GB, free: 134.4 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)