Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001779/0.001779, allocations: 184.2 kB / 361.1 MB, free: 7.113 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.751/1.751, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.001015/0.001015, allocations: 97.75 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.368e-06, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7986, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.285/6.084, allocations: 2.121 GB / 3.084 GB, free: 311 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/6.084, allocations: 89.69 kB / 3.085 GB, free: 310.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.236/13.32, allocations: 1.985 GB / 5.069 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005408/13.32, allocations: 66.23 kB / 5.069 GB, free: 118.1 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01049/13.33, allocations: 2.615 MB / 5.072 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/13.33, allocations: 10.62 kB / 5.072 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/13.34, allocations: 0.8598 MB / 5.073 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008902/13.35, allocations: 2.407 MB / 5.075 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/13.35, allocations: 49.81 kB / 5.075 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/13.35, allocations: 99.78 kB / 5.075 GB, free: 116 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003132/13.35, allocations: 1.353 MB / 5.076 GB, free: 116 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/13.35, allocations: 1.57 MB / 5.078 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/13.35, allocations: 4.125 kB / 5.078 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/13.35, allocations: 7.844 kB / 5.078 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/13.35, allocations: 52.5 kB / 5.078 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/13.37, allocations: 8.297 MB / 5.086 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/13.37, allocations: 0.9505 MB / 5.087 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009739/13.37, allocations: 0.6161 MB / 5.088 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/13.37, allocations: 384.9 kB / 5.088 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/13.37, allocations: 0.61 MB / 5.089 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 5.069e-06/13.37, allocations: 1 kB / 5.089 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.009565/13.38, allocations: 3.009 MB / 5.092 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/13.38, allocations: 167.5 kB / 5.092 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/13.38, allocations: 1.21 MB / 5.093 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/13.38, allocations: 36.45 kB / 5.093 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/13.39, allocations: 0.6237 MB / 5.094 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/13.39, allocations: 358.5 kB / 5.094 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/13.39, allocations: 0 / 5.094 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001151/13.39, allocations: 355.6 kB / 5.094 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/13.39, allocations: 448 kB / 5.095 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/13.39, allocations: 0.7995 MB / 5.095 GB, free: 106.3 MB / 0.9792 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.006818/13.39, allocations: 2.089 MB / 5.098 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/13.39, allocations: 5.281 kB / 5.098 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002906/13.4, allocations: 1.459 MB / 5.099 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006783/13.4, allocations: 3.002 MB / 5.102 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/13.4, allocations: 12.97 kB / 5.102 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/13.4, allocations: 43.2 kB / 5.102 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/13.4, allocations: 290.6 kB / 5.102 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/13.4, allocations: 1.42 MB / 5.104 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/13.4, allocations: 139.2 kB / 5.104 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/13.4, allocations: 56.34 kB / 5.104 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/13.4, allocations: 4.469 kB / 5.104 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002194/13.41, allocations: 1.212 MB / 5.105 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/13.41, allocations: 6.75 kB / 5.105 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/13.41, allocations: 61.12 kB / 5.105 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/13.41, allocations: 275.8 kB / 5.105 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000877/13.41, allocations: 1.42 MB / 5.107 GB, free: 98.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/13.41, allocations: 143.3 kB / 5.107 GB, free: 98.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/13.41, allocations: 56.62 kB / 5.107 GB, free: 98.68 MB / 0.9792 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: 33 * 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 (148): * Single equations (assignments): 143 * 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.0003679/13.41, allocations: 144 kB / 5.107 GB, free: 98.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/13.41, allocations: 189.8 kB / 5.107 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/13.41, allocations: 1.289 MB / 5.108 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/13.41, allocations: 10.41 kB / 5.108 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/13.41, allocations: 5.906 kB / 5.108 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001851/13.42, allocations: 1.035 MB / 5.109 GB, free: 97.54 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/13.42, allocations: 3.028 MB / 5.112 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/13.42, allocations: 0 / 5.112 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/13.42, allocations: 242 kB / 5.113 GB, free: 96.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/13.43, allocations: 67.84 kB / 5.113 GB, free: 96.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/13.43, allocations: 14.16 kB / 5.113 GB, free: 96.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/13.43, allocations: 2.641 MB / 5.115 GB, free: 93.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/13.43, allocations: 0.5625 kB / 5.115 GB, free: 93.54 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004194/13.43, allocations: 2.064 MB / 5.117 GB, free: 92.51 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/13.43, allocations: 373.8 kB / 5.118 GB, free: 92.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000833/13.43, allocations: 10 kB / 5.118 GB, free: 92.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/13.44, allocations: 132.1 kB / 5.118 GB, free: 92.23 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/13.44, allocations: 66.77 kB / 5.118 GB, free: 92.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/13.44, allocations: 38.72 kB / 5.118 GB, free: 92.22 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00275/13.44, allocations: 0.9118 MB / 5.119 GB, free: 91.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00556/13.45, allocations: 1.179 MB / 5.12 GB, free: 91.57 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (104): * Single equations (assignments): 100 * 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.005919/13.45, allocations: 3.679 MB / 5.124 GB, free: 90.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003925/13.46, allocations: 2.154 MB / 5.126 GB, free: 89.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/13.46, allocations: 1.719 kB / 5.126 GB, free: 89.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/13.46, allocations: 0.7397 MB / 5.126 GB, free: 88.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/13.46, allocations: 0.8893 MB / 5.127 GB, free: 88.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/13.47, allocations: 3.25 MB / 5.13 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/13.47, allocations: 1.793 MB / 5.132 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/13.47, allocations: 0 / 5.132 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of Templates: time 0.0973/13.57, allocations: 59.14 MB / 5.19 GB, free: 30.07 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)