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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") [: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.326/1.326, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009135/0.0009136, allocations: 183.3 kB / 361.1 MB, free: 7.113 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.04/1.04, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007649/0.0007649, allocations: 96.23 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/9.007e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4527, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5876, allocations: 139.2 MB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.5878, allocations: 72.66 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01419/0.602, allocations: 4.84 MB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.602, allocations: 7.984 kB / 1.104 GB, free: 12.02 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.0008193/0.6029, allocations: 0.6063 MB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.6029, allocations: 8.531 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.603, allocations: 39.61 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.6033, allocations: 271.2 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.6034, allocations: 4 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.6034, allocations: 19.98 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/0.6036, allocations: 52 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6038, allocations: 164.9 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.6038, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.6039, allocations: 3.984 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6039, allocations: 5.656 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.6047, allocations: 0.54 MB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.6049, allocations: 126.6 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.605, allocations: 52.86 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.605, allocations: 7.984 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.6053, allocations: 174 kB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.6053, allocations: 4 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003582/0.6057, allocations: 181.9 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.6057, allocations: 67.33 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.606, allocations: 267.4 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.606, allocations: 37.69 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.6061, allocations: 93.08 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.6061, allocations: 47.44 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.6062, allocations: 4 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6063, allocations: 330.8 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.6065, allocations: 100.9 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.6067, allocations: 154.2 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6069, allocations: 80.69 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6069, allocations: 7.906 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005614/0.6075, allocations: 306.4 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.6075, allocations: 4 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6075, allocations: 4 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6075, allocations: 6.344 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.6077, allocations: 35.84 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.6077, allocations: 4.188 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.6081, allocations: 47.88 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.6082, allocations: 47.98 kB / 1.108 GB, free: 7.922 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.0001165/0.6083, allocations: 128 kB / 1.108 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.6084, allocations: 35.59 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.6084, allocations: 30.08 kB / 1.108 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6084, allocations: 6 kB / 1.108 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6084, allocations: 0 / 1.108 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6084, allocations: 0 / 1.108 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.6091, allocations: 0.5195 MB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6091, allocations: 0 / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.6091, allocations: 7.984 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.6091, allocations: 4 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.6092, allocations: 7.984 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6092, allocations: 3.938 kB / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6092, allocations: 3.906 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002966/0.6095, allocations: 277.7 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.6097, allocations: 188.6 kB / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.6098, allocations: 15.98 kB / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.61, allocations: 8 kB / 1.109 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.61, allocations: 18.16 kB / 1.109 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.6101, allocations: 27.98 kB / 1.109 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001814/0.6102, allocations: 223 kB / 1.11 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00032/0.6106, allocations: 48.25 kB / 1.11 GB, free: 6.309 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.0001613/0.6107, allocations: 142.1 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.6112, allocations: 279.5 kB / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6112, allocations: 0 / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6113, allocations: 67.92 kB / 1.11 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6116, allocations: 32.53 kB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.6122, allocations: 305.8 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.6127, allocations: 0.8177 MB / 1.111 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6127, allocations: 0 / 1.111 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.006934/0.6196, allocations: 4.671 MB / 1.116 GB, free: 12 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)