Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") [: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.7087/0.7087, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001357/0.001357, allocations: 168.4 kB / 171.6 MB, free: 1.984 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.4/1.4, allocations: 170.5 MB / 373.8 MB, free: 15.94 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.001753/0.001753, allocations: 116.6 kB / 444.4 MB, free: 9.477 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.6888/0.6888, allocations: 73.4 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/6.514, allocations: 2.135 GB / 2.801 GB, free: 61.72 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/6.514, allocations: 83.95 kB / 2.801 GB, free: 61.64 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.813/8.327, allocations: 363.9 MB / 3.156 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001311/8.327, allocations: 22.34 kB / 3.156 GB, free: 122.2 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.005138/8.333, allocations: 1.233 MB / 3.158 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/8.333, allocations: 9.875 kB / 3.158 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/8.336, allocations: 326.3 kB / 3.158 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/8.338, allocations: 0.785 MB / 3.159 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/8.338, allocations: 24.38 kB / 3.159 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/8.339, allocations: 45.73 kB / 3.159 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/8.34, allocations: 0.6575 MB / 3.159 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/8.342, allocations: 0.6645 MB / 3.16 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/8.342, allocations: 0 / 3.16 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/8.342, allocations: 1.688 kB / 3.16 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/8.342, allocations: 51.73 kB / 3.16 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/8.348, allocations: 3.375 MB / 3.163 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009617/8.349, allocations: 0.6052 MB / 3.164 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/8.35, allocations: 347.2 kB / 3.164 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/8.35, allocations: 103.3 kB / 3.164 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/8.35, allocations: 356.1 kB / 3.165 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/8.35, allocations: 0 / 3.165 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58): time 0.00159/8.352, allocations: 0.6039 MB / 3.165 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/8.352, allocations: 55.69 kB / 3.165 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/8.353, allocations: 396.1 kB / 3.166 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.181e-05/8.353, allocations: 25.7 kB / 3.166 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/8.353, allocations: 289.2 kB / 3.166 GB, free: 119 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/8.353, allocations: 196.3 kB / 3.166 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/8.353, allocations: 2.734 kB / 3.166 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001208/8.353, allocations: 374.9 kB / 3.167 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/8.354, allocations: 218.6 kB / 3.167 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/8.354, allocations: 324.8 kB / 3.167 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/8.355, allocations: 279.9 kB / 3.167 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/8.355, allocations: 3.375 kB / 3.167 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001056/8.356, allocations: 0.6334 MB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/8.356, allocations: 4.312 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.356, allocations: 6.938 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/8.356, allocations: 7.562 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/8.356, allocations: 125.4 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/8.356, allocations: 6.344 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/8.358, allocations: 76.3 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/8.358, allocations: 18.91 kB / 3.168 GB, free: 118.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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 0.0001724/8.358, allocations: 120.9 kB / 3.168 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/8.358, allocations: 64.28 kB / 3.168 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/8.358, allocations: 83.78 kB / 3.168 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/8.358, allocations: 7.75 kB / 3.168 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/8.358, allocations: 3.844 kB / 3.168 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008069/8.359, allocations: 0.6929 MB / 3.169 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/8.362, allocations: 1.548 MB / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/8.362, allocations: 3.906 kB / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/8.363, allocations: 151.1 kB / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/8.363, allocations: 0 / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/8.363, allocations: 7.531 kB / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/8.363, allocations: 2.75 kB / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/8.363, allocations: 0 / 3.171 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001437/8.364, allocations: 1.072 MB / 3.172 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/8.365, allocations: 229.5 kB / 3.172 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/8.365, allocations: 3.688 kB / 3.172 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/8.366, allocations: 61.78 kB / 3.172 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/8.366, allocations: 30.66 kB / 3.172 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/8.366, allocations: 25.17 kB / 3.172 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003877/8.366, allocations: 307.8 kB / 3.172 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001502/8.368, allocations: 335.7 kB / 3.173 GB, free: 117.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * 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 Backend phase and start with SimCode phase: time 0.00221/8.37, allocations: 1.451 MB / 3.174 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009129/8.371, allocations: 0.5412 MB / 3.175 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/8.371, allocations: 3.938 kB / 3.175 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/8.371, allocations: 295.6 kB / 3.175 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/8.374, allocations: 426.7 kB / 3.175 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/8.377, allocations: 1.481 MB / 3.177 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/8.378, allocations: 1.106 MB / 3.178 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/8.378, allocations: 3.562 kB / 3.178 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.04647/8.425, allocations: 21.9 MB / 3.199 GB, free: 114.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)