Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_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.2859/0.2859, allocations: 54.39 MB / 61.68 MB, free: 11.16 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.001279/0.001279, allocations: 195.6 kB / 75.38 MB, free: 1.496 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.64/1.64, allocations: 194.2 MB / 283.2 MB, free: 3.59 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.001697/0.001697, allocations: 115.2 kB / 341.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.864e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 57.64 MB / 462.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9864/1.134, allocations: 389 MB / 0.8316 GB, free: 4.418 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.134, allocations: 83.95 kB / 0.8317 GB, free: 4.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.525/4.659, allocations: 0.8696 GB / 1.701 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004439/4.659, allocations: 59.41 kB / 1.701 GB, free: 48.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007702/4.667, allocations: 2.072 MB / 1.703 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/4.667, allocations: 11.56 kB / 1.703 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/4.671, allocations: 490.4 kB / 1.704 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009132/4.68, allocations: 2.287 MB / 1.706 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/4.68, allocations: 37.75 kB / 1.706 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/4.681, allocations: 70.5 kB / 1.706 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002622/4.683, allocations: 0.7929 MB / 1.707 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/4.686, allocations: 1.099 MB / 1.708 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/4.686, allocations: 6.531 kB / 1.708 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/4.686, allocations: 3.75 kB / 1.708 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/4.686, allocations: 29.05 kB / 1.708 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/4.697, allocations: 6.596 MB / 1.714 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/4.699, allocations: 0.6375 MB / 1.715 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/4.699, allocations: 322.3 kB / 1.715 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/4.704, allocations: 2.353 MB / 1.718 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/4.704, allocations: 391.2 kB / 1.718 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 4.278e-06/4.704, allocations: 0 / 1.718 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.009988/4.714, allocations: 2.187 MB / 1.72 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/4.715, allocations: 216.1 kB / 1.72 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/4.718, allocations: 1.2 MB / 1.722 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/4.718, allocations: 25.7 kB / 1.722 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/4.719, allocations: 0.5376 MB / 1.722 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/4.719, allocations: 237.2 kB / 1.722 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/4.719, allocations: 5.109 kB / 1.722 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001181/4.72, allocations: 344.3 kB / 1.723 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/4.72, allocations: 283.7 kB / 1.723 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/4.721, allocations: 0.6339 MB / 1.724 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/4.722, allocations: 0.5199 MB / 1.724 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/4.722, allocations: 1.719 kB / 1.724 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003059/4.726, allocations: 1.161 MB / 1.725 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009026/4.726, allocations: 3.424 MB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/4.727, allocations: 10.16 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-05/4.727, allocations: 13.16 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/4.728, allocations: 256.4 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/4.728, allocations: 22.56 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/4.729, allocations: 110.4 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/4.73, allocations: 52.75 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/4.73, allocations: 5.938 kB / 1.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/4.732, allocations: 0.9195 MB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/4.732, allocations: 11.25 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/4.732, allocations: 19.66 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/4.733, allocations: 241.5 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/4.733, allocations: 17.86 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/4.735, allocations: 98.44 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/4.735, allocations: 48.81 kB / 1.73 GB, free: 34.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (121): * Single equations (assignments): 116 * 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.0002973/4.735, allocations: 135.8 kB / 1.73 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/4.736, allocations: 163.4 kB / 1.731 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/4.739, allocations: 1.174 MB / 1.732 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/4.739, allocations: 14.95 kB / 1.732 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/4.739, allocations: 0 / 1.732 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/4.741, allocations: 0.9498 MB / 1.733 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/4.746, allocations: 2.238 MB / 1.735 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/4.746, allocations: 0 / 1.735 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/4.747, allocations: 169.2 kB / 1.735 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/4.747, allocations: 51.52 kB / 1.735 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/4.747, allocations: 17.34 kB / 1.735 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/4.748, allocations: 0.6077 MB / 1.736 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/4.748, allocations: 3.906 kB / 1.736 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00291/4.751, allocations: 1.662 MB / 1.737 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/4.752, allocations: 330 kB / 1.738 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/4.752, allocations: 7.469 kB / 1.738 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/4.753, allocations: 98.7 kB / 1.738 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/4.754, allocations: 60.78 kB / 1.738 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/4.754, allocations: 29.05 kB / 1.738 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001731/4.755, allocations: 0.8926 MB / 1.739 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004321/4.76, allocations: 0.8426 MB / 1.74 GB, free: 32.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,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 (81): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/4.763, allocations: 1.121 MB / 1.741 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002749/4.766, allocations: 1.439 MB / 1.742 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/4.766, allocations: 3.938 kB / 1.742 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007955/4.766, allocations: 397.7 kB / 1.742 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/4.77, allocations: 0.6025 MB / 1.743 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/4.777, allocations: 2.389 MB / 1.745 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/4.779, allocations: 1.552 MB / 1.747 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/4.779, allocations: 0 / 1.747 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.08027/4.86, allocations: 36.87 MB / 1.783 GB, free: 27.71 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)