Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7267/0.7267, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.001162/0.001162, allocations: 185.3 kB / 164.4 MB, free: 6.879 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.352/1.352, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.0009247/0.0009246, allocations: 86.55 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.366e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1887, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.678, allocations: 103.8 MB / 0.7222 GB, free: 8.617 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6783, allocations: 71.95 kB / 0.7223 GB, free: 8.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01318/0.6915, allocations: 4.344 MB / 0.7265 GB, free: 4.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.6915, allocations: 0 / 0.7265 GB, free: 4.207 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.0008452/0.6924, allocations: 0.536 MB / 0.7271 GB, free: 3.602 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6924, allocations: 16.02 kB / 0.7271 GB, free: 3.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.6925, allocations: 23.72 kB / 0.7271 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.6927, allocations: 195.8 kB / 0.7273 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.6928, allocations: 4 kB / 0.7273 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.6928, allocations: 19.98 kB / 0.7273 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001307/0.693, allocations: 35.98 kB / 0.7274 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.6932, allocations: 133.6 kB / 0.7275 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6932, allocations: 4 kB / 0.7275 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.6933, allocations: 3.984 kB / 0.7275 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6933, allocations: 3.984 kB / 0.7275 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.6936, allocations: 277.9 kB / 0.7278 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.6938, allocations: 110.7 kB / 0.7279 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.6939, allocations: 44.84 kB / 0.7279 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.6939, allocations: 8 kB / 0.7279 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.6942, allocations: 159.2 kB / 0.7281 GB, free: 2.473 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.6942, allocations: 0 / 0.7281 GB, free: 2.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000362/0.6946, allocations: 163.8 kB / 0.7282 GB, free: 2.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6947, allocations: 67.3 kB / 0.7283 GB, free: 2.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.6948, allocations: 198.9 kB / 0.7285 GB, free: 2.031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.6949, allocations: 37.69 kB / 0.7285 GB, free: 1.988 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.695, allocations: 84.92 kB / 0.7286 GB, free: 1.902 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.695, allocations: 43.45 kB / 0.7286 GB, free: 1.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.6951, allocations: 8 kB / 0.7286 GB, free: 1.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6952, allocations: 326.8 kB / 0.729 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.6954, allocations: 80.2 kB / 0.729 GB, free: 1.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.6956, allocations: 130.2 kB / 0.7292 GB, free: 1.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.6958, allocations: 76.64 kB / 0.7292 GB, free: 1.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6958, allocations: 0 / 0.7292 GB, free: 1.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004938/0.6963, allocations: 271.7 kB / 0.7295 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6963, allocations: 4 kB / 0.7295 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6963, allocations: 4 kB / 0.7295 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6963, allocations: 192 / 0.7295 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.6965, allocations: 35.91 kB / 0.7295 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6965, allocations: 4 kB / 0.7295 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.6969, allocations: 51.81 kB / 0.7296 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.697, allocations: 35.98 kB / 0.7296 GB, free: 0.8203 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.0001748/0.6971, allocations: 135.4 kB / 0.7297 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.6972, allocations: 15.81 kB / 0.7298 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.6973, allocations: 25.58 kB / 0.7298 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6973, allocations: 0 / 0.7298 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6973, allocations: 11.91 kB / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6973, allocations: 0 / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.6979, allocations: 470.7 kB / 0.7302 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6979, allocations: 0 / 0.7302 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.698, allocations: 11.98 kB / 0.7303 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.698, allocations: 0 / 0.7303 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.698, allocations: 7.984 kB / 0.7303 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.698, allocations: 0 / 0.7303 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.698, allocations: 4 kB / 0.7303 GB, free: 104 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002965/0.6983, allocations: 265.6 kB / 0.7305 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6985, allocations: 136.8 kB / 0.7306 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.6985, allocations: 11.89 kB / 0.7307 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6987, allocations: 12 kB / 0.7307 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.6988, allocations: 11.97 kB / 0.7307 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.6988, allocations: 23.98 kB / 0.7307 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001108/0.699, allocations: 157.9 kB / 0.7309 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003256/0.6993, allocations: 40 kB / 0.7309 GB, free: 15.42 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.0001857/0.6995, allocations: 119.7 kB / 0.731 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.6999, allocations: 255.4 kB / 0.7313 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7, allocations: 0 / 0.7313 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.7001, allocations: 67.81 kB / 0.7313 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.7004, allocations: 19.92 kB / 0.7313 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.701, allocations: 220.7 kB / 0.7315 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.7016, allocations: 0.7746 MB / 0.7323 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.7016, allocations: 0 / 0.7323 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.007637/0.7092, allocations: 3.947 MB / 0.7362 GB, free: 9.965 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)