Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 253.1 MB / 260.4 MB, free: 7.453 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.00236/0.00236, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.841/1.841, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00122/0.00122, allocations: 91.36 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.105e-05/1.126e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6258/0.8323, allocations: 133.6 MB / 1.019 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.8327, allocations: 67.84 kB / 1.019 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02301/0.8557, allocations: 4.119 MB / 1.023 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.8558, allocations: 4 kB / 1.023 GB, free: 1.227 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.001223/0.857, allocations: 0.5842 MB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.8571, allocations: 12.03 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.8572, allocations: 27.72 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.8577, allocations: 261.5 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.8578, allocations: 3.984 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.8579, allocations: 19.75 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001786/0.8581, allocations: 41.14 kB / 1.024 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.8584, allocations: 132.9 kB / 1.024 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8585, allocations: 0 / 1.024 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.8585, allocations: 7.984 kB / 1.024 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.8585, allocations: 4 kB / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.8591, allocations: 299.1 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.8594, allocations: 114.8 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.8596, allocations: 51.34 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.8597, allocations: 5.219 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005402/0.8602, allocations: 171.4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.478e-06/0.8602, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006389/0.8609, allocations: 178.6 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.8609, allocations: 71.25 kB / 1.025 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.8613, allocations: 240.7 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.8615, allocations: 32.52 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.8616, allocations: 96.38 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.8616, allocations: 33.77 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.8617, allocations: 7.938 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8619, allocations: 325.5 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.8622, allocations: 83.16 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.8626, allocations: 139.6 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.8628, allocations: 73.42 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8629, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008913/0.8638, allocations: 281.7 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8638, allocations: 4 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8638, allocations: 4 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8639, allocations: 4 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.8641, allocations: 31.81 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8642, allocations: 4 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.8649, allocations: 48 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.865, allocations: 54.86 kB / 1.026 GB, free: 13.99 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.0002102/0.8653, allocations: 134.9 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.8653, allocations: 27.62 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.8655, allocations: 32.03 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.8655, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8655, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8655, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.8665, allocations: 491.2 kB / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8666, allocations: 0 / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.8667, allocations: 15.98 kB / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.8667, allocations: 0 / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.8667, allocations: 11.98 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8667, allocations: 0 / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8667, allocations: 0 / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000487/0.8672, allocations: 277.7 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.8675, allocations: 154.9 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.8676, allocations: 11.53 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.868, allocations: 11.98 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.8681, allocations: 18.91 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.8681, allocations: 27.98 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002797/0.8684, allocations: 194.5 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005849/0.869, allocations: 55.11 kB / 1.027 GB, free: 12.62 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.000229/0.8693, allocations: 118.4 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007963/0.8701, allocations: 257.3 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8701, allocations: 3.312 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.8703, allocations: 69.27 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.8707, allocations: 23.08 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.8716, allocations: 273.5 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.8724, allocations: 0.7971 MB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.8724, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.01219/0.8846, allocations: 4.287 MB / 1.033 GB, free: 6.863 MB / 0.6511 GB