Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 189.1 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4448/0.4448, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.4 MB / 342.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 97.14 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1394/0.1403, allocations: 78.43 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.4209, allocations: 72.31 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.503/7.924, allocations: 4.391 GB / 4.944 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.925, allocations: 87.89 kB / 4.944 GB, free: 45.02 MB / 0.6042 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 3.298/11.22, allocations: 0.992 GB / 5.936 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/11.22, allocations: 7.188 kB / 5.936 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/11.23, allocations: 0.708 MB / 5.937 GB, free: 117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00592/11.23, allocations: 2.027 MB / 5.939 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/11.23, allocations: 87.78 kB / 5.939 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005492/11.23, allocations: 159.2 kB / 5.939 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006881/11.24, allocations: 4.16 MB / 5.943 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/11.25, allocations: 2.797 MB / 5.946 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/11.25, allocations: 0 / 5.946 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/11.25, allocations: 3.906 kB / 5.946 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.645e-05/11.25, allocations: 129.3 kB / 5.946 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/11.26, allocations: 11.54 MB / 5.957 GB, free: 112 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/11.27, allocations: 4.192 MB / 5.961 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/11.27, allocations: 2.419 MB / 5.964 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009916/11.27, allocations: 0.8617 MB / 5.965 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/11.27, allocations: 76.98 kB / 5.965 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=399): time 8.186e-06/11.27, allocations: 0 / 5.965 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=399): time 0.01132/11.28, allocations: 4.438 MB / 5.969 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/11.28, allocations: 99.14 kB / 5.969 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/11.29, allocations: 1.037 MB / 5.97 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/11.29, allocations: 25.7 kB / 5.97 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/11.29, allocations: 0.5829 MB / 5.971 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/11.29, allocations: 1.277 MB / 5.972 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/11.29, allocations: 0 / 5.972 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001626/11.29, allocations: 447.3 kB / 5.972 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/11.29, allocations: 1.531 MB / 5.974 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/11.29, allocations: 1.805 MB / 5.976 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/11.3, allocations: 2.251 MB / 5.978 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/11.3, allocations: 3.375 kB / 5.978 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009501/11.31, allocations: 4.383 MB / 5.982 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/11.31, allocations: 9.375 kB / 5.982 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/11.31, allocations: 7.594 kB / 5.982 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.373e-05/11.31, allocations: 18.03 kB / 5.982 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/11.31, allocations: 0.6826 MB / 5.983 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/11.31, allocations: 18.94 kB / 5.983 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/11.31, allocations: 334.2 kB / 5.983 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/11.31, allocations: 114 kB / 5.983 GB, free: 108.6 MB / 0.6355 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.0005168/11.31, allocations: 153.5 kB / 5.983 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/11.32, allocations: 240.2 kB / 5.984 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/11.33, allocations: 4.806 MB / 5.988 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.946e-05/11.33, allocations: 40.41 kB / 5.988 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/11.33, allocations: 6.328 kB / 5.988 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008749/11.33, allocations: 4.184 MB / 5.993 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/11.35, allocations: 8.203 MB / 6.001 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/11.35, allocations: 3.25 kB / 6.001 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/11.36, allocations: 0.6516 MB / 6.001 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/11.36, allocations: 144.6 kB / 6.001 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/11.36, allocations: 34.42 kB / 6.001 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/11.36, allocations: 4.327 MB / 6.006 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/11.36, allocations: 3.125 kB / 6.006 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01359/11.37, allocations: 7.028 MB / 6.012 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0171/11.39, allocations: 10.19 MB / 6.022 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/11.39, allocations: 0.769 MB / 6.023 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000637/11.39, allocations: 6.062 kB / 6.023 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/11.4, allocations: 143.2 kB / 6.023 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/11.4, allocations: 194.5 kB / 6.023 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/11.4, allocations: 112.7 kB / 6.024 GB, free: 102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0012/11.4, allocations: 0.8102 MB / 6.024 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00594/11.4, allocations: 1.412 MB / 6.026 GB, free: 101.8 MB / 0.6355 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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.003329/11.41, allocations: 2.533 MB / 6.028 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006967/11.41, allocations: 3.902 MB / 6.032 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/11.41, allocations: 0 / 6.032 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/11.42, allocations: 2.453 MB / 6.034 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/11.42, allocations: 0.8633 MB / 6.035 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/11.44, allocations: 5.792 MB / 6.041 GB, free: 99.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003027/11.44, allocations: 2.344 MB / 6.043 GB, free: 99.09 MB / 0.6355 GB Notification: Performance of SimCode: time 2.084e-06/11.44, allocations: 0 / 6.043 GB, free: 99.09 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)