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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [: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.6953/0.6953, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001107/0.001108, allocations: 185.2 kB / 164.4 MB, free: 6.914 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.00105/0.00105, allocations: 91.28 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.756e-06, allocations: 4 kB / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1751, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.801/4.976, allocations: 2.16 GB / 2.781 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/4.976, allocations: 87.95 kB / 2.781 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.213/9.189, allocations: 1.05 GB / 3.831 GB, free: 74.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003614/9.189, allocations: 50.94 kB / 3.831 GB, free: 74.79 MB / 0.698 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 0.01067/9.2, allocations: 2.176 MB / 3.833 GB, free: 74.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/9.2, allocations: 11.34 kB / 3.833 GB, free: 74.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/9.205, allocations: 0.554 MB / 3.834 GB, free: 74.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/9.21, allocations: 1.352 MB / 3.835 GB, free: 73.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/9.21, allocations: 45.28 kB / 3.835 GB, free: 73.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/9.211, allocations: 91.53 kB / 3.835 GB, free: 73.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003449/9.214, allocations: 1.26 MB / 3.836 GB, free: 73.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/9.218, allocations: 1.478 MB / 3.838 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/9.218, allocations: 7.125 kB / 3.838 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/9.219, allocations: 2.75 kB / 3.838 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/9.219, allocations: 60.23 kB / 3.838 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/9.232, allocations: 7.363 MB / 3.845 GB, free: 69.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/9.234, allocations: 1.072 MB / 3.846 GB, free: 69.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/9.235, allocations: 0.5988 MB / 3.847 GB, free: 69.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/9.235, allocations: 0.8681 MB / 3.847 GB, free: 69.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/9.236, allocations: 0.6359 MB / 3.848 GB, free: 68.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=109): time 5.16e-06/9.236, allocations: 0 / 3.848 GB, free: 68.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=109): time 0.004023/9.24, allocations: 1.24 MB / 3.849 GB, free: 68.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/9.24, allocations: 87.98 kB / 3.849 GB, free: 68.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/9.242, allocations: 0.8289 MB / 3.85 GB, free: 68.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/9.243, allocations: 29.2 kB / 3.85 GB, free: 68.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/9.243, allocations: 0.4899 MB / 3.851 GB, free: 68.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/9.244, allocations: 366 kB / 3.851 GB, free: 68.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/9.244, allocations: 0 / 3.851 GB, free: 68.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/9.244, allocations: 347.6 kB / 3.851 GB, free: 67.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/9.245, allocations: 425.1 kB / 3.852 GB, free: 67.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/9.246, allocations: 0.5906 MB / 3.852 GB, free: 67.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/9.247, allocations: 0.5232 MB / 3.853 GB, free: 67.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/9.247, allocations: 3.719 kB / 3.853 GB, free: 67.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00263/9.25, allocations: 1.22 MB / 3.854 GB, free: 67.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/9.25, allocations: 0.8861 MB / 3.855 GB, free: 66.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/9.25, allocations: 2.844 kB / 3.855 GB, free: 66.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-05/9.25, allocations: 11.44 kB / 3.855 GB, free: 66.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/9.251, allocations: 234 kB / 3.855 GB, free: 66.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/9.251, allocations: 7.625 kB / 3.855 GB, free: 66.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/9.253, allocations: 136.8 kB / 3.855 GB, free: 66.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/9.254, allocations: 40.98 kB / 3.855 GB, free: 66.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/9.254, allocations: 6.812 kB / 3.855 GB, free: 66.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002108/9.256, allocations: 1.054 MB / 3.856 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/9.256, allocations: 7.578 kB / 3.856 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/9.256, allocations: 4.969 kB / 3.856 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/9.257, allocations: 229.7 kB / 3.857 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/9.257, allocations: 14.27 kB / 3.857 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/9.259, allocations: 127.7 kB / 3.857 GB, free: 66.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/9.259, allocations: 39.8 kB / 3.857 GB, free: 66.59 MB / 0.698 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.000455/9.26, allocations: 134.5 kB / 3.857 GB, free: 66.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/9.26, allocations: 133.1 kB / 3.857 GB, free: 66.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/9.264, allocations: 1.253 MB / 3.858 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/9.264, allocations: 17.86 kB / 3.858 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/9.264, allocations: 0 / 3.858 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/9.265, allocations: 1.016 MB / 3.859 GB, free: 66.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/9.272, allocations: 2.982 MB / 3.862 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/9.272, allocations: 6.438 kB / 3.862 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/9.274, allocations: 254.7 kB / 3.862 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/9.274, allocations: 7.625 kB / 3.862 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/9.274, allocations: 24.19 kB / 3.862 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/9.274, allocations: 9.969 kB / 3.863 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/9.274, allocations: 3.594 kB / 3.863 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003421/9.277, allocations: 2.152 MB / 3.865 GB, free: 65.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/9.278, allocations: 366.4 kB / 3.865 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/9.279, allocations: 8.812 kB / 3.865 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/9.281, allocations: 103.5 kB / 3.865 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/9.281, allocations: 61.55 kB / 3.865 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/9.281, allocations: 48.84 kB / 3.865 GB, free: 65.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001424/9.282, allocations: 0.6363 MB / 3.866 GB, free: 65.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004423/9.287, allocations: 1.016 MB / 3.867 GB, free: 64.95 MB / 0.698 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.005507/9.292, allocations: 3.14 MB / 3.87 GB, free: 63.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003423/9.296, allocations: 1.688 MB / 3.871 GB, free: 63.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/9.296, allocations: 0 / 3.871 GB, free: 63.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/9.297, allocations: 0.5607 MB / 3.872 GB, free: 63.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/9.301, allocations: 0.6734 MB / 3.873 GB, free: 63.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/9.309, allocations: 2.76 MB / 3.875 GB, free: 63.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/9.311, allocations: 1.549 MB / 3.877 GB, free: 62.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/9.311, allocations: 0 / 3.877 GB, free: 62.46 MB / 0.698 GB Notification: Performance of Templates: time 0.08579/9.397, allocations: 47.65 MB / 3.923 GB, free: 61.12 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)