Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 169.3 kB / 361.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007769/0.0007769, allocations: 89.22 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.492e-06, allocations: 4 kB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.561, allocations: 139.1 MB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.5612, allocations: 72.56 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01244/0.5736, allocations: 4.11 MB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5737, allocations: 4.75 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB 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.0007521/0.5744, allocations: 0.5902 MB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.5745, allocations: 8.031 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.5745, allocations: 27.72 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.5749, allocations: 263.1 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5749, allocations: 4 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.5749, allocations: 16 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5751, allocations: 39.98 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5753, allocations: 139.7 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5753, allocations: 4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.5753, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5753, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.5756, allocations: 310.8 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5758, allocations: 106.7 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.5759, allocations: 52.84 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.576, allocations: 8 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.5763, allocations: 176.1 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.5763, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003451/0.5766, allocations: 171.4 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.5767, allocations: 63.34 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.5769, allocations: 243.3 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.5769, allocations: 41.69 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.577, allocations: 85.14 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.577, allocations: 43.5 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.5771, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.5772, allocations: 326.8 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.5773, allocations: 84.2 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.5775, allocations: 134.2 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5777, allocations: 78.19 kB / 1.106 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5777, allocations: 0 / 1.106 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004859/0.5782, allocations: 288 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5782, allocations: 8 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5782, allocations: 0 / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5782, allocations: 4 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.5784, allocations: 27.92 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5784, allocations: 12.17 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.5788, allocations: 37.45 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/0.5789, allocations: 59.97 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB 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.0001098/0.579, allocations: 135.2 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.579, allocations: 27.7 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.5791, allocations: 29.98 kB / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5791, allocations: 3.984 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5791, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5791, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.5797, allocations: 494.6 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5797, allocations: 4 kB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.5797, allocations: 8 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5797, allocations: 3.984 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.5798, allocations: 11.98 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5798, allocations: 3.469 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5798, allocations: 0 / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002937/0.5801, allocations: 273.3 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.5802, allocations: 156.7 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.5803, allocations: 8 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5805, allocations: 4 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.5806, allocations: 19.97 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.5806, allocations: 27.98 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001421/0.5807, allocations: 199.1 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002987/0.5811, allocations: 47.91 kB / 1.108 GB, free: 7.719 MB / 0.7136 GB 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.0001239/0.5812, allocations: 127.5 kB / 1.108 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.5816, allocations: 251.5 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5816, allocations: 0 / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.5817, allocations: 67.92 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5819, allocations: 24.91 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.5824, allocations: 275.3 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.5828, allocations: 0.8023 MB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/0.5828, allocations: 0 / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.006418/0.5893, allocations: 4.291 MB / 1.114 GB, free: 1.895 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)