Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2846/0.2846, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001213/0.001214, allocations: 185 kB / 75.37 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.669/1.669, allocations: 194.2 MB / 283.2 MB, free: 3.516 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001739/0.001739, allocations: 108 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.285e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 57.64 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.842/4.996, allocations: 2.18 GB / 2.632 GB, free: 16.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/4.996, allocations: 91.94 kB / 2.632 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.743/11.74, allocations: 1.61 GB / 4.241 GB, free: 44.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005171/11.74, allocations: 57.98 kB / 4.241 GB, free: 44.96 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.0109/11.75, allocations: 2.474 MB / 4.244 GB, free: 44.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/11.75, allocations: 14.55 kB / 4.244 GB, free: 44.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006569/11.76, allocations: 0.807 MB / 4.245 GB, free: 44.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009157/11.77, allocations: 2.215 MB / 4.247 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/11.77, allocations: 46.31 kB / 4.247 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008671/11.77, allocations: 95.47 kB / 4.247 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003994/11.77, allocations: 1.192 MB / 4.248 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/11.78, allocations: 1.405 MB / 4.249 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/11.78, allocations: 2.844 kB / 4.249 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/11.78, allocations: 3.438 kB / 4.249 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-05/11.78, allocations: 47.47 kB / 4.249 GB, free: 43.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/11.79, allocations: 7.22 MB / 4.256 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/11.79, allocations: 0.7947 MB / 4.257 GB, free: 39.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/11.79, allocations: 470.3 kB / 4.258 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/11.8, allocations: 0.8308 MB / 4.258 GB, free: 38.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009795/11.8, allocations: 0.565 MB / 4.259 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=83): time 5.46e-06/11.8, allocations: 0 / 4.259 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83): time 0.004217/11.8, allocations: 1.119 MB / 4.26 GB, free: 38.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/11.8, allocations: 322.2 kB / 4.26 GB, free: 38.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/11.8, allocations: 1.238 MB / 4.262 GB, free: 38.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/11.81, allocations: 25.7 kB / 4.262 GB, free: 38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009861/11.81, allocations: 0.6086 MB / 4.262 GB, free: 37.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/11.81, allocations: 276.2 kB / 4.263 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/11.81, allocations: 3.219 kB / 4.263 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000161/11.81, allocations: 346.7 kB / 4.263 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/11.81, allocations: 371 kB / 4.263 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/11.81, allocations: 0.7338 MB / 4.264 GB, free: 36.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/11.81, allocations: 0.5762 MB / 4.264 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/11.81, allocations: 3.344 kB / 4.264 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003904/11.81, allocations: 1.298 MB / 4.266 GB, free: 36.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/11.82, allocations: 3.085 MB / 4.269 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/11.82, allocations: 11.06 kB / 4.269 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/11.82, allocations: 15 kB / 4.269 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/11.82, allocations: 266.3 kB / 4.269 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/11.82, allocations: 19.02 kB / 4.269 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/11.82, allocations: 185.9 kB / 4.269 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/11.82, allocations: 56.8 kB / 4.269 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/11.82, allocations: 5.562 kB / 4.269 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002815/11.82, allocations: 1.058 MB / 4.27 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/11.82, allocations: 14.22 kB / 4.27 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/11.82, allocations: 12.59 kB / 4.27 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/11.82, allocations: 251.3 kB / 4.271 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/11.82, allocations: 20.89 kB / 4.271 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/11.83, allocations: 161.1 kB / 4.271 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/11.83, allocations: 50 kB / 4.271 GB, free: 33.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (135): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 2 * 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.0004442/11.83, allocations: 142.4 kB / 4.271 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000859/11.83, allocations: 176.6 kB / 4.271 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/11.83, allocations: 1.085 MB / 4.272 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/11.83, allocations: 8.812 kB / 4.272 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/11.83, allocations: 2.312 kB / 4.272 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001907/11.83, allocations: 1.143 MB / 4.273 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/11.84, allocations: 1.431 MB / 4.275 GB, free: 32.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/11.84, allocations: 3.906 kB / 4.275 GB, free: 32.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/11.84, allocations: 180.4 kB / 4.275 GB, free: 32.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/11.84, allocations: 44.14 kB / 4.275 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.681e-05/11.84, allocations: 17.69 kB / 4.275 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/11.84, allocations: 1.371 MB / 4.276 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/11.84, allocations: 1.812 kB / 4.276 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003354/11.84, allocations: 1.541 MB / 4.278 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/11.85, allocations: 347 kB / 4.278 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006706/11.85, allocations: 13.41 kB / 4.278 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/11.85, allocations: 123.1 kB / 4.278 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/11.85, allocations: 53.58 kB / 4.278 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/11.85, allocations: 33.36 kB / 4.278 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002378/11.85, allocations: 0.9193 MB / 4.279 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006255/11.86, allocations: 1.194 MB / 4.28 GB, free: 30.41 MB / 0.5417 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.heaCoo.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 (84): * Single equations (assignments): 81 * 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.008471/11.87, allocations: 3.646 MB / 4.284 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004262/11.87, allocations: 1.657 MB / 4.286 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/11.87, allocations: 0 / 4.286 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/11.87, allocations: 0.5082 MB / 4.286 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/11.88, allocations: 0.7063 MB / 4.287 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/11.89, allocations: 2.966 MB / 4.29 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/11.89, allocations: 1.682 MB / 4.291 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of SimCode: time 3.156e-06/11.89, allocations: 0 / 4.291 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.1111/12, allocations: 52.54 MB / 4.343 GB, free: 24.72 MB / 0.5417 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)