Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.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.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") [: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.2862/0.2862, allocations: 54.39 MB / 61.67 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.001229/0.001228, allocations: 189.1 kB / 75.37 MB, free: 1.477 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.448/1.448, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.001776/0.001776, allocations: 112.2 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.602e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 57.65 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8744/1.008, allocations: 328.6 MB / 0.7726 GB, free: 63.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/1.008, allocations: 85.39 kB / 0.7727 GB, free: 63.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.513/4.521, allocations: 0.9096 GB / 1.682 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000284/4.521, allocations: 53.11 kB / 1.682 GB, free: 53.74 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.007362/4.529, allocations: 1.823 MB / 1.684 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/4.529, allocations: 10.06 kB / 1.684 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/4.534, allocations: 0.675 MB / 1.685 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006468/4.541, allocations: 1.329 MB / 1.686 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/4.541, allocations: 32.22 kB / 1.686 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005715/4.542, allocations: 72.03 kB / 1.686 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003478/4.545, allocations: 0.8953 MB / 1.687 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/4.549, allocations: 1.159 MB / 1.688 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/4.549, allocations: 5.031 kB / 1.688 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/4.549, allocations: 5.688 kB / 1.688 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/4.549, allocations: 33.86 kB / 1.688 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/4.561, allocations: 7.114 MB / 1.695 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/4.563, allocations: 0.8856 MB / 1.696 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/4.564, allocations: 464.6 kB / 1.697 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/4.565, allocations: 1.615 MB / 1.698 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/4.566, allocations: 0.6811 MB / 1.699 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 4.659e-06/4.566, allocations: 0 / 1.699 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.004899/4.571, allocations: 1.4 MB / 1.7 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/4.571, allocations: 359.3 kB / 1.7 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/4.573, allocations: 0.8456 MB / 1.701 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/4.573, allocations: 29.05 kB / 1.701 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/4.574, allocations: 484.8 kB / 1.702 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/4.574, allocations: 308.5 kB / 1.702 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/4.575, allocations: 3.094 kB / 1.702 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001191/4.575, allocations: 353.2 kB / 1.702 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/4.575, allocations: 413.1 kB / 1.703 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/4.576, allocations: 0.7189 MB / 1.704 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/4.578, allocations: 0.741 MB / 1.704 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/4.578, allocations: 3.891 kB / 1.704 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003672/4.582, allocations: 1.493 MB / 1.706 GB, free: 43.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006442/4.583, allocations: 2.037 MB / 1.708 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/4.583, allocations: 6.875 kB / 1.708 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.826e-05/4.583, allocations: 12.09 kB / 1.708 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/4.584, allocations: 331.4 kB / 1.708 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/4.584, allocations: 19.69 kB / 1.708 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/4.587, allocations: 282.2 kB / 1.708 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/4.587, allocations: 55.48 kB / 1.708 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/4.587, allocations: 4.562 kB / 1.708 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003351/4.591, allocations: 1.296 MB / 1.71 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/4.591, allocations: 3.25 kB / 1.71 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/4.591, allocations: 10.22 kB / 1.71 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/4.592, allocations: 310.5 kB / 1.71 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/4.592, allocations: 16.39 kB / 1.71 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/4.594, allocations: 232 kB / 1.71 GB, free: 41.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/4.594, allocations: 51.41 kB / 1.71 GB, free: 41.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.0004536/4.595, allocations: 243.2 kB / 1.71 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/4.595, allocations: 144.8 kB / 1.711 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/4.6, allocations: 2.033 MB / 1.713 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/4.6, allocations: 11.62 kB / 1.713 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/4.6, allocations: 1.938 kB / 1.713 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/4.6, allocations: 7.453 kB / 1.713 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/4.603, allocations: 1.162 MB / 1.714 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/4.603, allocations: 3.719 kB / 1.714 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/4.604, allocations: 258.1 kB / 1.714 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/4.604, allocations: 7.875 kB / 1.714 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/4.604, allocations: 29 kB / 1.714 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/4.604, allocations: 6.484 kB / 1.714 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/4.604, allocations: 0 / 1.714 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00458/4.609, allocations: 2.233 MB / 1.716 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/4.61, allocations: 236.4 kB / 1.716 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/4.61, allocations: 10.97 kB / 1.716 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/4.612, allocations: 186.3 kB / 1.717 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/4.613, allocations: 58.19 kB / 1.717 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/4.613, allocations: 51 kB / 1.717 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001445/4.614, allocations: 0.666 MB / 1.717 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004223/4.618, allocations: 0.869 MB / 1.718 GB, free: 40.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.heaCoo.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.heaCoo.T,heaCooUnl.heaCoo.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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 Backend phase and start with SimCode phase: time 0.003419/4.622, allocations: 0.9103 MB / 1.719 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004522/4.626, allocations: 1.884 MB / 1.721 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/4.626, allocations: 6.688 kB / 1.721 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/4.628, allocations: 0.7417 MB / 1.722 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/4.631, allocations: 431 kB / 1.722 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/4.638, allocations: 2.529 MB / 1.725 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/4.64, allocations: 1.459 MB / 1.726 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.445e-06/4.64, allocations: 0 / 1.726 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.076/4.716, allocations: 34.9 MB / 1.76 GB, free: 36.32 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe 2>&1)