Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.35/1.35, allocations: 289.8 MB / 297.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009859/0.0009861, allocations: 181.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 85.39 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.232e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4923, allocations: 116.3 MB / 0.9725 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.241/3.734, allocations: 2.077 GB / 3.05 GB, free: 354 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/3.734, allocations: 89.69 kB / 3.05 GB, free: 354 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.962/5.695, allocations: 0.8001 GB / 3.85 GB, free: 168.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.68e-05/5.696, allocations: 35.53 kB / 3.85 GB, free: 168.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004806/5.7, allocations: 1.596 MB / 3.851 GB, free: 168 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/5.7, allocations: 7.594 kB / 3.851 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/5.704, allocations: 458.8 kB / 3.852 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/5.706, allocations: 0.8966 MB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/5.706, allocations: 34.31 kB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/5.706, allocations: 57.5 kB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001592/5.708, allocations: 0.9322 MB / 3.854 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/5.709, allocations: 1.07 MB / 3.855 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/5.709, allocations: 7.656 kB / 3.855 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/5.71, allocations: 5.594 kB / 3.855 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/5.71, allocations: 43.61 kB / 3.855 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/5.714, allocations: 5.044 MB / 3.86 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/5.715, allocations: 0.5207 MB / 3.86 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/5.716, allocations: 0.6029 MB / 3.861 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/5.716, allocations: 0.6816 MB / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/5.716, allocations: 41.06 kB / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/5.716, allocations: 0 / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=83): time 0.004548/5.721, allocations: 2.228 MB / 3.864 GB, free: 163.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/5.721, allocations: 59.72 kB / 3.864 GB, free: 163.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/5.721, allocations: 486.6 kB / 3.864 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/5.721, allocations: 25.7 kB / 3.864 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/5.721, allocations: 352.8 kB / 3.865 GB, free: 163 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/5.721, allocations: 285.5 kB / 3.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/5.721, allocations: 3.906 kB / 3.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/5.722, allocations: 382.3 kB / 3.865 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/5.722, allocations: 355.9 kB / 3.866 GB, free: 162.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/5.722, allocations: 487.6 kB / 3.866 GB, free: 162.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/5.723, allocations: 456.7 kB / 3.867 GB, free: 162.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/5.723, allocations: 0 / 3.867 GB, free: 162.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001436/5.725, allocations: 1.018 MB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/5.725, allocations: 6.031 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/5.725, allocations: 3.828 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/5.725, allocations: 59.73 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/5.726, allocations: 161.8 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003539/5.726, allocations: 0.6255 MB / 3.868 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/5.727, allocations: 70.83 kB / 3.868 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/5.727, allocations: 30.09 kB / 3.868 GB, free: 161.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001424/5.727, allocations: 118.9 kB / 3.869 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/5.727, allocations: 94.09 kB / 3.869 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/5.729, allocations: 0.9865 MB / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/5.729, allocations: 6.094 kB / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/5.729, allocations: 0 / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/5.73, allocations: 0.9767 MB / 3.871 GB, free: 161.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/5.733, allocations: 2.115 MB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/5.733, allocations: 3.938 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/5.734, allocations: 206.6 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/5.734, allocations: 7.562 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/5.734, allocations: 10.27 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/5.734, allocations: 6.75 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/5.734, allocations: 3.188 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001715/5.736, allocations: 1.583 MB / 3.874 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/5.736, allocations: 253.8 kB / 3.875 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/5.736, allocations: 3.906 kB / 3.875 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/5.737, allocations: 71.52 kB / 3.875 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/5.737, allocations: 41.3 kB / 3.875 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/5.737, allocations: 35.2 kB / 3.875 GB, free: 160.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003677/5.738, allocations: 380.8 kB / 3.875 GB, free: 160.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0011/5.739, allocations: 441 kB / 3.876 GB, free: 160.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.001988/5.741, allocations: 2.245 MB / 3.878 GB, free: 160 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001145/5.742, allocations: 0.8684 MB / 3.879 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/5.742, allocations: 3.844 kB / 3.879 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004643/5.742, allocations: 467.1 kB / 3.879 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/5.744, allocations: 495.2 kB / 3.88 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/5.747, allocations: 1.906 MB / 3.881 GB, free: 159.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/5.748, allocations: 1.25 MB / 3.883 GB, free: 158.8 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/5.748, allocations: 0 / 3.883 GB, free: 158.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03831/5.786, allocations: 30.7 MB / 3.913 GB, free: 158.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)