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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.216/2.216, allocations: 284.9 MB / 292.2 MB, free: 9.91 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.001554/0.001554, allocations: 177.3 kB / 360.4 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 0.6188 GB, free: 3.297 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 94.91 kB / 0.7318 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.025e-05, allocations: 2.719 kB / 0.8503 GB, free: 150 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1923, allocations: 115.2 MB / 0.9628 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5733/0.7657, allocations: 139.1 MB / 1.099 GB, free: 45.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.7659, allocations: 69.83 kB / 1.099 GB, free: 45.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02196/0.7879, allocations: 4.852 MB / 1.103 GB, free: 44.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.788, allocations: 3.875 kB / 1.103 GB, free: 44.95 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.001055/0.789, allocations: 0.6085 MB / 1.104 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7891, allocations: 11.56 kB / 1.104 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.7892, allocations: 34.75 kB / 1.104 GB, free: 44.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.7897, allocations: 268.2 kB / 1.104 GB, free: 44.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.7897, allocations: 9.016 kB / 1.104 GB, free: 44.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.7898, allocations: 21.25 kB / 1.104 GB, free: 44.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.79, allocations: 55.05 kB / 1.104 GB, free: 44.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.7904, allocations: 159.4 kB / 1.105 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7904, allocations: 0 / 1.105 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.7905, allocations: 2.375 kB / 1.105 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7905, allocations: 7.25 kB / 1.105 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.7915, allocations: 0.5363 MB / 1.105 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.7918, allocations: 123.5 kB / 1.105 GB, free: 43.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.792, allocations: 60.31 kB / 1.105 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.7921, allocations: 0 / 1.105 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004947/0.7926, allocations: 187.2 kB / 1.105 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.7926, allocations: 0 / 1.105 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005135/0.7931, allocations: 181.5 kB / 1.106 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7931, allocations: 61.42 kB / 1.106 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.7935, allocations: 268.1 kB / 1.106 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.7936, allocations: 35.52 kB / 1.106 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.7937, allocations: 102.4 kB / 1.106 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.7937, allocations: 44.81 kB / 1.106 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.7938, allocations: 4.344 kB / 1.106 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.7939, allocations: 323.3 kB / 1.106 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.7942, allocations: 103.9 kB / 1.107 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.7946, allocations: 153.3 kB / 1.107 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.7949, allocations: 88.14 kB / 1.107 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7949, allocations: 0 / 1.107 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008637/0.7958, allocations: 303.1 kB / 1.107 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7958, allocations: 3.25 kB / 1.107 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7958, allocations: 11.31 kB / 1.107 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7958, allocations: 3.219 kB / 1.107 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.7961, allocations: 29.84 kB / 1.107 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.7961, allocations: 7.719 kB / 1.107 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.7968, allocations: 49.78 kB / 1.107 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.7969, allocations: 55.86 kB / 1.107 GB, free: 42.95 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.0001541/0.7971, allocations: 127.9 kB / 1.107 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.7972, allocations: 27.34 kB / 1.107 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.7972, allocations: 28.45 kB / 1.107 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7973, allocations: 0 / 1.107 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7973, allocations: 4 kB / 1.107 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7973, allocations: 11.41 kB / 1.107 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/0.7981, allocations: 0.512 MB / 1.108 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7981, allocations: 0 / 1.108 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.7982, allocations: 6.938 kB / 1.108 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7982, allocations: 0 / 1.108 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.7983, allocations: 14.16 kB / 1.108 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7983, allocations: 7.562 kB / 1.108 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7983, allocations: 0 / 1.108 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000404/0.7987, allocations: 276.2 kB / 1.108 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.799, allocations: 192.9 kB / 1.108 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.7991, allocations: 15.19 kB / 1.108 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.7994, allocations: 7.656 kB / 1.108 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.7995, allocations: 14.84 kB / 1.108 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.7996, allocations: 34.12 kB / 1.108 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002517/0.7998, allocations: 216 kB / 1.109 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004752/0.8003, allocations: 55.12 kB / 1.109 GB, free: 42.17 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.0001924/0.8005, allocations: 129.7 kB / 1.109 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006761/0.8012, allocations: 281.8 kB / 1.109 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8012, allocations: 0 / 1.109 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.8014, allocations: 75.92 kB / 1.109 GB, free: 42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.8018, allocations: 30.83 kB / 1.109 GB, free: 42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.8027, allocations: 305.1 kB / 1.11 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.8032, allocations: 0.8065 MB / 1.11 GB, free: 41.17 MB / 0.7136 GB Notification: Performance of SimCode: time 6.02e-07/0.8032, allocations: 0 / 1.11 GB, free: 41.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.01069/0.8139, allocations: 4.681 MB / 1.115 GB, free: 40.69 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)