Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors") translateModel(IDEAS.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002912/0.002912, allocations: 183.6 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6531/0.6531, allocations: 130.6 MB / 138.5 MB, free: 2.18 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.4 MB / 391.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009783, allocations: 93.56 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.859e-06, allocations: 2.594 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 81.57 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.045/8.229, allocations: 4.4 GB / 5.028 GB, free: 39.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/8.229, allocations: 83.95 kB / 5.028 GB, free: 39.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.292/11.52, allocations: 0.9751 GB / 6.003 GB, free: 87.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003765/11.52, allocations: 73.81 kB / 6.003 GB, free: 87.24 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.01461/11.54, allocations: 3.326 MB / 6.007 GB, free: 85.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/11.54, allocations: 9.344 kB / 6.007 GB, free: 85.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/11.54, allocations: 0.7103 MB / 6.007 GB, free: 85.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/11.55, allocations: 2.026 MB / 6.009 GB, free: 85.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/11.55, allocations: 85.97 kB / 6.009 GB, free: 85.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/11.55, allocations: 159.7 kB / 6.009 GB, free: 85.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009639/11.56, allocations: 4.155 MB / 6.013 GB, free: 85.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00895/11.57, allocations: 2.785 MB / 6.016 GB, free: 85.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/11.57, allocations: 8.375 kB / 6.016 GB, free: 85.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006983/11.57, allocations: 1.125 kB / 6.016 GB, free: 85.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/11.57, allocations: 128.9 kB / 6.016 GB, free: 85.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/11.59, allocations: 10.72 MB / 6.027 GB, free: 79.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/11.6, allocations: 4.207 MB / 6.031 GB, free: 77.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004986/11.61, allocations: 2.411 MB / 6.033 GB, free: 76.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/11.61, allocations: 0.8638 MB / 6.034 GB, free: 75.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.526e-05/11.61, allocations: 80.83 kB / 6.034 GB, free: 75.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=399): time 5.72e-06/11.61, allocations: 0 / 6.034 GB, free: 75.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=399): time 0.01376/11.62, allocations: 4.441 MB / 6.039 GB, free: 72.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/11.62, allocations: 90.55 kB / 6.039 GB, free: 72.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/11.63, allocations: 1.034 MB / 6.04 GB, free: 71.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005114/11.63, allocations: 25.7 kB / 6.04 GB, free: 71.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/11.63, allocations: 0.5893 MB / 6.04 GB, free: 71.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001453/11.63, allocations: 1.274 MB / 6.041 GB, free: 69.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/11.63, allocations: 0 / 6.041 GB, free: 69.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002641/11.63, allocations: 451.5 kB / 6.042 GB, free: 69.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/11.63, allocations: 1.532 MB / 6.043 GB, free: 68.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/11.64, allocations: 1.816 MB / 6.045 GB, free: 66.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005697/11.64, allocations: 2.248 MB / 6.047 GB, free: 64.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/11.64, allocations: 4 kB / 6.047 GB, free: 64.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009107/11.65, allocations: 4.381 MB / 6.052 GB, free: 60.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/11.65, allocations: 11.19 kB / 6.052 GB, free: 60.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/11.65, allocations: 4 kB / 6.052 GB, free: 60.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.833e-05/11.65, allocations: 16 kB / 6.052 GB, free: 60.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/11.65, allocations: 0.6808 MB / 6.052 GB, free: 60.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.061e-05/11.65, allocations: 19.94 kB / 6.052 GB, free: 60.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/11.66, allocations: 294.6 kB / 6.053 GB, free: 59.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/11.66, allocations: 111.5 kB / 6.053 GB, free: 59.85 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.0006995/11.66, allocations: 155.1 kB / 6.053 GB, free: 59.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/11.66, allocations: 237.2 kB / 6.053 GB, free: 59.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/11.67, allocations: 4.809 MB / 6.058 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/11.67, allocations: 36 kB / 6.058 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/11.67, allocations: 7.984 kB / 6.058 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007598/11.68, allocations: 4.172 MB / 6.062 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/11.69, allocations: 8.193 MB / 6.07 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/11.69, allocations: 0 / 6.07 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/11.7, allocations: 0.6669 MB / 6.071 GB, free: 42.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/11.7, allocations: 138.5 kB / 6.071 GB, free: 41.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003057/11.7, allocations: 31.97 kB / 6.071 GB, free: 41.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/11.7, allocations: 4.331 MB / 6.075 GB, free: 37.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/11.7, allocations: 0 / 6.075 GB, free: 37.21 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01398/11.72, allocations: 7.275 MB / 6.082 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/11.72, allocations: 0.7666 MB / 6.083 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009341/11.72, allocations: 8 kB / 6.083 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/11.72, allocations: 145.8 kB / 6.083 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/11.72, allocations: 190.8 kB / 6.083 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003325/11.72, allocations: 114 kB / 6.083 GB, free: 28.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001582/11.72, allocations: 0.8054 MB / 6.084 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005767/11.73, allocations: 1.135 MB / 6.085 GB, free: 26.72 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.00445/11.73, allocations: 2.544 MB / 6.088 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006077/11.74, allocations: 3.895 MB / 6.091 GB, free: 20.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/11.74, allocations: 0 / 6.091 GB, free: 20.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/11.74, allocations: 2.448 MB / 6.094 GB, free: 18.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/11.75, allocations: 0.8556 MB / 6.095 GB, free: 17.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/11.76, allocations: 5.758 MB / 6.1 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004076/11.77, allocations: 2.297 MB / 6.103 GB, free: 9.605 MB / 0.698 GB Notification: Performance of SimCode: time 1.442e-06/11.77, allocations: 0 / 6.103 GB, free: 9.605 MB / 0.698 GB Notification: Performance of Templates: time 0.535/12.3, allocations: 63.52 MB / 6.165 GB, free: 157.3 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)