Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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 8.0.0/package.mo): time 2.139/2.139, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001698, allocations: 177.2 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 98.08 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.17e-05, allocations: 4 kB / 0.8503 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5436, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.7484, allocations: 139.1 MB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.7487, allocations: 72.7 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02428/0.773, allocations: 4.849 MB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.7731, allocations: 7.938 kB / 1.103 GB, free: 12.8 MB / 0.7136 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.001206/0.7743, allocations: 0.6025 MB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7743, allocations: 8.531 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.7745, allocations: 35.62 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.775, allocations: 275.2 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.7751, allocations: 9.625 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.7752, allocations: 16 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000217/0.7754, allocations: 57.19 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.7758, allocations: 159 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7759, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.7759, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7759, allocations: 7.906 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.7772, allocations: 0.536 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.7776, allocations: 126.6 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.7778, allocations: 52.86 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.7778, allocations: 15.91 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/0.7784, allocations: 171.3 kB / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.7784, allocations: 0 / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006356/0.7791, allocations: 181.2 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.7791, allocations: 71.38 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.7795, allocations: 263.4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.7797, allocations: 37.7 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.7798, allocations: 98 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.7798, allocations: 43.45 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.7799, allocations: 4 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7801, allocations: 322.8 kB / 1.106 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.7805, allocations: 108.2 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.7809, allocations: 158.2 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.7812, allocations: 81.81 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7812, allocations: 3.906 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009573/0.7822, allocations: 312.2 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7822, allocations: 4 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7822, allocations: 4.562 kB / 1.107 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.7822, allocations: 7.906 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.7825, allocations: 29.03 kB / 1.107 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7825, allocations: 4 kB / 1.107 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.7832, allocations: 48 kB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7834, allocations: 55.98 kB / 1.107 GB, free: 8.707 MB / 0.7136 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.0001827/0.7836, allocations: 135.6 kB / 1.107 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.7837, allocations: 31.61 kB / 1.107 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.7838, allocations: 26.08 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7838, allocations: 4 kB / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7838, allocations: 0 / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7838, allocations: 0 / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.7848, allocations: 0.5164 MB / 1.108 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7848, allocations: 0 / 1.108 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.7849, allocations: 11.98 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7849, allocations: 4 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.785, allocations: 7.984 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.785, allocations: 4 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.785, allocations: 3.906 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004828/0.7855, allocations: 277.1 kB / 1.108 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.7858, allocations: 184.6 kB / 1.108 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.7859, allocations: 11.98 kB / 1.108 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.7862, allocations: 21.44 kB / 1.108 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.7863, allocations: 19.95 kB / 1.108 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.7864, allocations: 23.98 kB / 1.108 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003114/0.7867, allocations: 223 kB / 1.109 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005025/0.7872, allocations: 48.25 kB / 1.109 GB, free: 7.094 MB / 0.7136 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.0002346/0.7875, allocations: 129 kB / 1.109 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008111/0.7883, allocations: 287.4 kB / 1.109 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7883, allocations: 0 / 1.109 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.7885, allocations: 67.97 kB / 1.109 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.789, allocations: 32.53 kB / 1.109 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.79, allocations: 305.7 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006656/0.7907, allocations: 0.8136 MB / 1.11 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.7907, allocations: 0 / 1.11 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of Templates: time 0.01242/0.8031, allocations: 4.681 MB / 1.115 GB, free: 0.8086 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)