Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") [: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.336/0.336, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001092/0.001092, allocations: 184.9 kB / 75.37 MB, free: 1.492 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.481/1.481, allocations: 194.2 MB / 283.2 MB, free: 3.508 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.001723/0.001723, allocations: 112.1 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.55e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 57.65 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4696, allocations: 86.52 MB / 0.5362 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4699, allocations: 71.14 kB / 0.5363 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01314/0.4831, allocations: 3.777 MB / 0.54 GB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.4831, allocations: 0 / 0.54 GB, free: 7.289 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008996/0.484, allocations: 0.5405 MB / 0.5405 GB, free: 6.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4841, allocations: 15.97 kB / 0.5405 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4842, allocations: 27.7 kB / 0.5406 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4844, allocations: 195.8 kB / 0.5407 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.4844, allocations: 4 kB / 0.5408 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.4845, allocations: 15.98 kB / 0.5408 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/0.4846, allocations: 37.81 kB / 0.5408 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4849, allocations: 133.7 kB / 0.5409 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4849, allocations: 0 / 0.5409 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.4849, allocations: 7.984 kB / 0.5409 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4849, allocations: 0 / 0.5409 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.4853, allocations: 281.8 kB / 0.5412 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.4855, allocations: 109.2 kB / 0.5413 GB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.4856, allocations: 51.78 kB / 0.5414 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4856, allocations: 4 kB / 0.5414 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.486, allocations: 162.5 kB / 0.5415 GB, free: 5.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.486, allocations: 4 kB / 0.5415 GB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003808/0.4864, allocations: 157.3 kB / 0.5417 GB, free: 5.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4864, allocations: 63.33 kB / 0.5417 GB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4866, allocations: 198.9 kB / 0.5419 GB, free: 5.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.4867, allocations: 29.7 kB / 0.542 GB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.4868, allocations: 92.91 kB / 0.542 GB, free: 5.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.4868, allocations: 47.39 kB / 0.5421 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4869, allocations: 4 kB / 0.5421 GB, free: 5.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.487, allocations: 326.8 kB / 0.5424 GB, free: 4.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4872, allocations: 76.22 kB / 0.5425 GB, free: 4.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.4874, allocations: 138.2 kB / 0.5426 GB, free: 4.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.4876, allocations: 72.7 kB / 0.5427 GB, free: 4.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4876, allocations: 0 / 0.5427 GB, free: 4.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005453/0.4881, allocations: 279.6 kB / 0.5429 GB, free: 4.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4882, allocations: 5.094 kB / 0.5429 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4882, allocations: 4 kB / 0.5429 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4882, allocations: 0 / 0.5429 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4884, allocations: 27.91 kB / 0.543 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4884, allocations: 8.188 kB / 0.543 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.4888, allocations: 47.81 kB / 0.543 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.4889, allocations: 47.95 kB / 0.5431 GB, free: 4.016 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0001572/0.489, allocations: 135.5 kB / 0.5432 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4891, allocations: 19.72 kB / 0.5432 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.4891, allocations: 17.59 kB / 0.5432 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4892, allocations: 3.984 kB / 0.5432 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4892, allocations: 0 / 0.5432 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4892, allocations: 0 / 0.5432 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.4899, allocations: 476.2 kB / 0.5437 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4899, allocations: 0 / 0.5437 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.49, allocations: 8 kB / 0.5437 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.49, allocations: 3.906 kB / 0.5437 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.49, allocations: 11.97 kB / 0.5437 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.49, allocations: 0 / 0.5437 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.49, allocations: 0 / 0.5437 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003742/0.4904, allocations: 259.1 kB / 0.544 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.4907, allocations: 144.7 kB / 0.5441 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.4907, allocations: 8 kB / 0.5441 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4909, allocations: 11.98 kB / 0.5441 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.491, allocations: 11.97 kB / 0.5441 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.491, allocations: 35.83 kB / 0.5442 GB, free: 2.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000165/0.4912, allocations: 157.6 kB / 0.5443 GB, free: 2.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.4916, allocations: 36 kB / 0.5444 GB, free: 2.621 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002314/0.4918, allocations: 123.2 kB / 0.5445 GB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.4924, allocations: 248.6 kB / 0.5447 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4924, allocations: 0 / 0.5447 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4925, allocations: 63.92 kB / 0.5448 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4929, allocations: 16.66 kB / 0.5448 GB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.4936, allocations: 225.9 kB / 0.545 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.4942, allocations: 0.7707 MB / 0.5458 GB, free: 1.121 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4942, allocations: 0 / 0.5458 GB, free: 1.121 MB / 378.7 MB Notification: Performance of Templates: time 0.00859/0.5028, allocations: 3.922 MB / 0.5496 GB, free: 13.18 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)