Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6544/0.6544, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 185.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 399.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 91.05 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.376e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.182, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.6709, allocations: 103.8 MB / 0.7222 GB, free: 8.652 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.6712, allocations: 71.95 kB / 0.7223 GB, free: 8.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0137/0.6849, allocations: 4.342 MB / 0.7265 GB, free: 4.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.685, allocations: 0 / 0.7265 GB, free: 4.25 MB / 490.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.0008602/0.6859, allocations: 0.5438 MB / 0.7271 GB, free: 3.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/0.6859, allocations: 12.03 kB / 0.7271 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.6861, allocations: 23.72 kB / 0.7271 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.6863, allocations: 191.8 kB / 0.7273 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.6863, allocations: 4 kB / 0.7273 GB, free: 3.367 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.6864, allocations: 15.98 kB / 0.7273 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/0.6865, allocations: 39.98 kB / 0.7274 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.6867, allocations: 133.6 kB / 0.7275 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6868, allocations: 3.984 kB / 0.7275 GB, free: 3.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.6868, allocations: 4 kB / 0.7275 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.6868, allocations: 3.984 kB / 0.7275 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.6872, allocations: 277.9 kB / 0.7278 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.6874, allocations: 110.7 kB / 0.7279 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.6875, allocations: 52.84 kB / 0.7279 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.6875, allocations: 4 kB / 0.7279 GB, free: 2.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.6878, allocations: 163.2 kB / 0.7281 GB, free: 2.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.6878, allocations: 0 / 0.7281 GB, free: 2.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000369/0.6882, allocations: 163.5 kB / 0.7282 GB, free: 2.344 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.6883, allocations: 67.25 kB / 0.7283 GB, free: 2.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.6885, allocations: 195 kB / 0.7285 GB, free: 2.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.6886, allocations: 33.69 kB / 0.7285 GB, free: 2.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.6887, allocations: 89.86 kB / 0.7286 GB, free: 1.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.6887, allocations: 51.44 kB / 0.7286 GB, free: 1.891 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.6888, allocations: 4 kB / 0.7286 GB, free: 1.887 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6889, allocations: 322.8 kB / 0.729 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.6891, allocations: 84.2 kB / 0.729 GB, free: 1.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.6893, allocations: 130.2 kB / 0.7292 GB, free: 1.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6895, allocations: 72.7 kB / 0.7292 GB, free: 1.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6895, allocations: 0 / 0.7292 GB, free: 1.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004943/0.69, allocations: 271.7 kB / 0.7295 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.69, allocations: 4 kB / 0.7295 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.69, allocations: 12.12 kB / 0.7295 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.69, allocations: 0 / 0.7295 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6902, allocations: 27.91 kB / 0.7295 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6902, allocations: 4.547 kB / 0.7295 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.6906, allocations: 51.81 kB / 0.7296 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.6907, allocations: 39.98 kB / 0.7296 GB, free: 0.8516 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: 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.0001472/0.6909, allocations: 131.4 kB / 0.7297 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.6909, allocations: 15.81 kB / 0.7298 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.691, allocations: 25.58 kB / 0.7298 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.691, allocations: 0 / 0.7298 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.691, allocations: 7.906 kB / 0.7298 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.691, allocations: 4 kB / 0.7298 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.6917, allocations: 462.7 kB / 0.7302 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.6917, allocations: 0 / 0.7302 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.6918, allocations: 11.98 kB / 0.7303 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6918, allocations: 0 / 0.7303 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.6918, allocations: 11.98 kB / 0.7303 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6918, allocations: 0 / 0.7303 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6918, allocations: 4 kB / 0.7303 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003121/0.6922, allocations: 265.4 kB / 0.7305 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.6923, allocations: 132.8 kB / 0.7306 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.6924, allocations: 15.89 kB / 0.7307 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.6926, allocations: 8 kB / 0.7307 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.6927, allocations: 15.97 kB / 0.7307 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.6927, allocations: 23.98 kB / 0.7307 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001282/0.6929, allocations: 153.9 kB / 0.7309 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003986/0.6933, allocations: 48 kB / 0.7309 GB, free: 15.46 MB / 0.4948 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.0001731/0.6935, allocations: 119.2 kB / 0.731 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.6939, allocations: 247.5 kB / 0.7312 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.694, allocations: 0 / 0.7312 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.6941, allocations: 67.83 kB / 0.7313 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6944, allocations: 17.81 kB / 0.7313 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.6949, allocations: 216.3 kB / 0.7315 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.6954, allocations: 0.7746 MB / 0.7323 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.6954, allocations: 0 / 0.7323 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.008059/0.7035, allocations: 3.95 MB / 0.7361 GB, free: 10.01 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)