Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") [: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.6436/0.6436, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001061/0.001061, allocations: 185.2 kB / 164.4 MB, free: 6.902 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.384/1.384, allocations: 205.1 MB / 399.1 MB, free: 6.156 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.000952/0.0009521, allocations: 97.52 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.684e-06, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4919/0.6687, allocations: 103.7 MB / 0.7222 GB, free: 8.727 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6691, allocations: 71.95 kB / 0.7222 GB, free: 8.656 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01366/0.6828, allocations: 4.327 MB / 0.7265 GB, free: 4.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.6828, allocations: 0 / 0.7265 GB, free: 4.336 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.0009855/0.6838, allocations: 0.5399 MB / 0.727 GB, free: 3.727 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6839, allocations: 12.03 kB / 0.727 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.684, allocations: 27.72 kB / 0.727 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.6842, allocations: 187.9 kB / 0.7272 GB, free: 3.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.6843, allocations: 7.984 kB / 0.7272 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.6844, allocations: 15.98 kB / 0.7272 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.6845, allocations: 47.92 kB / 0.7273 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.6848, allocations: 134.7 kB / 0.7274 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.6848, allocations: 0 / 0.7274 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.6848, allocations: 4 kB / 0.7274 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6848, allocations: 0 / 0.7274 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.6853, allocations: 277.9 kB / 0.7277 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.6855, allocations: 106.7 kB / 0.7278 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.6856, allocations: 52.84 kB / 0.7278 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.6856, allocations: 7.938 kB / 0.7278 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.6859, allocations: 159.2 kB / 0.728 GB, free: 2.598 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.6859, allocations: 0 / 0.728 GB, free: 2.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003738/0.6863, allocations: 159.8 kB / 0.7281 GB, free: 2.438 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.6864, allocations: 67.25 kB / 0.7282 GB, free: 2.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.6866, allocations: 195 kB / 0.7284 GB, free: 2.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.6866, allocations: 29.7 kB / 0.7284 GB, free: 2.129 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.6867, allocations: 92.92 kB / 0.7285 GB, free: 2.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.6868, allocations: 47.44 kB / 0.7286 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.6868, allocations: 4 kB / 0.7286 GB, free: 1.984 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.687, allocations: 322.8 kB / 0.7289 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.6872, allocations: 84.2 kB / 0.729 GB, free: 1.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.6874, allocations: 134.1 kB / 0.7291 GB, free: 1.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.6876, allocations: 76.69 kB / 0.7292 GB, free: 1.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6876, allocations: 0 / 0.7292 GB, free: 1.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006295/0.6882, allocations: 272.4 kB / 0.7294 GB, free: 1.078 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6882, allocations: 4.188 kB / 0.7294 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6883, allocations: 8 kB / 0.7294 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.6883, allocations: 0 / 0.7294 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.6885, allocations: 31.92 kB / 0.7295 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.6885, allocations: 0 / 0.7295 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.6889, allocations: 51.81 kB / 0.7295 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.689, allocations: 43.97 kB / 0.7295 GB, free: 0.9414 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.0001504/0.6892, allocations: 131.4 kB / 0.7297 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.6892, allocations: 15.81 kB / 0.7297 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.6893, allocations: 25.58 kB / 0.7297 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6893, allocations: 0 / 0.7297 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6893, allocations: 11.91 kB / 0.7297 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6893, allocations: 0 / 0.7297 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.69, allocations: 462.7 kB / 0.7302 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.69, allocations: 0 / 0.7302 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.6901, allocations: 11.98 kB / 0.7302 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.6901, allocations: 0 / 0.7302 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.6901, allocations: 11.98 kB / 0.7302 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6901, allocations: 4 kB / 0.7302 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6901, allocations: 0 / 0.7302 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003627/0.6905, allocations: 261.1 kB / 0.7304 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6907, allocations: 140.8 kB / 0.7306 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.6907, allocations: 15.84 kB / 0.7306 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.6909, allocations: 8 kB / 0.7306 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.691, allocations: 15.97 kB / 0.7306 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.691, allocations: 23.98 kB / 0.7306 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001213/0.6912, allocations: 157.9 kB / 0.7308 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003324/0.6915, allocations: 47.98 kB / 0.7308 GB, free: 15.54 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.0001693/0.6917, allocations: 110.1 kB / 0.7309 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6922, allocations: 251.4 kB / 0.7312 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6922, allocations: 4 kB / 0.7312 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6923, allocations: 63.89 kB / 0.7312 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.6925, allocations: 17.03 kB / 0.7313 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.6931, allocations: 220.2 kB / 0.7315 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.6935, allocations: 0.7746 MB / 0.7322 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.6935, allocations: 0 / 0.7322 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.008309/0.7018, allocations: 3.939 MB / 0.7361 GB, free: 10.1 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)