Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009358/0.0009359, allocations: 184.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.424/0.424, allocations: 90.86 MB / 99.08 MB, free: 14.85 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.098/1.098, allocations: 221.4 MB / 342.8 MB, free: 5.32 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.0008636/0.0008636, allocations: 99.11 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.31e-06, allocations: 0 / 493.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3689, allocations: 103.5 MB / 0.6539 GB, free: 6.508 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3691, allocations: 71.95 kB / 0.654 GB, free: 6.438 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01417/0.3833, allocations: 4.252 MB / 0.6581 GB, free: 2.254 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3833, allocations: 4 kB / 0.6581 GB, free: 2.25 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.0007881/0.3841, allocations: 0.6327 MB / 0.6588 GB, free: 1.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3842, allocations: 8.031 kB / 0.6588 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3843, allocations: 35.7 kB / 0.6588 GB, free: 1.492 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3847, allocations: 251.2 kB / 0.659 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.3847, allocations: 13.53 kB / 0.6591 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.3848, allocations: 19.91 kB / 0.6591 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.3849, allocations: 43.98 kB / 0.6591 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3852, allocations: 149.5 kB / 0.6593 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3852, allocations: 0 / 0.6593 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3852, allocations: 0 / 0.6593 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3852, allocations: 4 kB / 0.6593 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3856, allocations: 301.9 kB / 0.6595 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3858, allocations: 102.7 kB / 0.6596 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.3859, allocations: 56.84 kB / 0.6597 GB, free: 492 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3859, allocations: 4 kB / 0.6597 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.3861, allocations: 151.3 kB / 0.6598 GB, free: 324 kB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3861, allocations: 0 / 0.6598 GB, free: 324 kB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003791/0.3865, allocations: 189.1 kB / 0.66 GB, free: 128 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.3866, allocations: 55.41 kB / 0.6601 GB, free: 60 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.3868, allocations: 251.4 kB / 0.6603 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.3869, allocations: 37.7 kB / 0.6604 GB, free: 15.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3869, allocations: 85.14 kB / 0.6604 GB, free: 15.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.387, allocations: 39.45 kB / 0.6605 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.387, allocations: 4 kB / 0.6605 GB, free: 15.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3871, allocations: 322.8 kB / 0.6608 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3873, allocations: 79.97 kB / 0.6609 GB, free: 15.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3875, allocations: 122 kB / 0.661 GB, free: 15.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3877, allocations: 75.84 kB / 0.6611 GB, free: 15.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3877, allocations: 0 / 0.6611 GB, free: 15.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004911/0.3882, allocations: 264.2 kB / 0.6613 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3882, allocations: 7.906 kB / 0.6613 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3882, allocations: 0 / 0.6613 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/0.3882, allocations: 7.938 kB / 0.6613 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3884, allocations: 21.67 kB / 0.6613 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3884, allocations: 3.516 kB / 0.6613 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.3888, allocations: 51.94 kB / 0.6614 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.3889, allocations: 43.92 kB / 0.6614 GB, free: 14.62 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.0001267/0.389, allocations: 123 kB / 0.6616 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3891, allocations: 31.62 kB / 0.6616 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.3891, allocations: 26.02 kB / 0.6616 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3892, allocations: 4 kB / 0.6616 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3892, allocations: 0 / 0.6616 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.3892, allocations: 0 / 0.6616 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.3899, allocations: 0.4976 MB / 0.6621 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3899, allocations: 0 / 0.6621 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.3899, allocations: 6.938 kB / 0.6621 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3899, allocations: 7.984 kB / 0.6621 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.39, allocations: 15.89 kB / 0.6621 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.39, allocations: 4 kB / 0.6621 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.39, allocations: 0 / 0.6621 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003181/0.3903, allocations: 279 kB / 0.6624 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.3905, allocations: 166.5 kB / 0.6626 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.3906, allocations: 11.98 kB / 0.6626 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.391, allocations: 39.97 kB / 0.6626 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3911, allocations: 4 kB / 0.6626 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.3911, allocations: 39.97 kB / 0.6626 GB, free: 13.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001655/0.3913, allocations: 203.1 kB / 0.6628 GB, free: 13.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.3916, allocations: 44 kB / 0.6629 GB, free: 13.06 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.0001489/0.3918, allocations: 120.8 kB / 0.663 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.3922, allocations: 243.3 kB / 0.6632 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3922, allocations: 0 / 0.6632 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3924, allocations: 67.91 kB / 0.6633 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3926, allocations: 27.55 kB / 0.6633 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.3932, allocations: 277.4 kB / 0.6636 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3935, allocations: 0.7643 MB / 0.6643 GB, free: 11.51 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3935, allocations: 0 / 0.6643 GB, free: 11.51 MB / 490.7 MB Notification: Performance of Templates: time 0.006843/0.4004, allocations: 3.886 MB / 0.6681 GB, free: 7.68 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)