Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [: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.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001376/0.001376, allocations: 173.3 kB / 366.3 MB, free: 2 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.541/1.541, allocations: 205.2 MB / 0.6256 GB, free: 5.836 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.001002/0.001002, allocations: 86.67 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.464e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6543, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.8238, allocations: 140.9 MB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.8241, allocations: 72.47 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01456/0.8387, allocations: 4.224 MB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.8387, allocations: 0 / 1.114 GB, free: 3.359 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.0007899/0.8395, allocations: 0.6211 MB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8396, allocations: 12.03 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.8397, allocations: 31.7 kB / 1.115 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.8401, allocations: 263.8 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.8401, allocations: 4 kB / 1.115 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.8402, allocations: 16 kB / 1.115 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.8403, allocations: 43.98 kB / 1.115 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.8406, allocations: 145.5 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.8406, allocations: 4 kB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.8406, allocations: 3.906 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8407, allocations: 0.9375 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.841, allocations: 305.9 kB / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.8412, allocations: 102.5 kB / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.8413, allocations: 56.84 kB / 1.116 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.8414, allocations: 7.906 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.8416, allocations: 155.3 kB / 1.116 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.8416, allocations: 0 / 1.116 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003859/0.842, allocations: 177.3 kB / 1.116 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.842, allocations: 67.39 kB / 1.116 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.8423, allocations: 251.2 kB / 1.116 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.8423, allocations: 38.92 kB / 1.117 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.8424, allocations: 85.14 kB / 1.117 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.8425, allocations: 35.61 kB / 1.117 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.8425, allocations: 4 kB / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8426, allocations: 322.7 kB / 1.117 GB, free: 424 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.8428, allocations: 79.97 kB / 1.117 GB, free: 344 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.843, allocations: 130 kB / 1.117 GB, free: 192 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.8432, allocations: 67.05 kB / 1.117 GB, free: 128 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8432, allocations: 0 / 1.117 GB, free: 128 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005605/0.8438, allocations: 269.4 kB / 1.117 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8438, allocations: 8 kB / 1.117 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8438, allocations: 0 / 1.117 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8438, allocations: 4 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.844, allocations: 20.67 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.844, allocations: 4 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.8444, allocations: 43.84 kB / 1.118 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.8444, allocations: 43.98 kB / 1.118 GB, free: 15.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001269/0.8446, allocations: 126.8 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.8446, allocations: 23.72 kB / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.8447, allocations: 30.02 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8447, allocations: 0 / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.8447, allocations: 12.47 kB / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8447, allocations: 0 / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.8454, allocations: 0.4948 MB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8455, allocations: 0 / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.8455, allocations: 7.984 kB / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8455, allocations: 0 / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.8456, allocations: 17.02 kB / 1.118 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8456, allocations: 4 kB / 1.118 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8456, allocations: 0 / 1.118 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003349/0.8459, allocations: 284.5 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.8461, allocations: 160.6 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.8462, allocations: 15.98 kB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.8466, allocations: 35.97 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.8467, allocations: 7.984 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.8467, allocations: 39.98 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001603/0.8469, allocations: 199.1 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003487/0.8473, allocations: 44 kB / 1.119 GB, free: 14.17 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001583/0.8474, allocations: 118.5 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.8479, allocations: 252.6 kB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8479, allocations: 0 / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.848, allocations: 63.98 kB / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.8483, allocations: 17.39 kB / 1.119 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.8489, allocations: 285.5 kB / 1.12 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.8493, allocations: 0.7586 MB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.743e-06/0.8493, allocations: 0 / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.006926/0.8562, allocations: 3.889 MB / 1.124 GB, free: 8.777 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)