Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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/BuildSysPro 3.5.0/package.mo): time 0.8977/0.8977, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.00193, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 84.19 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3972/0.3984, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.5992, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.051/6.651, allocations: 2.165 GB / 2.786 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.651, allocations: 91.94 kB / 2.786 GB, free: 2.465 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 8.092/14.74, allocations: 1.715 GB / 4.5 GB, free: 52.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/14.74, allocations: 10.44 kB / 4.5 GB, free: 52.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009237/14.75, allocations: 0.9832 MB / 4.501 GB, free: 52.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/14.76, allocations: 2.038 MB / 4.503 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/14.76, allocations: 87.16 kB / 4.503 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/14.76, allocations: 160.9 kB / 4.503 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00963/14.77, allocations: 3.099 MB / 4.507 GB, free: 52.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/14.78, allocations: 2.967 MB / 4.509 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/14.78, allocations: 9.594 kB / 4.509 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000931/14.78, allocations: 3.625 kB / 4.509 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/14.78, allocations: 121.5 kB / 4.51 GB, free: 51.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02693/14.81, allocations: 12.85 MB / 4.522 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00632/14.82, allocations: 2.689 MB / 4.525 GB, free: 45.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/14.82, allocations: 1.819 MB / 4.526 GB, free: 45.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/14.82, allocations: 1.619 MB / 4.528 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.805e-05/14.82, allocations: 68.78 kB / 4.528 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=278): time 8.045e-06/14.82, allocations: 3.609 kB / 4.528 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=278): time 0.01277/14.84, allocations: 3.169 MB / 4.531 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/14.84, allocations: 81.62 kB / 4.531 GB, free: 43.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/14.84, allocations: 1.028 MB / 4.532 GB, free: 43.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008606/14.84, allocations: 27.64 kB / 4.532 GB, free: 43.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/14.84, allocations: 0.7244 MB / 4.533 GB, free: 42.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002068/14.84, allocations: 0.9088 MB / 4.534 GB, free: 42.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/14.85, allocations: 2.625 kB / 4.534 GB, free: 42.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005347/14.85, allocations: 401.6 kB / 4.534 GB, free: 41.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/14.85, allocations: 1.132 MB / 4.535 GB, free: 41.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/14.85, allocations: 1.442 MB / 4.537 GB, free: 41.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/14.86, allocations: 1.561 MB / 4.538 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/14.86, allocations: 3.938 kB / 4.538 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008323/14.86, allocations: 3.212 MB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/14.86, allocations: 5.125 kB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/14.86, allocations: 4.25 kB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-05/14.86, allocations: 17.09 kB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/14.87, allocations: 0.5337 MB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.444e-05/14.87, allocations: 15 kB / 4.542 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/14.87, allocations: 287.1 kB / 4.542 GB, free: 41.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006361/14.87, allocations: 94.16 kB / 4.542 GB, free: 41.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001262/14.87, allocations: 147.4 kB / 4.543 GB, free: 41.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/14.88, allocations: 221.1 kB / 4.543 GB, free: 40.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00967/14.89, allocations: 3.325 MB / 4.546 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/14.89, allocations: 27.34 kB / 4.546 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/14.89, allocations: 3.688 kB / 4.546 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005849/14.89, allocations: 2.834 MB / 4.549 GB, free: 40.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/14.91, allocations: 6.285 MB / 4.555 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/14.91, allocations: 3.469 kB / 4.555 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/14.91, allocations: 0.5685 MB / 4.556 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.786e-05/14.91, allocations: 9.125 kB / 4.556 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005018/14.91, allocations: 34.27 kB / 4.556 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.705e-05/14.91, allocations: 8.75 kB / 4.556 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/14.91, allocations: 0 / 4.556 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01055/14.92, allocations: 5.102 MB / 4.561 GB, free: 39.64 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01502/14.94, allocations: 7.683 MB / 4.568 GB, free: 38.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00342/14.94, allocations: 0.6363 MB / 4.569 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/14.94, allocations: 13.78 kB / 4.569 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/14.95, allocations: 188.6 kB / 4.569 GB, free: 37.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/14.95, allocations: 133.9 kB / 4.569 GB, free: 37.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007353/14.95, allocations: 94.17 kB / 4.569 GB, free: 37.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.003139/14.95, allocations: 0.7875 MB / 4.57 GB, free: 37.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009784/14.96, allocations: 1.75 MB / 4.572 GB, free: 36.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.01129/14.97, allocations: 4.792 MB / 4.576 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007998/14.98, allocations: 2.836 MB / 4.579 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/14.98, allocations: 4.906 kB / 4.579 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003907/14.99, allocations: 1.522 MB / 4.581 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008532/14.99, allocations: 1.081 MB / 4.582 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/15.02, allocations: 5.278 MB / 4.587 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005995/15.02, allocations: 2.301 MB / 4.589 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of SimCode: time 2.334e-06/15.02, allocations: 0 / 4.589 GB, free: 29.47 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)