Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") [: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.7391/0.7391, allocations: 127.4 MB / 134.6 MB, free: 4.156 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.001178/0.001178, allocations: 177.3 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.951/1.951, 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.001147/0.001147, allocations: 95.27 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.094e-05, allocations: 4 kB / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2223, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.548/5.77, allocations: 2.198 GB / 2.819 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.771, allocations: 95.95 kB / 2.819 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.158/13.93, allocations: 1.967 GB / 4.786 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007186/13.93, allocations: 56.95 kB / 4.786 GB, free: 51.14 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.0126/13.94, allocations: 2.679 MB / 4.789 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/13.94, allocations: 9.469 kB / 4.789 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/13.95, allocations: 0.8374 MB / 4.789 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/13.96, allocations: 2.483 MB / 4.792 GB, free: 49.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/13.96, allocations: 50.89 kB / 4.792 GB, free: 49.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/13.96, allocations: 101.3 kB / 4.792 GB, free: 49.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005754/13.97, allocations: 1.408 MB / 4.793 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/13.98, allocations: 1.636 MB / 4.795 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/13.98, allocations: 2.828 kB / 4.795 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006372/13.98, allocations: 9.031 kB / 4.795 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/13.98, allocations: 60.31 kB / 4.795 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/14, allocations: 8.488 MB / 4.803 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/14.01, allocations: 0.964 MB / 4.804 GB, free: 44.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/14.01, allocations: 0.5973 MB / 4.805 GB, free: 44.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006241/14.01, allocations: 285.4 kB / 4.805 GB, free: 44.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/14.01, allocations: 0.6896 MB / 4.806 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=99): time 5.711e-06/14.01, allocations: 0 / 4.806 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.01426/14.02, allocations: 3.369 MB / 4.809 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/14.02, allocations: 294.6 kB / 4.809 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/14.03, allocations: 1.25 MB / 4.811 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/14.03, allocations: 32.8 kB / 4.811 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/14.03, allocations: 0.6695 MB / 4.811 GB, free: 40.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006435/14.03, allocations: 347.5 kB / 4.812 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/14.03, allocations: 0.9688 kB / 4.812 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001666/14.03, allocations: 357 kB / 4.812 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/14.03, allocations: 453.8 kB / 4.812 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/14.03, allocations: 0.847 MB / 4.813 GB, free: 39.24 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00925/14.04, allocations: 2.085 MB / 4.815 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-05/14.04, allocations: 2.688 kB / 4.815 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004955/14.05, allocations: 1.584 MB / 4.817 GB, free: 37.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/14.05, allocations: 3.188 MB / 4.82 GB, free: 34.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-05/14.05, allocations: 8 kB / 4.82 GB, free: 34.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/14.05, allocations: 43.89 kB / 4.82 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/14.05, allocations: 300.3 kB / 4.82 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/14.05, allocations: 1.404 MB / 4.822 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/14.06, allocations: 142.5 kB / 4.822 GB, free: 32.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/14.06, allocations: 56.5 kB / 4.822 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/14.06, allocations: 6.5 kB / 4.822 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003157/14.06, allocations: 1.319 MB / 4.823 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.044e-05/14.06, allocations: 19.11 kB / 4.823 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/14.06, allocations: 43.02 kB / 4.823 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/14.06, allocations: 284.4 kB / 4.823 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/14.06, allocations: 1.406 MB / 4.825 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/14.07, allocations: 129.9 kB / 4.825 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/14.07, allocations: 60.41 kB / 4.825 GB, free: 29.15 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (152): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006021/14.07, allocations: 149.5 kB / 4.825 GB, free: 29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/14.07, allocations: 193.7 kB / 4.825 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/14.07, allocations: 1.348 MB / 4.827 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/14.07, allocations: 12 kB / 4.827 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/14.07, allocations: 3.906 kB / 4.827 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/14.07, allocations: 1.093 MB / 4.828 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009963/14.08, allocations: 3.116 MB / 4.831 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/14.08, allocations: 2.062 kB / 4.831 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/14.08, allocations: 230 kB / 4.831 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/14.08, allocations: 81.14 kB / 4.831 GB, free: 23.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/14.08, allocations: 15.98 kB / 4.831 GB, free: 23.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/14.09, allocations: 2.62 MB / 4.834 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/14.09, allocations: 0 / 4.834 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004031/14.09, allocations: 2.037 MB / 4.836 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/14.09, allocations: 386.6 kB / 4.836 GB, free: 18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009496/14.09, allocations: 8 kB / 4.836 GB, free: 17.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/14.1, allocations: 136.6 kB / 4.836 GB, free: 17.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/14.1, allocations: 67.8 kB / 4.836 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/14.1, allocations: 39.97 kB / 4.836 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003334/14.1, allocations: 0.9453 MB / 4.837 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008337/14.11, allocations: 1.187 MB / 4.838 GB, free: 15.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (101): * Single equations (assignments): 97 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00781/14.12, allocations: 3.72 MB / 4.842 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004127/14.12, allocations: 2.162 MB / 4.844 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/14.12, allocations: 0 / 4.844 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/14.12, allocations: 0.7207 MB / 4.845 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/14.13, allocations: 0.9038 MB / 4.846 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/14.14, allocations: 3.268 MB / 4.849 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/14.14, allocations: 1.816 MB / 4.851 GB, free: 19.38 MB / 0.698 GB Notification: Performance of SimCode: time 3.467e-06/14.14, allocations: 0 / 4.851 GB, free: 19.38 MB / 0.698 GB Notification: Performance of Templates: time 0.6162/14.75, allocations: 60.77 MB / 4.91 GB, free: 110.4 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)