Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 185.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000738/0.000738, allocations: 94.11 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.624e-06, allocations: 4 kB / 0.8511 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4362, allocations: 115.3 MB / 0.9637 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.5803, allocations: 139.3 MB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5805, allocations: 73.17 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01455/0.5951, allocations: 4.856 MB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.5951, allocations: 4 kB / 1.105 GB, free: 11.94 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.0008497/0.596, allocations: 0.6063 MB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.596, allocations: 8.531 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.5961, allocations: 37.12 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.5965, allocations: 275.2 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5965, allocations: 4 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.5966, allocations: 19.98 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.5967, allocations: 51.98 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.597, allocations: 156.9 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.597, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.597, allocations: 7.984 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.597, allocations: 7.906 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.5978, allocations: 0.5375 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.598, allocations: 126.6 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.5981, allocations: 52.84 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5981, allocations: 8 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.5985, allocations: 171.3 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.687e-06/0.5985, allocations: 3.984 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003616/0.5989, allocations: 185.1 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.5989, allocations: 67.38 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5992, allocations: 267.4 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.5992, allocations: 41.69 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.5993, allocations: 89.08 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.5993, allocations: 43.45 kB / 1.107 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.5994, allocations: 7.984 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.5995, allocations: 330.8 kB / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5997, allocations: 100.2 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.5999, allocations: 155 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.6001, allocations: 87.33 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6001, allocations: 7.844 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005364/0.6006, allocations: 295.8 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6006, allocations: 6.656 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6006, allocations: 4 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6007, allocations: 9.594 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6008, allocations: 36.09 kB / 1.108 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6008, allocations: 8.781 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.6012, allocations: 39.88 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/0.6013, allocations: 55.98 kB / 1.108 GB, free: 7.844 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.0001143/0.6015, allocations: 124 kB / 1.108 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.6015, allocations: 31.62 kB / 1.108 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.115e-05/0.6016, allocations: 30.08 kB / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6016, allocations: 4 kB / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6016, allocations: 0 / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6016, allocations: 0 / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.6022, allocations: 0.5159 MB / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6022, allocations: 3.984 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.6023, allocations: 9.25 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6023, allocations: 0 / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.6023, allocations: 7.984 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6023, allocations: 7.938 kB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6023, allocations: 7.844 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00029/0.6026, allocations: 271.1 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6028, allocations: 192.5 kB / 1.109 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.6029, allocations: 12 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.6031, allocations: 14.11 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.6031, allocations: 7.984 kB / 1.109 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.6032, allocations: 35.97 kB / 1.11 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001727/0.6034, allocations: 215 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003323/0.6037, allocations: 56.23 kB / 1.11 GB, free: 6.234 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.000161/0.6039, allocations: 136.7 kB / 1.11 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.6043, allocations: 286.1 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6043, allocations: 1.031 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.6044, allocations: 79.91 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.6047, allocations: 21.56 kB / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.6053, allocations: 309.8 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.6057, allocations: 0.8099 MB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6057, allocations: 0 / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.007805/0.6135, allocations: 4.671 MB / 1.116 GB, free: 15.94 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)