Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7381/0.7381, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001145/0.001145, allocations: 189.2 kB / 164.4 MB, free: 6.891 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.697/1.697, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.001044/0.001044, allocations: 86.75 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.518e-06, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1897, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.471/5.661, allocations: 2.152 GB / 2.773 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/5.661, allocations: 84.7 kB / 2.773 GB, free: 60.38 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/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 2.407/8.068, allocations: 0.5976 GB / 3.37 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001932/8.068, allocations: 30.66 kB / 3.37 GB, free: 104.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007151/8.076, allocations: 1.575 MB / 3.372 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/8.076, allocations: 9.438 kB / 3.372 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/8.079, allocations: 361.2 kB / 3.372 GB, free: 104 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/8.082, allocations: 0.9171 MB / 3.373 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/8.082, allocations: 33.25 kB / 3.373 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/8.082, allocations: 59.41 kB / 3.373 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002465/8.085, allocations: 1.018 MB / 3.374 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/8.087, allocations: 0.9832 MB / 3.375 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/8.087, allocations: 0 / 3.375 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/8.087, allocations: 6.625 kB / 3.375 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/8.087, allocations: 63.86 kB / 3.375 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008808/8.096, allocations: 5.169 MB / 3.38 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/8.097, allocations: 0.8553 MB / 3.381 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/8.098, allocations: 0.5402 MB / 3.382 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/8.099, allocations: 102.3 kB / 3.382 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007166/8.099, allocations: 482 kB / 3.382 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 4.118e-06/8.099, allocations: 0 / 3.382 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.00185/8.101, allocations: 0.8336 MB / 3.383 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/8.101, allocations: 58.28 kB / 3.383 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/8.102, allocations: 411.4 kB / 3.384 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/8.102, allocations: 29.58 kB / 3.384 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/8.102, allocations: 389.8 kB / 3.384 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/8.103, allocations: 250.4 kB / 3.384 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/8.103, allocations: 3.031 kB / 3.384 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001348/8.103, allocations: 381.9 kB / 3.385 GB, free: 99.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/8.103, allocations: 318.5 kB / 3.385 GB, free: 99.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/8.104, allocations: 439.3 kB / 3.385 GB, free: 99.87 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/8.104, allocations: 399.1 kB / 3.386 GB, free: 99.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/8.104, allocations: 3.781 kB / 3.386 GB, free: 99.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001399/8.106, allocations: 0.8697 MB / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/8.106, allocations: 14.42 kB / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/8.106, allocations: 0 / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/8.106, allocations: 7.344 kB / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/8.107, allocations: 157.9 kB / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/8.107, allocations: 10.88 kB / 3.387 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/8.108, allocations: 115 kB / 3.387 GB, free: 99.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/8.108, allocations: 27.19 kB / 3.387 GB, free: 99.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (90): * Single equations (assignments): 90 * 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.0002017/8.108, allocations: 120.1 kB / 3.387 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/8.108, allocations: 72.22 kB / 3.387 GB, free: 99.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/8.109, allocations: 96.58 kB / 3.387 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/8.109, allocations: 11.47 kB / 3.387 GB, free: 99.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/8.109, allocations: 3.031 kB / 3.387 GB, free: 99.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/8.11, allocations: 1.074 MB / 3.388 GB, free: 99.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/8.113, allocations: 1.857 MB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/8.113, allocations: 3.391 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/8.114, allocations: 178.6 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/8.114, allocations: 5.062 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/8.114, allocations: 5.875 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/8.114, allocations: 10.95 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/8.114, allocations: 3.906 kB / 3.39 GB, free: 98.85 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002216/8.117, allocations: 1.484 MB / 3.392 GB, free: 98.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007993/8.117, allocations: 263.5 kB / 3.392 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/8.118, allocations: 3.625 kB / 3.392 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/8.119, allocations: 91.59 kB / 3.392 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/8.119, allocations: 39.59 kB / 3.392 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/8.119, allocations: 24.44 kB / 3.392 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004675/8.12, allocations: 326.4 kB / 3.392 GB, free: 98.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001892/8.122, allocations: 460.7 kB / 3.393 GB, free: 98.38 MB / 0.6511 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 (76): * Single equations (assignments): 76 * 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.002738/8.124, allocations: 1.842 MB / 3.395 GB, free: 97.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001164/8.126, allocations: 0.7764 MB / 3.395 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.126, allocations: 0 / 3.395 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/8.126, allocations: 424.1 kB / 3.396 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/8.128, allocations: 478 kB / 3.396 GB, free: 97.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/8.132, allocations: 1.805 MB / 3.398 GB, free: 97.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000888/8.133, allocations: 1.25 MB / 3.399 GB, free: 96.77 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/8.133, allocations: 0 / 3.399 GB, free: 96.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.0415/8.174, allocations: 27.17 MB / 3.426 GB, free: 95.93 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)