Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Annex60.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2918/0.2918, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001293/0.001293, allocations: 192.7 kB / 75.38 MB, free: 1.477 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.464/1.464, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 122.1 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.114e-06/7.154e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.563/4.689, allocations: 2.132 GB / 2.584 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/4.69, allocations: 84.88 kB / 2.584 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753/6.442, allocations: 0.5448 GB / 3.129 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001236/6.443, allocations: 26.47 kB / 3.129 GB, free: 73.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004397/6.447, allocations: 1.393 MB / 3.13 GB, free: 72.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/6.447, allocations: 11.38 kB / 3.13 GB, free: 72.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/6.45, allocations: 402.5 kB / 3.13 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/6.453, allocations: 0.8945 MB / 3.131 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/6.453, allocations: 25.81 kB / 3.131 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/6.453, allocations: 51.94 kB / 3.131 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001799/6.455, allocations: 0.7722 MB / 3.132 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/6.457, allocations: 0.904 MB / 3.133 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/6.457, allocations: 4.719 kB / 3.133 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/6.457, allocations: 1.094 kB / 3.133 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/6.457, allocations: 39.17 kB / 3.133 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/6.464, allocations: 4.224 MB / 3.137 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/6.465, allocations: 0.6757 MB / 3.138 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007469/6.466, allocations: 442.8 kB / 3.138 GB, free: 69.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/6.466, allocations: 0.6765 MB / 3.139 GB, free: 68.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/6.466, allocations: 50.06 kB / 3.139 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=72): time 3.366e-06/6.466, allocations: 0.5312 kB / 3.139 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72): time 0.002512/6.469, allocations: 0.7828 MB / 3.14 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/6.469, allocations: 59.06 kB / 3.14 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/6.47, allocations: 492.3 kB / 3.14 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/6.47, allocations: 25.7 kB / 3.14 GB, free: 68.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/6.47, allocations: 322.8 kB / 3.14 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/6.471, allocations: 242.6 kB / 3.141 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/6.471, allocations: 3.344 kB / 3.141 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001742/6.471, allocations: 388.1 kB / 3.141 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/6.471, allocations: 274.5 kB / 3.141 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/6.472, allocations: 363.6 kB / 3.142 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/6.473, allocations: 352.3 kB / 3.142 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/6.473, allocations: 1.25 kB / 3.142 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00159/6.474, allocations: 0.7858 MB / 3.143 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/6.474, allocations: 4.844 kB / 3.143 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/6.474, allocations: 1.828 kB / 3.143 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/6.475, allocations: 4.25 kB / 3.143 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/6.475, allocations: 155.5 kB / 3.143 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/6.475, allocations: 8.844 kB / 3.143 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/6.477, allocations: 88.06 kB / 3.143 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/6.477, allocations: 24.56 kB / 3.143 GB, free: 67.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0001955/6.477, allocations: 112.1 kB / 3.143 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/6.477, allocations: 81.67 kB / 3.143 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/6.479, allocations: 0.8109 MB / 3.144 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/6.479, allocations: 8.531 kB / 3.144 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/6.479, allocations: 2.5 kB / 3.144 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/6.48, allocations: 0.8338 MB / 3.145 GB, free: 66.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/6.484, allocations: 1.782 MB / 3.147 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/6.484, allocations: 0 / 3.147 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/6.485, allocations: 182.2 kB / 3.147 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/6.485, allocations: 3.094 kB / 3.147 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/6.485, allocations: 16.89 kB / 3.147 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/6.485, allocations: 2.938 kB / 3.147 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/6.485, allocations: 0 / 3.147 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002423/6.488, allocations: 1.309 MB / 3.148 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/6.489, allocations: 255.2 kB / 3.148 GB, free: 64.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/6.489, allocations: 13.56 kB / 3.148 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/6.49, allocations: 64.33 kB / 3.148 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/6.49, allocations: 43.72 kB / 3.148 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/6.49, allocations: 28.8 kB / 3.148 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006745/6.491, allocations: 388 kB / 3.149 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001747/6.493, allocations: 422.2 kB / 3.149 GB, free: 64.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.002643/6.495, allocations: 1.777 MB / 3.151 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001385/6.497, allocations: 0.6773 MB / 3.152 GB, free: 63.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/6.497, allocations: 0.9062 kB / 3.152 GB, free: 63.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006186/6.497, allocations: 377 kB / 3.152 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/6.5, allocations: 463 kB / 3.152 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/6.505, allocations: 1.777 MB / 3.154 GB, free: 62.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/6.506, allocations: 1.198 MB / 3.155 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/6.506, allocations: 0 / 3.155 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.04045/6.547, allocations: 26.01 MB / 3.181 GB, free: 39.73 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)