Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_dev_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.003766/0.003766, allocations: 188 kB / 7.461 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.738/0.738, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.677/1.677, allocations: 221.3 MB / 395 MB, free: 10.16 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.001283/0.001283, allocations: 94.72 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5427/0.5441, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.7934, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.878, allocations: 1.9 GB / 2.533 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/5.878, allocations: 91.94 kB / 2.533 GB, free: 59.45 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.899/13.78, allocations: 1.974 GB / 4.507 GB, free: 59.19 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/13.78, allocations: 7.688 kB / 4.507 GB, free: 59.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009127/13.79, allocations: 1.071 MB / 4.508 GB, free: 58.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006943/13.79, allocations: 2.298 MB / 4.511 GB, free: 58.63 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/13.79, allocations: 102.5 kB / 4.511 GB, free: 58.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/13.79, allocations: 202.6 kB / 4.511 GB, free: 58.63 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008351/13.8, allocations: 4.232 MB / 4.515 GB, free: 58.61 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/13.81, allocations: 3.735 MB / 4.519 GB, free: 58.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.145e-05/13.81, allocations: 5.125 kB / 4.519 GB, free: 58.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/13.81, allocations: 4.938 kB / 4.519 GB, free: 58.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/13.81, allocations: 155.9 kB / 4.519 GB, free: 58.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/13.84, allocations: 15.12 MB / 4.534 GB, free: 51.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/13.85, allocations: 3.952 MB / 4.538 GB, free: 51.19 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/13.85, allocations: 2.416 MB / 4.54 GB, free: 51.15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/13.85, allocations: 1.614 MB / 4.541 GB, free: 49.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/13.85, allocations: 78.39 kB / 4.542 GB, free: 49.42 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 5.791e-06/13.85, allocations: 0 / 4.542 GB, free: 49.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.01194/13.86, allocations: 4.37 MB / 4.546 GB, free: 49.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/13.86, allocations: 94.89 kB / 4.546 GB, free: 49.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/13.87, allocations: 1.211 MB / 4.547 GB, free: 48.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005903/13.87, allocations: 25.7 kB / 4.547 GB, free: 48.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/13.87, allocations: 0.8238 MB / 4.548 GB, free: 48.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/13.87, allocations: 1.266 MB / 4.549 GB, free: 47.58 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/13.87, allocations: 0 / 4.549 GB, free: 47.58 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003025/13.87, allocations: 440.6 kB / 4.55 GB, free: 47.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/13.87, allocations: 1.565 MB / 4.551 GB, free: 47.27 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/13.87, allocations: 1.957 MB / 4.553 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/13.88, allocations: 2.202 MB / 4.555 GB, free: 46.92 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/13.88, allocations: 0 / 4.555 GB, free: 46.92 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009961/13.89, allocations: 4.437 MB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/13.89, allocations: 6.281 kB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/13.89, allocations: 3.562 kB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/13.89, allocations: 20.53 kB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/13.89, allocations: 0.7197 MB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.121e-05/13.89, allocations: 24.05 kB / 4.56 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/13.9, allocations: 341.5 kB / 4.561 GB, free: 46.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/13.9, allocations: 127.6 kB / 4.561 GB, free: 46.54 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.0007538/13.9, allocations: 155.3 kB / 4.561 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/13.9, allocations: 278.4 kB / 4.561 GB, free: 46.29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009632/13.91, allocations: 4.703 MB / 4.566 GB, free: 46.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/13.91, allocations: 36.56 kB / 4.566 GB, free: 46.12 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/13.91, allocations: 0 / 4.566 GB, free: 46.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007107/13.92, allocations: 4.077 MB / 4.57 GB, free: 45.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/13.93, allocations: 8.681 MB / 4.578 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/13.93, allocations: 0 / 4.578 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/13.94, allocations: 0.7553 MB / 4.579 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-05/13.94, allocations: 14.84 kB / 4.579 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/13.94, allocations: 45.88 kB / 4.579 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/13.94, allocations: 18.44 kB / 4.579 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/13.94, allocations: 3.781 kB / 4.579 GB, free: 45.04 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01102/13.95, allocations: 7.397 MB / 4.586 GB, free: 44.3 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01515/13.96, allocations: 10.8 MB / 4.597 GB, free: 43.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/13.97, allocations: 0.802 MB / 4.598 GB, free: 42.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008007/13.97, allocations: 10.06 kB / 4.598 GB, free: 42.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003231/13.97, allocations: 208 kB / 4.598 GB, free: 42.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/13.97, allocations: 195.3 kB / 4.598 GB, free: 42.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/13.97, allocations: 133.9 kB / 4.598 GB, free: 42.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001398/13.97, allocations: 0.924 MB / 4.599 GB, free: 42.76 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006607/13.98, allocations: 2.091 MB / 4.601 GB, free: 42.62 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.00722/13.99, allocations: 5.531 MB / 4.606 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0067/13.99, allocations: 3.945 MB / 4.61 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/13.99, allocations: 0 / 4.61 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/14, allocations: 2.141 MB / 4.612 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/14, allocations: 1.24 MB / 4.614 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/14.02, allocations: 6.709 MB / 4.62 GB, free: 38.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/14.02, allocations: 2.697 MB / 4.623 GB, free: 38.07 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/14.02, allocations: 0 / 4.623 GB, free: 38.07 MB / 0.7605 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)