Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",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.004727/0.004727, allocations: 178.9 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7107/0.7107, allocations: 133.5 MB / 141.4 MB, free: 15.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 395 MB, free: 10.24 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.001144/0.001144, allocations: 114.4 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5775/0.5787, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.7879, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.939, allocations: 1.9 GB / 2.533 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/5.94, allocations: 87.95 kB / 2.533 GB, free: 61.34 MB / 0.6823 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 7.982/13.92, allocations: 1.974 GB / 4.507 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/13.92, allocations: 10.44 kB / 4.507 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/13.94, allocations: 1.071 MB / 4.508 GB, free: 105 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/13.95, allocations: 2.289 MB / 4.511 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/13.95, allocations: 109.6 kB / 4.511 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/13.95, allocations: 194.7 kB / 4.511 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/13.96, allocations: 4.242 MB / 4.515 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/13.98, allocations: 3.738 MB / 4.519 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/13.98, allocations: 10.97 kB / 4.519 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/13.98, allocations: 6.812 kB / 4.519 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/13.98, allocations: 153.6 kB / 4.519 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/14, allocations: 15.11 MB / 4.534 GB, free: 97.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/14.01, allocations: 3.958 MB / 4.538 GB, free: 97.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/14.02, allocations: 2.423 MB / 4.54 GB, free: 97.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/14.02, allocations: 1.608 MB / 4.541 GB, free: 95.56 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/14.02, allocations: 80.27 kB / 4.542 GB, free: 95.52 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 6.271e-06/14.02, allocations: 0 / 4.542 GB, free: 95.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.01388/14.03, allocations: 4.364 MB / 4.546 GB, free: 95.26 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/14.03, allocations: 99.11 kB / 4.546 GB, free: 95.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/14.04, allocations: 1.21 MB / 4.547 GB, free: 95.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009152/14.04, allocations: 29.45 kB / 4.547 GB, free: 95.01 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/14.04, allocations: 0.8195 MB / 4.548 GB, free: 94.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/14.04, allocations: 1.266 MB / 4.549 GB, free: 94 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/14.04, allocations: 0 / 4.549 GB, free: 94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003178/14.04, allocations: 442.1 kB / 4.55 GB, free: 93.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/14.04, allocations: 1.567 MB / 4.551 GB, free: 93.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/14.05, allocations: 1.952 MB / 4.553 GB, free: 93.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005906/14.05, allocations: 2.209 MB / 4.555 GB, free: 93.33 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/14.05, allocations: 7.406 kB / 4.555 GB, free: 93.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01104/14.06, allocations: 4.427 MB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/14.06, allocations: 10.23 kB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/14.06, allocations: 6.094 kB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/14.06, allocations: 21.72 kB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/14.07, allocations: 0.7161 MB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.692e-05/14.07, allocations: 20.69 kB / 4.56 GB, free: 93.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/14.07, allocations: 347.8 kB / 4.561 GB, free: 93.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008053/14.07, allocations: 126.5 kB / 4.561 GB, free: 93.01 MB / 0.7605 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.0009638/14.07, allocations: 155.2 kB / 4.561 GB, free: 92.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/14.08, allocations: 280.7 kB / 4.561 GB, free: 92.76 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/14.09, allocations: 4.696 MB / 4.566 GB, free: 92.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/14.09, allocations: 37.44 kB / 4.566 GB, free: 92.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/14.09, allocations: 3.562 kB / 4.566 GB, free: 92.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009094/14.1, allocations: 4.074 MB / 4.57 GB, free: 92.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/14.12, allocations: 8.682 MB / 4.578 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/14.12, allocations: 0 / 4.578 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004802/14.12, allocations: 0.7626 MB / 4.579 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/14.12, allocations: 27.03 kB / 4.579 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/14.13, allocations: 41.17 kB / 4.579 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.009e-05/14.13, allocations: 15.44 kB / 4.579 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/14.13, allocations: 3.094 kB / 4.579 GB, free: 91.56 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01581/14.14, allocations: 7.396 MB / 4.586 GB, free: 90.83 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02059/14.16, allocations: 10.81 MB / 4.597 GB, free: 89.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/14.17, allocations: 0.7988 MB / 4.598 GB, free: 89.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/14.17, allocations: 15.25 kB / 4.598 GB, free: 89.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004506/14.17, allocations: 199.5 kB / 4.598 GB, free: 89.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006666/14.17, allocations: 206.2 kB / 4.598 GB, free: 89.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005774/14.17, allocations: 119 kB / 4.598 GB, free: 89.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002254/14.18, allocations: 0.9282 MB / 4.599 GB, free: 89.35 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009058/14.18, allocations: 2.095 MB / 4.601 GB, free: 89.27 MB / 0.7605 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.01019/14.2, allocations: 5.53 MB / 4.606 GB, free: 86.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0106/14.21, allocations: 3.947 MB / 4.61 GB, free: 86.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/14.21, allocations: 0 / 4.61 GB, free: 86.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005002/14.21, allocations: 2.14 MB / 4.612 GB, free: 86.78 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/14.22, allocations: 1.222 MB / 4.614 GB, free: 86.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/14.24, allocations: 6.728 MB / 4.62 GB, free: 85.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006818/14.25, allocations: 2.693 MB / 4.623 GB, free: 84.78 MB / 0.7605 GB Notification: Performance of SimCode: time 2.344e-06/14.25, allocations: 0 / 4.623 GB, free: 84.78 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)