Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_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.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_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.3306/0.3306, allocations: 54.4 MB / 61.68 MB, free: 11.19 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.001186/0.001186, allocations: 183.6 kB / 75.37 MB, free: 1.535 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.543/1.543, allocations: 194.2 MB / 283.2 MB, free: 3.535 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.001754/0.001754, allocations: 118.7 kB / 341.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.924e-06/7.955e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 57.65 MB / 462.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9413/1.087, allocations: 328.4 MB / 0.7724 GB, free: 63.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.088, allocations: 85.58 kB / 0.7725 GB, free: 63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.318/3.405, allocations: 0.6582 GB / 1.431 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004122/3.406, allocations: 55.97 kB / 1.431 GB, free: 9.633 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.007139/3.413, allocations: 1.798 MB / 1.432 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/3.413, allocations: 11.97 kB / 1.433 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/3.418, allocations: 0.6729 MB / 1.433 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/3.423, allocations: 1.311 MB / 1.434 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/3.423, allocations: 40 kB / 1.434 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/3.424, allocations: 67.91 kB / 1.435 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002678/3.426, allocations: 0.8477 MB / 1.435 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/3.43, allocations: 1.188 MB / 1.437 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/3.43, allocations: 0 / 1.437 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/3.43, allocations: 8 kB / 1.437 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/3.43, allocations: 35.94 kB / 1.437 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3276/3.758, allocations: 7.472 MB / 1.444 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/3.759, allocations: 0.8122 MB / 1.445 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/3.76, allocations: 433.8 kB / 1.445 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/3.761, allocations: 1.604 MB / 1.447 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009086/3.762, allocations: 0.6503 MB / 1.447 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 3.286e-06/3.762, allocations: 0 / 1.447 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.003834/3.766, allocations: 1.298 MB / 1.449 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/3.766, allocations: 354.1 kB / 1.449 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/3.767, allocations: 0.8566 MB / 1.45 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.774e-05/3.768, allocations: 29.58 kB / 1.45 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/3.768, allocations: 0.4944 MB / 1.45 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/3.768, allocations: 281.3 kB / 1.45 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/3.768, allocations: 2.969 kB / 1.451 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001332/3.768, allocations: 344.5 kB / 1.451 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/3.769, allocations: 389.8 kB / 1.451 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/3.77, allocations: 0.7038 MB / 1.452 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/3.772, allocations: 0.6833 MB / 1.453 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/3.772, allocations: 0 / 1.453 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002983/3.775, allocations: 1.411 MB / 1.454 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006034/3.775, allocations: 2.572 MB / 1.456 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/3.775, allocations: 7.25 kB / 1.456 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/3.775, allocations: 12.81 kB / 1.456 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/3.777, allocations: 329 kB / 1.457 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/3.777, allocations: 17.38 kB / 1.457 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/3.779, allocations: 276.3 kB / 1.457 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/3.779, allocations: 57.33 kB / 1.457 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/3.779, allocations: 9.344 kB / 1.457 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/3.782, allocations: 1.21 MB / 1.458 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/3.782, allocations: 7.312 kB / 1.458 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/3.782, allocations: 11.38 kB / 1.458 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/3.783, allocations: 298.4 kB / 1.459 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/3.783, allocations: 22.75 kB / 1.459 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/3.785, allocations: 222.9 kB / 1.459 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/3.785, allocations: 53.53 kB / 1.459 GB, free: 76.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (115): * Single equations (assignments): 112 * 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.0004271/3.785, allocations: 244.6 kB / 1.459 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/3.786, allocations: 144.2 kB / 1.459 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/3.79, allocations: 1.911 MB / 1.461 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/3.79, allocations: 7.594 kB / 1.461 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/3.79, allocations: 6.219 kB / 1.461 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/3.79, allocations: 3.703 kB / 1.461 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/3.792, allocations: 1.124 MB / 1.462 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/3.792, allocations: 0 / 1.462 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/3.793, allocations: 242.2 kB / 1.462 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/3.793, allocations: 3.688 kB / 1.462 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/3.793, allocations: 26.45 kB / 1.463 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/3.793, allocations: 7.75 kB / 1.463 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.793, allocations: 0 / 1.463 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003679/3.797, allocations: 2.092 MB / 1.465 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/3.797, allocations: 216.5 kB / 1.465 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/3.798, allocations: 17.31 kB / 1.465 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/3.799, allocations: 190.9 kB / 1.465 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/3.799, allocations: 50.19 kB / 1.465 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/3.799, allocations: 49.62 kB / 1.465 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000899/3.8, allocations: 0.6756 MB / 1.466 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002673/3.803, allocations: 0.8573 MB / 1.467 GB, free: 75.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (79): * Single equations (assignments): 64 * 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.001686/3.805, allocations: 0.8925 MB / 1.467 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002541/3.807, allocations: 1.8 MB / 1.469 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/3.807, allocations: 0 / 1.469 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/3.808, allocations: 0.7058 MB / 1.47 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/3.81, allocations: 429.1 kB / 1.47 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/3.815, allocations: 2.29 MB / 1.473 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/3.816, allocations: 1.443 MB / 1.474 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/3.816, allocations: 2.062 kB / 1.474 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.06249/3.879, allocations: 34.06 MB / 1.507 GB, free: 72.84 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)