Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors") [: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.8414/0.8414, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001589/0.001588, allocations: 189.3 kB / 164.4 MB, free: 6.898 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.731/1.731, allocations: 205.1 MB / 399.1 MB, free: 6.18 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.001039/0.001039, allocations: 89.97 kB / 476.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.913e-06, allocations: 0 / 0.546 GB, free: 42.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 76.76 MB / 0.6209 GB, free: 13.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.17/10.35, allocations: 4.597 GB / 5.218 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/10.35, allocations: 84.66 kB / 5.218 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.17/13.52, allocations: 0.9859 GB / 6.204 GB, free: 15.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000326/13.52, allocations: 70.05 kB / 6.204 GB, free: 15.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01463/13.54, allocations: 3.33 MB / 6.207 GB, free: 12.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/13.54, allocations: 8.031 kB / 6.207 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/13.54, allocations: 0.7116 MB / 6.208 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008364/13.55, allocations: 2.159 MB / 6.21 GB, free: 9.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/13.55, allocations: 88 kB / 6.21 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/13.55, allocations: 156 kB / 6.21 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01113/13.56, allocations: 4.149 MB / 6.214 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/13.57, allocations: 2.789 MB / 6.217 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/13.57, allocations: 3.984 kB / 6.217 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/13.58, allocations: 4 kB / 6.217 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/13.58, allocations: 125.4 kB / 6.217 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/14.07, allocations: 10.74 MB / 6.228 GB, free: 77.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/14.07, allocations: 4.198 MB / 6.232 GB, free: 77.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004106/14.08, allocations: 2.409 MB / 6.234 GB, free: 77.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/14.08, allocations: 0.9828 MB / 6.235 GB, free: 76.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/14.08, allocations: 76.27 kB / 6.235 GB, free: 76.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=399): time 4.93e-06/14.08, allocations: 0 / 6.235 GB, free: 76.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=399): time 0.01147/14.09, allocations: 4.453 MB / 6.239 GB, free: 75.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/14.09, allocations: 100.4 kB / 6.239 GB, free: 75.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/14.09, allocations: 1.023 MB / 6.24 GB, free: 75.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004316/14.09, allocations: 29.11 kB / 6.24 GB, free: 75.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/14.09, allocations: 0.578 MB / 6.241 GB, free: 75.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/14.09, allocations: 1.278 MB / 6.242 GB, free: 74.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/14.09, allocations: 0 / 6.242 GB, free: 74.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003384/14.09, allocations: 449.1 kB / 6.243 GB, free: 74.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/14.1, allocations: 1.531 MB / 6.244 GB, free: 74.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/14.1, allocations: 1.815 MB / 6.246 GB, free: 74.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/14.11, allocations: 2.277 MB / 6.248 GB, free: 74.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/14.11, allocations: 0 / 6.248 GB, free: 74.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009573/14.12, allocations: 4.415 MB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/14.12, allocations: 3.938 kB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/14.12, allocations: 3.938 kB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.286e-05/14.12, allocations: 18.72 kB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/14.12, allocations: 0.6805 MB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.858e-05/14.12, allocations: 19.22 kB / 6.253 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/14.12, allocations: 301.2 kB / 6.254 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/14.12, allocations: 112.4 kB / 6.254 GB, free: 73.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0008074/14.12, allocations: 153.7 kB / 6.254 GB, free: 73.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009598/14.12, allocations: 232.7 kB / 6.254 GB, free: 73.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/14.14, allocations: 4.85 MB / 6.259 GB, free: 73.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/14.14, allocations: 36.22 kB / 6.259 GB, free: 73.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/14.14, allocations: 7.562 kB / 6.259 GB, free: 73.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00785/14.14, allocations: 4.207 MB / 6.263 GB, free: 73.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/14.16, allocations: 8.208 MB / 6.271 GB, free: 72.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/14.16, allocations: 3.75 kB / 6.271 GB, free: 72.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/14.16, allocations: 0.6647 MB / 6.272 GB, free: 72.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/14.16, allocations: 143.2 kB / 6.272 GB, free: 72.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003653/14.16, allocations: 32.77 kB / 6.272 GB, free: 72.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/14.17, allocations: 4.337 MB / 6.276 GB, free: 68.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/14.17, allocations: 6.156 kB / 6.276 GB, free: 68.88 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/14.18, allocations: 7.293 MB / 6.283 GB, free: 68.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/14.18, allocations: 0.7728 MB / 6.284 GB, free: 68.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/14.18, allocations: 3.469 kB / 6.284 GB, free: 68.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/14.19, allocations: 149 kB / 6.284 GB, free: 68.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/14.19, allocations: 195.4 kB / 6.284 GB, free: 68.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003517/14.19, allocations: 113 kB / 6.284 GB, free: 68.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001539/14.19, allocations: 0.7996 MB / 6.285 GB, free: 68.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005154/14.19, allocations: 1.125 MB / 6.286 GB, free: 68.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004156/14.2, allocations: 2.595 MB / 6.289 GB, free: 67.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007313/14.2, allocations: 3.898 MB / 6.292 GB, free: 67.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/14.2, allocations: 0 / 6.292 GB, free: 67.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005412/14.21, allocations: 2.444 MB / 6.295 GB, free: 66.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005654/14.22, allocations: 0.8653 MB / 6.296 GB, free: 66.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/14.23, allocations: 5.72 MB / 6.301 GB, free: 66.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003988/14.23, allocations: 2.278 MB / 6.304 GB, free: 65.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/14.23, allocations: 0 / 6.304 GB, free: 65.36 MB / 0.698 GB Notification: Performance of Templates: time 0.1001/14.33, allocations: 64.11 MB / 6.366 GB, free: 63.4 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)