Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 183.4 kB / 7.803 MB, free: 120 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4666/0.4666, allocations: 90.86 MB / 99.08 MB, free: 3.281 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.4 MB / 342.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 95.38 kB / 415.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.03e-05, allocations: 8 kB / 493.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4707, allocations: 72.3 MB / 0.5529 GB, free: 46.35 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.498/3.969, allocations: 1.872 GB / 2.425 GB, free: 207.1 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/3.969, allocations: 88.7 kB / 2.425 GB, free: 207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.138/6.107, allocations: 0.6672 GB / 3.093 GB, free: 95.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.467e-05/6.107, allocations: 31.08 kB / 3.093 GB, free: 95.62 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003514/6.111, allocations: 1.393 MB / 3.094 GB, free: 95.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/6.111, allocations: 7.438 kB / 3.094 GB, free: 95.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/6.113, allocations: 401.5 kB / 3.094 GB, free: 95.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/6.115, allocations: 0.8656 MB / 3.095 GB, free: 94.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/6.115, allocations: 28.78 kB / 3.095 GB, free: 94.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/6.115, allocations: 61 kB / 3.095 GB, free: 94.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/6.116, allocations: 0.777 MB / 3.096 GB, free: 94.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/6.118, allocations: 0.9113 MB / 3.097 GB, free: 94.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/6.118, allocations: 0 / 3.097 GB, free: 94.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/6.118, allocations: 11.41 kB / 3.097 GB, free: 94.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/6.118, allocations: 38.11 kB / 3.097 GB, free: 94.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/6.123, allocations: 4.717 MB / 3.102 GB, free: 91.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/6.123, allocations: 0.6247 MB / 3.102 GB, free: 91.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/6.124, allocations: 451.8 kB / 3.103 GB, free: 91.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/6.125, allocations: 0.6804 MB / 3.103 GB, free: 91.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/6.125, allocations: 41.41 kB / 3.103 GB, free: 91.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.064e-06/6.125, allocations: 0 / 3.103 GB, free: 91.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001731/6.126, allocations: 0.7815 MB / 3.104 GB, free: 91.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/6.126, allocations: 59.31 kB / 3.104 GB, free: 91.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/6.127, allocations: 492.3 kB / 3.105 GB, free: 90.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/6.127, allocations: 32.7 kB / 3.105 GB, free: 90.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/6.127, allocations: 319.2 kB / 3.105 GB, free: 90.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/6.127, allocations: 238.2 kB / 3.105 GB, free: 90.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/6.127, allocations: 0 / 3.105 GB, free: 90.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/6.127, allocations: 388.9 kB / 3.106 GB, free: 90.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/6.128, allocations: 274.9 kB / 3.106 GB, free: 90.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/6.128, allocations: 360.6 kB / 3.106 GB, free: 90.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/6.129, allocations: 343.6 kB / 3.107 GB, free: 90.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/6.129, allocations: 3.281 kB / 3.107 GB, free: 90.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001137/6.13, allocations: 0.792 MB / 3.107 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/6.13, allocations: 10.41 kB / 3.107 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/6.13, allocations: 0 / 3.107 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/6.13, allocations: 7.062 kB / 3.107 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/6.131, allocations: 158.5 kB / 3.108 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/6.131, allocations: 9.859 kB / 3.108 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/6.132, allocations: 100 kB / 3.108 GB, free: 90.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/6.132, allocations: 23.66 kB / 3.108 GB, free: 90.08 MB / 0.6075 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 (82): * Single equations (assignments): 82 * 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.0001243/6.132, allocations: 117.7 kB / 3.108 GB, free: 89.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/6.132, allocations: 77.72 kB / 3.108 GB, free: 89.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/6.133, allocations: 0.8137 MB / 3.109 GB, free: 89.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/6.133, allocations: 9.25 kB / 3.109 GB, free: 89.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/6.133, allocations: 1.562 kB / 3.109 GB, free: 89.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009653/6.134, allocations: 0.8277 MB / 3.109 GB, free: 89.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/6.137, allocations: 1.779 MB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/6.137, allocations: 0 / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/6.138, allocations: 172.1 kB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/6.138, allocations: 3.938 kB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/6.138, allocations: 11.92 kB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/6.138, allocations: 7.562 kB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/6.138, allocations: 7.188 kB / 3.111 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00154/6.139, allocations: 1.187 MB / 3.113 GB, free: 89.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/6.14, allocations: 243.5 kB / 3.113 GB, free: 88.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/6.14, allocations: 10.25 kB / 3.113 GB, free: 88.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/6.141, allocations: 62.91 kB / 3.113 GB, free: 88.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/6.141, allocations: 37.17 kB / 3.113 GB, free: 88.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/6.141, allocations: 23.67 kB / 3.113 GB, free: 88.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 0.0003975/6.141, allocations: 384 kB / 3.113 GB, free: 88.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001137/6.142, allocations: 437.7 kB / 3.114 GB, free: 88.87 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001859/6.144, allocations: 1.774 MB / 3.115 GB, free: 88.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009225/6.145, allocations: 0.6747 MB / 3.116 GB, free: 88.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/6.145, allocations: 0 / 3.116 GB, free: 88.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/6.146, allocations: 374.4 kB / 3.116 GB, free: 88.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/6.148, allocations: 466.7 kB / 3.117 GB, free: 88.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/6.151, allocations: 1.765 MB / 3.119 GB, free: 88.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/6.152, allocations: 1.194 MB / 3.12 GB, free: 87.33 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/6.152, allocations: 0 / 3.12 GB, free: 87.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.03655/6.188, allocations: 25.79 MB / 3.145 GB, free: 86.8 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)