Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.8935/0.8935, allocations: 127.4 MB / 134.7 MB, free: 9.789 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 172.5 kB / 164.4 MB, free: 5.449 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 399.1 MB, free: 3.004 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.86 kB / 476.3 MB, free: 2.582 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.236/0.2371, allocations: 82.88 MB / 0.5461 GB, free: 15.66 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.8512, allocations: 76.73 MB / 0.621 GB, free: 86.51 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.047/5.898, allocations: 2.16 GB / 2.781 GB, free: 58.89 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/5.898, allocations: 93.75 kB / 2.781 GB, free: 58.8 MB / 0.6433 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 4.134/10.03, allocations: 1.052 GB / 3.833 GB, free: 1.648 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/10.03, allocations: 8 kB / 3.833 GB, free: 1.641 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/10.04, allocations: 0.5595 MB / 3.834 GB, free: 1.078 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4768/10.51, allocations: 1.347 MB / 3.835 GB, free: 127.4 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/10.51, allocations: 47.16 kB / 3.835 GB, free: 127.4 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/10.52, allocations: 88.72 kB / 3.835 GB, free: 127.4 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0031/10.52, allocations: 1.262 MB / 3.836 GB, free: 127.3 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/10.52, allocations: 1.477 MB / 3.838 GB, free: 127.1 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/10.52, allocations: 6.719 kB / 3.838 GB, free: 127.1 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/10.52, allocations: 3.656 kB / 3.838 GB, free: 127.1 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.909e-05/10.52, allocations: 55.09 kB / 3.838 GB, free: 127.1 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/10.53, allocations: 7.36 MB / 3.845 GB, free: 123.7 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/10.54, allocations: 1.076 MB / 3.846 GB, free: 123.6 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/10.54, allocations: 0.5961 MB / 3.847 GB, free: 123.6 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/10.54, allocations: 0.8688 MB / 3.848 GB, free: 122.7 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/10.54, allocations: 0.6322 MB / 3.848 GB, free: 122.6 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=109): time 3.476e-06/10.54, allocations: 0 / 3.848 GB, free: 122.6 MB / 0.6746 GB Notification: Performance of matching and sorting (n=109): time 0.003585/10.54, allocations: 1.239 MB / 3.849 GB, free: 122.5 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/10.54, allocations: 89.11 kB / 3.85 GB, free: 122.4 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/10.54, allocations: 0.8275 MB / 3.85 GB, free: 122.2 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/10.54, allocations: 32.08 kB / 3.85 GB, free: 122.2 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/10.54, allocations: 0.4928 MB / 3.851 GB, free: 122 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/10.54, allocations: 359.6 kB / 3.851 GB, free: 121.8 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/10.54, allocations: 0 / 3.851 GB, free: 121.8 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/10.54, allocations: 346.8 kB / 3.851 GB, free: 121.5 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/10.55, allocations: 425.2 kB / 3.852 GB, free: 121.5 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/10.55, allocations: 0.5834 MB / 3.852 GB, free: 121.4 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/10.55, allocations: 0.5298 MB / 3.853 GB, free: 121.4 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/10.55, allocations: 0 / 3.853 GB, free: 121.4 MB / 0.6746 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002196/10.55, allocations: 1.216 MB / 3.854 GB, free: 121.2 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/10.55, allocations: 0.8913 MB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/10.55, allocations: 0 / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/10.55, allocations: 9.156 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/10.55, allocations: 240.7 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/10.55, allocations: 9.797 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/10.55, allocations: 136.7 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/10.55, allocations: 38.73 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.55, allocations: 5 kB / 3.855 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/10.55, allocations: 1.055 MB / 3.856 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/10.55, allocations: 2.906 kB / 3.856 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/10.55, allocations: 11.91 kB / 3.857 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/10.56, allocations: 231.1 kB / 3.857 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/10.56, allocations: 7.062 kB / 3.857 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/10.56, allocations: 132.7 kB / 3.857 GB, free: 120.3 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/10.56, allocations: 40.69 kB / 3.857 GB, free: 120.3 MB / 0.6746 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 125 * 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.0003223/10.56, allocations: 122.5 kB / 3.857 GB, free: 120.2 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/10.56, allocations: 137.5 kB / 3.857 GB, free: 120.1 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/10.56, allocations: 1.252 MB / 3.858 GB, free: 120 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/10.56, allocations: 10.78 kB / 3.858 GB, free: 120 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/10.56, allocations: 0 / 3.858 GB, free: 120 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001559/10.56, allocations: 1.02 MB / 3.859 GB, free: 119.9 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/10.57, allocations: 2.991 MB / 3.862 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/10.57, allocations: 3.688 kB / 3.862 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/10.57, allocations: 258.9 kB / 3.863 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/10.57, allocations: 6.344 kB / 3.863 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/10.57, allocations: 19.23 kB / 3.863 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/10.57, allocations: 13.66 kB / 3.863 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/10.57, allocations: 5.219 kB / 3.863 GB, free: 119.4 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003807/10.57, allocations: 2.142 MB / 3.865 GB, free: 119 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005279/10.58, allocations: 3.405 MB / 3.868 GB, free: 118.1 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/10.58, allocations: 368.6 kB / 3.868 GB, free: 118 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/10.58, allocations: 6.312 kB / 3.868 GB, free: 118 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/10.58, allocations: 108.7 kB / 3.868 GB, free: 118 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/10.58, allocations: 63.78 kB / 3.869 GB, free: 118 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/10.58, allocations: 47.17 kB / 3.869 GB, free: 118 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0009807/10.58, allocations: 0.631 MB / 3.869 GB, free: 117.9 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.005825/10.59, allocations: 1.703 MB / 3.871 GB, free: 117.8 MB / 0.6746 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005358/10.59, allocations: 3.152 MB / 3.874 GB, free: 116.8 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.003219/10.6, allocations: 1.677 MB / 3.876 GB, free: 116.8 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/10.6, allocations: 2.625 kB / 3.876 GB, free: 116.8 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0008798/10.6, allocations: 0.5625 MB / 3.876 GB, free: 116.8 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/10.6, allocations: 0.6623 MB / 3.877 GB, free: 116.8 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/10.61, allocations: 2.766 MB / 3.879 GB, free: 116.2 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/10.61, allocations: 1.569 MB / 3.881 GB, free: 115.4 MB / 0.6746 GB Notification: Performance of SimCode: time 1.062e-06/10.61, allocations: 2.812 kB / 3.881 GB, free: 115.4 MB / 0.6746 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)