Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.296, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001963/0.001962, allocations: 193.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 81.95 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.604e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2376, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7226/0.9603, allocations: 133.9 MB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.9608, allocations: 71.77 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03377/0.9946, allocations: 4.865 MB / 1.024 GB, free: 288 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.9947, allocations: 4 kB / 1.024 GB, free: 284 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001816/0.9965, allocations: 0.6071 MB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.9966, allocations: 8.031 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.9969, allocations: 35.62 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.9977, allocations: 278.9 kB / 1.025 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.9977, allocations: 6.938 kB / 1.025 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.9979, allocations: 27.83 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003081/0.9983, allocations: 49.48 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.9989, allocations: 161.9 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.9989, allocations: 3.938 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.999, allocations: 7 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.999, allocations: 4 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/1.001, allocations: 0.5309 MB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/1.001, allocations: 126.7 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/1.002, allocations: 57.03 kB / 1.026 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/1.002, allocations: 4 kB / 1.026 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/1.003, allocations: 175.2 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.687e-06/1.003, allocations: 0 / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008914/1.004, allocations: 181.6 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.004, allocations: 58.97 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/1.004, allocations: 270.6 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/1.004, allocations: 43.27 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/1.005, allocations: 92.67 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.005, allocations: 50.5 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/1.005, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.005, allocations: 322.6 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/1.006, allocations: 108.1 kB / 1.027 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/1.006, allocations: 165.3 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/1.007, allocations: 80.45 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.007, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001067/1.008, allocations: 312.1 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.008, allocations: 4 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.008, allocations: 4 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.008, allocations: 4 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/1.008, allocations: 31.66 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.008, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/1.009, allocations: 48 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.009, allocations: 55.55 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002679/1.009, allocations: 131.6 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/1.01, allocations: 27.62 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/1.01, allocations: 28.52 kB / 1.028 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.01, allocations: 4 kB / 1.028 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.01, allocations: 4 kB / 1.028 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/1.01, allocations: 3.906 kB / 1.028 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.011, allocations: 0.5175 MB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.011, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/1.011, allocations: 8 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.011, allocations: 3.938 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/1.011, allocations: 11.98 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.011, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.011, allocations: 3.984 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005444/1.012, allocations: 277.6 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/1.012, allocations: 189.1 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.012, allocations: 14.91 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/1.013, allocations: 11.98 kB / 1.029 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/1.013, allocations: 15.98 kB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/1.013, allocations: 31.66 kB / 1.029 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003412/1.013, allocations: 215.2 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006233/1.014, allocations: 47.98 kB / 1.029 GB, free: 11.34 MB / 0.6511 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002823/1.014, allocations: 120.4 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008704/1.015, allocations: 293.2 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.015, allocations: 4.125 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.015, allocations: 70.86 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/1.016, allocations: 20.33 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.017, allocations: 304.5 kB / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008025/1.018, allocations: 0.8086 MB / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.018, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of Templates: time 0.01468/1.033, allocations: 4.677 MB / 1.035 GB, free: 5.145 MB / 0.6511 GB