Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.187/2.187, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001686/0.001685, allocations: 177.2 kB / 319.6 MB, free: 3.297 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 1.913/1.913, 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.001309/0.001308, allocations: 93.39 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.985e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6415/0.8525, allocations: 133.5 MB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.8528, allocations: 73.58 kB / 1.019 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02234/0.8752, allocations: 4.101 MB / 1.023 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.8752, allocations: 8 kB / 1.023 GB, free: 1.27 MB / 0.6355 GB 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.001253/0.8765, allocations: 0.5787 MB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8766, allocations: 12.02 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.8767, allocations: 35.72 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.8772, allocations: 264.5 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.8773, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.8774, allocations: 16 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/0.8776, allocations: 45.14 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.8779, allocations: 135.5 kB / 1.024 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.878, allocations: 0 / 1.024 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.878, allocations: 7.938 kB / 1.024 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.878, allocations: 0.8438 kB / 1.024 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.8786, allocations: 305.5 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.879, allocations: 118.2 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.8791, allocations: 51.91 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.8792, allocations: 4 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.8797, allocations: 176.2 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.178e-06/0.8797, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005851/0.8803, allocations: 174.8 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.8804, allocations: 73.25 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.8808, allocations: 248 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.8809, allocations: 29.7 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.881, allocations: 92.56 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.8811, allocations: 38.95 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.8812, allocations: 4 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8813, allocations: 325.3 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.8817, allocations: 80.66 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.8821, allocations: 146.3 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.8823, allocations: 77.3 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8823, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008781/0.8832, allocations: 278.8 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8833, allocations: 4 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8833, allocations: 11.92 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.8833, allocations: 4 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.8836, allocations: 26.77 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8836, allocations: 3.938 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.8844, allocations: 52 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.8845, allocations: 51.73 kB / 1.026 GB, free: 14.02 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.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.0002034/0.8847, allocations: 129.4 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.8848, allocations: 31.62 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.8849, allocations: 25.16 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8849, allocations: 7.938 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.885, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.885, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.886, allocations: 487.9 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.886, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.8861, allocations: 11.94 kB / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.8861, allocations: 0 / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.8861, allocations: 15.98 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.8862, allocations: 0 / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8862, allocations: 0 / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004736/0.8866, allocations: 273 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.8869, allocations: 154.5 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.887, allocations: 11.28 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.8874, allocations: 15.36 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.8875, allocations: 15.97 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.8875, allocations: 31.48 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002873/0.8878, allocations: 194.5 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005034/0.8884, allocations: 51.98 kB / 1.027 GB, free: 12.67 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.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.0002081/0.8886, allocations: 118.6 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000709/0.8893, allocations: 258.5 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.8893, allocations: 8.062 kB / 1.028 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.8895, allocations: 72.52 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.8899, allocations: 15.91 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.8908, allocations: 270.1 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/0.8915, allocations: 0.7999 MB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.8915, allocations: 4 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.01185/0.9033, allocations: 4.284 MB / 1.033 GB, free: 6.902 MB / 0.6511 GB