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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) [: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.7632/0.7632, 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.001405/0.001404, allocations: 193.2 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.1 MB / 399.1 MB, free: 6.152 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.001055/0.001055, allocations: 93.89 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4252/0.4263, allocations: 82.87 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.6481, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.17/11.82, allocations: 4.597 GB / 5.218 GB, free: 72.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/11.82, allocations: 87.95 kB / 5.218 GB, free: 72.59 MB / 0.6355 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 4.056/15.87, allocations: 0.9892 GB / 6.207 GB, free: 72.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/15.87, allocations: 7.125 kB / 6.207 GB, free: 72.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/15.88, allocations: 0.7109 MB / 6.208 GB, free: 72.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007599/15.89, allocations: 2.158 MB / 6.21 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/15.89, allocations: 85.56 kB / 6.21 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/15.89, allocations: 155 kB / 6.21 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/15.9, allocations: 4.152 MB / 6.214 GB, free: 69.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/15.91, allocations: 2.793 MB / 6.217 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/15.91, allocations: 5.047 kB / 6.217 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/15.91, allocations: 1.031 kB / 6.217 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/15.91, allocations: 127.3 kB / 6.217 GB, free: 67.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/15.94, allocations: 10.73 MB / 6.228 GB, free: 57.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008033/15.95, allocations: 4.196 MB / 6.232 GB, free: 53.21 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/15.95, allocations: 2.413 MB / 6.234 GB, free: 50.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/15.96, allocations: 0.9816 MB / 6.235 GB, free: 49.65 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/15.96, allocations: 81.69 kB / 6.235 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=399): time 5.952e-06/15.96, allocations: 0 / 6.235 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=399): time 0.01595/15.97, allocations: 4.459 MB / 6.239 GB, free: 45.08 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/15.97, allocations: 94.55 kB / 6.24 GB, free: 44.97 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/15.97, allocations: 1.025 MB / 6.241 GB, free: 43.94 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007753/15.98, allocations: 29.7 kB / 6.241 GB, free: 43.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/15.98, allocations: 0.5788 MB / 6.241 GB, free: 43.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/15.98, allocations: 1.277 MB / 6.242 GB, free: 42.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/15.98, allocations: 3.156 kB / 6.242 GB, free: 42.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003671/15.98, allocations: 445 kB / 6.243 GB, free: 41.58 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/15.98, allocations: 1.53 MB / 6.244 GB, free: 40.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/15.98, allocations: 1.814 MB / 6.246 GB, free: 38.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006232/15.99, allocations: 2.28 MB / 6.248 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/15.99, allocations: 0 / 6.248 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01221/16, allocations: 4.41 MB / 6.253 GB, free: 31.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/16, allocations: 8 kB / 6.253 GB, free: 31.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/16, allocations: 7.984 kB / 6.253 GB, free: 31.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-05/16, allocations: 22.8 kB / 6.253 GB, free: 31.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/16.01, allocations: 0.6826 MB / 6.253 GB, free: 30.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/16.01, allocations: 16 kB / 6.253 GB, free: 30.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/16.01, allocations: 291.6 kB / 6.254 GB, free: 30.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000928/16.01, allocations: 116 kB / 6.254 GB, free: 30.35 MB / 0.6667 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.00148/16.01, allocations: 155.6 kB / 6.254 GB, free: 30.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/16.01, allocations: 241.1 kB / 6.254 GB, free: 29.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/16.03, allocations: 4.841 MB / 6.259 GB, free: 25.08 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/16.03, allocations: 40 kB / 6.259 GB, free: 25.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.972e-05/16.03, allocations: 3.906 kB / 6.259 GB, free: 25.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01084/16.04, allocations: 4.201 MB / 6.263 GB, free: 20.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/16.06, allocations: 8.212 MB / 6.271 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/16.06, allocations: 0 / 6.271 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003671/16.06, allocations: 0.6627 MB / 6.272 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005938/16.06, allocations: 142 kB / 6.272 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006555/16.07, allocations: 31.97 kB / 6.272 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/16.07, allocations: 4.339 MB / 6.276 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/16.07, allocations: 0 / 6.276 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0158/16.09, allocations: 7.295 MB / 6.283 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02437/16.11, allocations: 10.48 MB / 6.293 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/16.11, allocations: 0.7705 MB / 6.294 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/16.11, allocations: 7.906 kB / 6.294 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004401/16.12, allocations: 145.7 kB / 6.294 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009615/16.12, allocations: 194.8 kB / 6.294 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007985/16.12, allocations: 112 kB / 6.295 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001871/16.12, allocations: 0.8011 MB / 6.295 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008814/16.13, allocations: 1.416 MB / 6.297 GB, free: 1.766 MB / 0.6823 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.3725/16.5, allocations: 2.589 MB / 6.299 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008029/16.51, allocations: 3.895 MB / 6.303 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/16.51, allocations: 2.625 kB / 6.303 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004315/16.52, allocations: 2.442 MB / 6.305 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/16.52, allocations: 0.8511 MB / 6.306 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/16.54, allocations: 5.751 MB / 6.312 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/16.54, allocations: 2.338 MB / 6.314 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/16.54, allocations: 0 / 6.314 GB, free: 147.8 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)