Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7257/0.7257, allocations: 141.8 MB / 149.1 MB, free: 3.902 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 187.6 kB / 181.9 MB, free: 15.63 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.4 MB / 436 MB, free: 8.734 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 98.75 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 280.4 kB / 0.5884 GB, free: 11.78 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.272e-06, allocations: 0 / 0.6759 GB, free: 2.145 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.374, allocations: 82.76 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.506/3.88, allocations: 1.897 GB / 2.653 GB, free: 126.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/3.88, allocations: 93.75 kB / 2.654 GB, free: 126.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 6.267/10.15, allocations: 1.969 GB / 4.622 GB, free: 53.04 MB / 0.7607 GB Notification: Performance of Transformations before backend: time 0.0003756/10.15, allocations: 81.72 kB / 4.622 GB, free: 53.03 MB / 0.7607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01709/10.17, allocations: 4.33 MB / 4.627 GB, free: 51.19 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/10.17, allocations: 10.75 kB / 4.627 GB, free: 51.19 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008353/10.17, allocations: 1.064 MB / 4.628 GB, free: 50.98 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/10.18, allocations: 2.261 MB / 4.63 GB, free: 50.39 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/10.18, allocations: 101.8 kB / 4.63 GB, free: 50.39 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/10.18, allocations: 197.6 kB / 4.63 GB, free: 50.39 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008557/10.19, allocations: 4.232 MB / 4.634 GB, free: 50.38 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007209/10.2, allocations: 3.739 MB / 4.638 GB, free: 50.05 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/10.2, allocations: 10.03 kB / 4.638 GB, free: 50.05 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/10.2, allocations: 3.312 kB / 4.638 GB, free: 50.05 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/10.2, allocations: 158 kB / 4.638 GB, free: 50.04 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/10.22, allocations: 15.11 MB / 4.653 GB, free: 40.79 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/10.22, allocations: 3.957 MB / 4.657 GB, free: 37.81 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/10.23, allocations: 2.421 MB / 4.659 GB, free: 35.59 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/10.23, allocations: 1.613 MB / 4.661 GB, free: 33.73 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/10.23, allocations: 77.64 kB / 4.661 GB, free: 33.64 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=392): time 5.29e-06/10.23, allocations: 0 / 4.661 GB, free: 33.64 MB / 0.7607 GB Notification: Performance of matching and sorting (n=392): time 0.009104/10.24, allocations: 4.367 MB / 4.665 GB, free: 29.87 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/10.24, allocations: 91.09 kB / 4.665 GB, free: 29.77 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/10.24, allocations: 1.196 MB / 4.666 GB, free: 28.69 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002364/10.24, allocations: 29.7 kB / 4.666 GB, free: 28.65 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/10.24, allocations: 0.8132 MB / 4.667 GB, free: 27.95 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008917/10.24, allocations: 1.275 MB / 4.668 GB, free: 26.77 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/10.24, allocations: 0 / 4.668 GB, free: 26.77 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.000143/10.24, allocations: 437.2 kB / 4.669 GB, free: 26.38 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/10.24, allocations: 1.563 MB / 4.67 GB, free: 24.95 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/10.25, allocations: 1.953 MB / 4.672 GB, free: 23.07 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/10.25, allocations: 2.202 MB / 4.674 GB, free: 21.29 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/10.25, allocations: 4 kB / 4.674 GB, free: 21.29 MB / 0.7607 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007646/10.26, allocations: 4.43 MB / 4.679 GB, free: 17 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/10.26, allocations: 6.406 kB / 4.679 GB, free: 17 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.26, allocations: 11.92 kB / 4.679 GB, free: 16.98 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/10.26, allocations: 20 kB / 4.679 GB, free: 16.96 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/10.26, allocations: 0.71 MB / 4.679 GB, free: 16.25 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/10.26, allocations: 30.8 kB / 4.679 GB, free: 16.23 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/10.27, allocations: 344.6 kB / 4.68 GB, free: 15.91 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/10.27, allocations: 124 kB / 4.68 GB, free: 15.79 MB / 0.7607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0004744/10.27, allocations: 160.1 kB / 4.68 GB, free: 15.62 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/10.27, allocations: 276.7 kB / 4.68 GB, free: 15.35 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/10.27, allocations: 4.703 MB / 4.685 GB, free: 10.64 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/10.27, allocations: 40.44 kB / 4.685 GB, free: 10.6 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/10.27, allocations: 0.5625 kB / 4.685 GB, free: 10.6 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006194/10.28, allocations: 4.086 MB / 4.689 GB, free: 6.445 MB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/10.3, allocations: 8.659 MB / 4.697 GB, free: 13.74 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/10.3, allocations: 3.656 kB / 4.697 GB, free: 13.74 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/10.3, allocations: 0.7649 MB / 4.698 GB, free: 12.97 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.344e-05/10.3, allocations: 16 kB / 4.698 GB, free: 12.96 MB / 0.7763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000474/10.3, allocations: 39.95 kB / 4.698 GB, free: 12.92 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.233e-05/10.31, allocations: 16 kB / 4.698 GB, free: 12.9 MB / 0.7763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/10.31, allocations: 7.938 kB / 4.698 GB, free: 12.89 MB / 0.7763 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01432/10.32, allocations: 7.401 MB / 4.705 GB, free: 5.348 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/10.32, allocations: 0.7974 MB / 4.706 GB, free: 4.527 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/10.32, allocations: 8 kB / 4.706 GB, free: 4.52 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003516/10.33, allocations: 207.5 kB / 4.706 GB, free: 4.316 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/10.33, allocations: 194.6 kB / 4.707 GB, free: 4.125 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/10.33, allocations: 127.9 kB / 4.707 GB, free: 4 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.001879/10.33, allocations: 0.9144 MB / 4.708 GB, free: 3.094 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.004934/10.33, allocations: 1.447 MB / 4.709 GB, free: 1.645 MB / 0.7763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.3614/10.7, allocations: 5.553 MB / 4.714 GB, free: 115.8 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.007679/10.7, allocations: 3.942 MB / 4.718 GB, free: 115.7 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/10.7, allocations: 5.281 kB / 4.718 GB, free: 115.7 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/10.71, allocations: 2.134 MB / 4.72 GB, free: 115.7 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006489/10.71, allocations: 1.236 MB / 4.722 GB, free: 115.7 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/10.72, allocations: 6.675 MB / 4.728 GB, free: 114.6 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003074/10.73, allocations: 2.616 MB / 4.731 GB, free: 113.8 MB / 0.7763 GB Notification: Performance of SimCode: time 1.803e-06/10.73, allocations: 0 / 4.731 GB, free: 113.8 MB / 0.7763 GB Notification: Performance of Templates: time 0.1271/10.85, allocations: 85.48 MB / 4.814 GB, free: 109.9 MB / 0.7763 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)