Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 253.1 MB / 260.4 MB, free: 7.652 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.001694/0.001694, allocations: 177.3 kB / 319.6 MB, free: 3.324 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.916/1.916, 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.001294/0.001294, allocations: 93.64 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.139e-05/1.148e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6335/0.8203, allocations: 133.6 MB / 1.019 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.8206, allocations: 72.77 kB / 1.019 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03081/0.8514, allocations: 4.107 MB / 1.023 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.8515, allocations: 0 / 1.023 GB, free: 1.289 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.001693/0.8532, allocations: 0.5867 MB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.8533, allocations: 8.031 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.8535, allocations: 39.7 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.8542, allocations: 261.6 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.8543, allocations: 7.938 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.8545, allocations: 15.98 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002655/0.8548, allocations: 40.77 kB / 1.024 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.8553, allocations: 142.9 kB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8553, allocations: 0 / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.8554, allocations: 0 / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.8554, allocations: 4 kB / 1.024 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.8563, allocations: 301.3 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.8568, allocations: 120.1 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.857, allocations: 49.91 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.8571, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/0.858, allocations: 175.2 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.727e-06/0.858, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008442/0.8588, allocations: 177.7 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.8589, allocations: 63.38 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.8595, allocations: 244.8 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8596, allocations: 41.64 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.8598, allocations: 89.12 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.8599, allocations: 38.2 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/0.86, allocations: 4 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.8602, allocations: 321.5 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.8607, allocations: 87.03 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.8613, allocations: 140.5 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.8617, allocations: 70.17 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8618, allocations: 7.875 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001374/0.8632, allocations: 283 kB / 1.026 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.8632, allocations: 4 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.8632, allocations: 3.984 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.8633, allocations: 4 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.8637, allocations: 34.45 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.8637, allocations: 4 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.8648, allocations: 48 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.8651, allocations: 51.36 kB / 1.026 GB, free: 14.05 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.0002722/0.8653, allocations: 127.3 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8655, allocations: 27.62 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.8656, allocations: 32.59 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.8657, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8657, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8657, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.8672, allocations: 489.9 kB / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8672, allocations: 0 / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.8673, allocations: 4 kB / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.8674, allocations: 4 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.8675, allocations: 11.36 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.8675, allocations: 11.88 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8675, allocations: 0 / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007029/0.8682, allocations: 272.2 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.8686, allocations: 154.7 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.8688, allocations: 15.78 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.8693, allocations: 11.98 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8695, allocations: 23.34 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8696, allocations: 23.98 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000388/0.87, allocations: 200.1 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008172/0.8708, allocations: 47.98 kB / 1.027 GB, free: 12.68 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.0002862/0.8711, allocations: 121.6 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.8722, allocations: 252 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8723, allocations: 384 / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.8726, allocations: 77.45 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.8731, allocations: 16.47 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.8744, allocations: 270 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/0.8754, allocations: 0.8011 MB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/0.8754, allocations: 0 / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.01837/0.8938, allocations: 4.29 MB / 1.033 GB, free: 6.914 MB / 0.6511 GB