Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_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.0009591/0.0009591, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4416/0.4416, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.4 MB / 342.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 91.89 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1612/0.1622, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.5562, allocations: 72.3 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.566/4.122, allocations: 1.89 GB / 2.443 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/4.122, allocations: 83.95 kB / 2.443 GB, free: 187.1 MB / 0.6042 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 6.511/10.63, allocations: 1.981 GB / 4.424 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/10.63, allocations: 6.562 kB / 4.424 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008743/10.64, allocations: 1.079 MB / 4.425 GB, free: 48.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006722/10.65, allocations: 2.29 MB / 4.427 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/10.65, allocations: 101 kB / 4.427 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000753/10.65, allocations: 199.5 kB / 4.428 GB, free: 47.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00763/10.66, allocations: 4.247 MB / 4.432 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006263/10.66, allocations: 3.739 MB / 4.435 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-05/10.66, allocations: 5.594 kB / 4.435 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/10.66, allocations: 2.562 kB / 4.435 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/10.66, allocations: 165.7 kB / 4.436 GB, free: 47.51 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/10.69, allocations: 16.23 MB / 4.451 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005334/10.69, allocations: 3.932 MB / 4.455 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/10.69, allocations: 2.42 MB / 4.458 GB, free: 39.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/10.7, allocations: 1.607 MB / 4.459 GB, free: 37.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/10.7, allocations: 84.3 kB / 4.459 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=392): time 5.611e-06/10.7, allocations: 0 / 4.459 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=392): time 0.01012/10.71, allocations: 4.364 MB / 4.464 GB, free: 37.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/10.71, allocations: 93.42 kB / 4.464 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/10.71, allocations: 1.214 MB / 4.465 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/10.71, allocations: 28.7 kB / 4.465 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/10.71, allocations: 0.8216 MB / 4.466 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/10.71, allocations: 1.27 MB / 4.467 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/10.71, allocations: 0 / 4.467 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001995/10.71, allocations: 441.5 kB / 4.467 GB, free: 35.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/10.71, allocations: 1.571 MB / 4.469 GB, free: 35.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/10.72, allocations: 1.944 MB / 4.471 GB, free: 35.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/10.72, allocations: 2.198 MB / 4.473 GB, free: 35.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/10.72, allocations: 3.969 kB / 4.473 GB, free: 35.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008864/10.73, allocations: 4.443 MB / 4.477 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/10.73, allocations: 10.28 kB / 4.477 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/10.73, allocations: 4.219 kB / 4.477 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/10.73, allocations: 22 kB / 4.477 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/10.73, allocations: 0.716 MB / 4.478 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/10.73, allocations: 21.34 kB / 4.478 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/10.74, allocations: 398.1 kB / 4.478 GB, free: 34.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/10.74, allocations: 132.7 kB / 4.479 GB, free: 34.73 MB / 0.6823 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.0006669/10.74, allocations: 160.7 kB / 4.479 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/10.74, allocations: 277.4 kB / 4.479 GB, free: 34.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009059/10.75, allocations: 4.7 MB / 4.484 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/10.75, allocations: 39.38 kB / 4.484 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/10.75, allocations: 0 / 4.484 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006934/10.76, allocations: 4.081 MB / 4.488 GB, free: 33.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/10.77, allocations: 8.677 MB / 4.496 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/10.77, allocations: 1.75 kB / 4.496 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/10.78, allocations: 0.746 MB / 4.497 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-05/10.78, allocations: 18.72 kB / 4.497 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/10.78, allocations: 40.27 kB / 4.497 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/10.78, allocations: 20 kB / 4.497 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/10.78, allocations: 10.02 kB / 4.497 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01077/10.79, allocations: 6.994 MB / 4.504 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01433/10.8, allocations: 10.34 MB / 4.514 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/10.8, allocations: 0.8021 MB / 4.515 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/10.8, allocations: 10.41 kB / 4.515 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/10.81, allocations: 213.6 kB / 4.515 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/10.81, allocations: 198.2 kB / 4.515 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/10.81, allocations: 123.4 kB / 4.515 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001484/10.81, allocations: 0.9218 MB / 4.516 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007412/10.82, allocations: 2.104 MB / 4.518 GB, free: 25.51 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.007498/10.82, allocations: 5.53 MB / 4.523 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006599/10.83, allocations: 3.938 MB / 4.527 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/10.83, allocations: 4 kB / 4.527 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/10.83, allocations: 2.132 MB / 4.529 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006606/10.84, allocations: 1.232 MB / 4.531 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/10.85, allocations: 6.743 MB / 4.537 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003272/10.86, allocations: 2.694 MB / 4.54 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/10.86, allocations: 0 / 4.54 GB, free: 7.258 MB / 0.6823 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)