Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") [: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.7596/0.7596, 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.00125/0.00125, allocations: 173.3 kB / 164.4 MB, free: 6.898 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.945/1.945, 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.0009733/0.0009731, allocations: 80.31 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.117e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2218, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.946/6.167, allocations: 2.205 GB / 2.826 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/6.168, allocations: 90.86 kB / 2.826 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.459/14.63, allocations: 2.048 GB / 4.874 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002708/14.63, allocations: 67.86 kB / 4.875 GB, free: 4.996 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.009135/14.64, allocations: 2.492 MB / 4.877 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/14.64, allocations: 8.031 kB / 4.877 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006123/14.64, allocations: 0.8281 MB / 4.878 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007804/14.65, allocations: 2.309 MB / 4.88 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/14.65, allocations: 44 kB / 4.88 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005468/14.65, allocations: 88 kB / 4.88 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003437/14.65, allocations: 1.208 MB / 4.881 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/14.66, allocations: 1.45 MB / 4.883 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/14.66, allocations: 3.938 kB / 4.883 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/14.66, allocations: 8 kB / 4.883 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.424e-05/14.66, allocations: 50.59 kB / 4.883 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/14.67, allocations: 7.754 MB / 4.89 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/14.68, allocations: 0.787 MB / 4.891 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/14.68, allocations: 446.7 kB / 4.892 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/14.68, allocations: 0.8344 MB / 4.892 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/14.68, allocations: 0.5521 MB / 4.893 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 4.949e-06/14.68, allocations: 0 / 4.893 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.004418/14.68, allocations: 1.112 MB / 4.894 GB, free: 52 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4636/15.15, allocations: 298.6 kB / 4.894 GB, free: 131 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/15.15, allocations: 1.286 MB / 4.896 GB, free: 130.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000386/15.15, allocations: 31.52 kB / 4.896 GB, free: 130.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/15.15, allocations: 0.6414 MB / 4.896 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/15.15, allocations: 272.7 kB / 4.896 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/15.15, allocations: 0 / 4.896 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00011/15.15, allocations: 353.8 kB / 4.897 GB, free: 130.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/15.15, allocations: 363.3 kB / 4.897 GB, free: 130.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/15.15, allocations: 0.789 MB / 4.898 GB, free: 129.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/15.15, allocations: 0.5685 MB / 4.898 GB, free: 129.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/15.15, allocations: 3.844 kB / 4.898 GB, free: 129.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002755/15.16, allocations: 1.32 MB / 4.9 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001079/15.16, allocations: 3.638 MB / 4.903 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/15.16, allocations: 7.75 kB / 4.903 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.415e-05/15.16, allocations: 18.28 kB / 4.903 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/15.16, allocations: 268.2 kB / 4.904 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/15.16, allocations: 22.88 kB / 4.904 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/15.16, allocations: 187.7 kB / 4.904 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/15.16, allocations: 55.75 kB / 4.904 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/15.16, allocations: 3.688 kB / 4.904 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/15.16, allocations: 1.076 MB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/15.16, allocations: 7.281 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/15.16, allocations: 18.25 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/15.16, allocations: 262 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/15.16, allocations: 18.86 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/15.17, allocations: 161.3 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/15.17, allocations: 50.16 kB / 4.905 GB, free: 125.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0002878/15.17, allocations: 141.2 kB / 4.906 GB, free: 125.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/15.17, allocations: 183.3 kB / 4.906 GB, free: 125.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/15.17, allocations: 1.069 MB / 4.907 GB, free: 125.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/15.17, allocations: 11.38 kB / 4.907 GB, free: 125.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/15.17, allocations: 7.5 kB / 4.907 GB, free: 125.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/15.17, allocations: 1.125 MB / 4.908 GB, free: 125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/15.17, allocations: 1.45 MB / 4.909 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/15.17, allocations: 6.469 kB / 4.909 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/15.18, allocations: 177.6 kB / 4.909 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/15.18, allocations: 44.59 kB / 4.91 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/15.18, allocations: 20.47 kB / 4.91 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/15.18, allocations: 1.367 MB / 4.911 GB, free: 123.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/15.18, allocations: 2.656 kB / 4.911 GB, free: 123.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002638/15.18, allocations: 1.522 MB / 4.912 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/15.18, allocations: 355.4 kB / 4.913 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/15.18, allocations: 7.781 kB / 4.913 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/15.18, allocations: 123.5 kB / 4.913 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/15.18, allocations: 55.03 kB / 4.913 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/15.18, allocations: 31.88 kB / 4.913 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001989/15.19, allocations: 0.9479 MB / 4.914 GB, free: 122.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005696/15.19, allocations: 1.244 MB / 4.915 GB, free: 122.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007394/15.2, allocations: 3.786 MB / 4.919 GB, free: 121.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003406/15.2, allocations: 1.611 MB / 4.92 GB, free: 121.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/15.2, allocations: 2.594 kB / 4.92 GB, free: 121.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/15.2, allocations: 0.4932 MB / 4.921 GB, free: 121.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/15.21, allocations: 0.7453 MB / 4.922 GB, free: 121.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/15.22, allocations: 3.024 MB / 4.924 GB, free: 120.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/15.22, allocations: 1.709 MB / 4.926 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.924e-06/15.22, allocations: 0 / 4.926 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.09461/15.31, allocations: 54.23 MB / 4.979 GB, free: 118.9 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)