Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 183.9 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4282/0.4282, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.4 MB / 342.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 90.98 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.651e-06, allocations: 0 / 493.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2806, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09927/0.3799, allocations: 103.5 MB / 0.6539 GB, free: 6.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.3801, allocations: 76.97 kB / 0.654 GB, free: 6.586 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01369/0.3938, allocations: 4.251 MB / 0.6581 GB, free: 2.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3939, allocations: 4 kB / 0.6581 GB, free: 2.406 MB / 474.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.0006614/0.3946, allocations: 0.6327 MB / 0.6588 GB, free: 1.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3946, allocations: 8.031 kB / 0.6588 GB, free: 1.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.3947, allocations: 31.72 kB / 0.6588 GB, free: 1.652 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.395, allocations: 263.1 kB / 0.6591 GB, free: 1.355 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.3951, allocations: 11.98 kB / 0.6591 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.3951, allocations: 15.91 kB / 0.6591 GB, free: 1.328 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/0.3953, allocations: 43.98 kB / 0.6591 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3955, allocations: 141.5 kB / 0.6593 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3955, allocations: 3.984 kB / 0.6593 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.3956, allocations: 4 kB / 0.6593 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3956, allocations: 4 kB / 0.6593 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.3959, allocations: 300.6 kB / 0.6596 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.3961, allocations: 106.6 kB / 0.6597 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.3962, allocations: 52.84 kB / 0.6597 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3962, allocations: 4 kB / 0.6597 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3964, allocations: 151.3 kB / 0.6599 GB, free: 480 kB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3964, allocations: 0 / 0.6599 GB, free: 480 kB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.000355/0.3967, allocations: 185.2 kB / 0.66 GB, free: 288 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3968, allocations: 59.41 kB / 0.6601 GB, free: 216 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.397, allocations: 243.4 kB / 0.6603 GB, free: 15.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.3971, allocations: 41.62 kB / 0.6604 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.3972, allocations: 89.14 kB / 0.6604 GB, free: 15.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.3972, allocations: 39.44 kB / 0.6605 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3972, allocations: 12 kB / 0.6605 GB, free: 15.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.3973, allocations: 322.8 kB / 0.6608 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3975, allocations: 71.98 kB / 0.6609 GB, free: 15.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.3977, allocations: 122 kB / 0.661 GB, free: 15.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3978, allocations: 82.64 kB / 0.6611 GB, free: 15.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3978, allocations: 0 / 0.6611 GB, free: 15.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004582/0.3983, allocations: 253.4 kB / 0.6613 GB, free: 14.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3983, allocations: 7.906 kB / 0.6613 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3983, allocations: 0 / 0.6613 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3983, allocations: 12.17 kB / 0.6613 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3985, allocations: 30.86 kB / 0.6614 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3985, allocations: 0 / 0.6614 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.3989, allocations: 47.75 kB / 0.6614 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.3989, allocations: 39.98 kB / 0.6614 GB, free: 14.77 MB / 490.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: 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.0001122/0.3991, allocations: 122.9 kB / 0.6616 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3991, allocations: 27.62 kB / 0.6616 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3992, allocations: 26.02 kB / 0.6616 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3992, allocations: 7 kB / 0.6616 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3992, allocations: 0 / 0.6616 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3992, allocations: 3.984 kB / 0.6616 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.3998, allocations: 0.4987 MB / 0.6621 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3999, allocations: 0 / 0.6621 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.3999, allocations: 4 kB / 0.6621 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.3999, allocations: 7.984 kB / 0.6621 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3999, allocations: 19.88 kB / 0.6621 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4, allocations: 0 / 0.6621 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4, allocations: 0 / 0.6621 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002974/0.4003, allocations: 278.1 kB / 0.6624 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4004, allocations: 172.6 kB / 0.6626 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.4005, allocations: 8 kB / 0.6626 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.4009, allocations: 31.97 kB / 0.6626 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.401, allocations: 11.98 kB / 0.6626 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.401, allocations: 43.97 kB / 0.6627 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001496/0.4012, allocations: 199.1 kB / 0.6628 GB, free: 13.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.4015, allocations: 43.98 kB / 0.6629 GB, free: 13.21 MB / 490.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: 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.0001367/0.4017, allocations: 112.9 kB / 0.663 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.4021, allocations: 251.2 kB / 0.6632 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4021, allocations: 4 kB / 0.6632 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.4022, allocations: 60.36 kB / 0.6633 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4024, allocations: 20.55 kB / 0.6633 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.403, allocations: 281 kB / 0.6636 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.4033, allocations: 0.7625 MB / 0.6643 GB, free: 11.66 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4033, allocations: 0 / 0.6643 GB, free: 11.66 MB / 490.7 MB Notification: Performance of Templates: time 0.006186/0.4095, allocations: 3.885 MB / 0.6681 GB, free: 7.836 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)