Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.355/1.355, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.0008996/0.0008994, allocations: 185.2 kB / 366.3 MB, free: 2.008 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.123/1.123, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008793/0.0008792, allocations: 83.03 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.965e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.441, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5877, allocations: 141.1 MB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.5879, allocations: 71.95 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01472/0.6027, allocations: 4.969 MB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.6027, allocations: 4 kB / 1.115 GB, free: 2.406 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.0007109/0.6034, allocations: 0.6448 MB / 1.116 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6035, allocations: 8.031 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.6036, allocations: 39.61 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.604, allocations: 280.7 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.604, allocations: 4 kB / 1.116 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.6041, allocations: 23.98 kB / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001464/0.6042, allocations: 55.98 kB / 1.116 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.6045, allocations: 161.5 kB / 1.116 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6045, allocations: 3.906 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.6046, allocations: 4 kB / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6046, allocations: 4 kB / 1.116 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.6054, allocations: 0.5554 MB / 1.117 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.6056, allocations: 104.1 kB / 1.117 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.6057, allocations: 60.84 kB / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.6057, allocations: 0 / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.606, allocations: 163.3 kB / 1.117 GB, free: 132 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.606, allocations: 0 / 1.117 GB, free: 132 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004402/0.6064, allocations: 185.2 kB / 1.117 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6065, allocations: 59.41 kB / 1.118 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.6068, allocations: 276.5 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.6068, allocations: 37.7 kB / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.6069, allocations: 97.06 kB / 1.118 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.607, allocations: 43.5 kB / 1.118 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.607, allocations: 4 kB / 1.118 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6071, allocations: 318.8 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.6073, allocations: 99.92 kB / 1.118 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.6076, allocations: 146 kB / 1.119 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.6078, allocations: 79.05 kB / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6078, allocations: 0 / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005212/0.6083, allocations: 285.8 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6083, allocations: 9.109 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6083, allocations: 14.28 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6084, allocations: 4 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.6085, allocations: 19.92 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6085, allocations: 4 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.6089, allocations: 39.88 kB / 1.119 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/0.609, allocations: 43.98 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.00013/0.6091, allocations: 131.5 kB / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.6092, allocations: 35.61 kB / 1.119 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.6092, allocations: 26.08 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6092, allocations: 0 / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6093, allocations: 0 / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.6093, allocations: 0 / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.61, allocations: 0.5439 MB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.61, allocations: 0 / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.61, allocations: 7.984 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.61, allocations: 3.938 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.6101, allocations: 15.98 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6101, allocations: 0 / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6101, allocations: 0 / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003283/0.6104, allocations: 291 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.6106, allocations: 184.6 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.6107, allocations: 16 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.6111, allocations: 35.91 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.6112, allocations: 15.98 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.6113, allocations: 43.97 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001931/0.6115, allocations: 216.4 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003359/0.6118, allocations: 47.98 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.000202/0.612, allocations: 139.9 kB / 1.121 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.6125, allocations: 271.5 kB / 1.121 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6125, allocations: 4.062 kB / 1.121 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.6126, allocations: 66.94 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.6129, allocations: 32.53 kB / 1.121 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.6135, allocations: 300.9 kB / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.6139, allocations: 0.7781 MB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.6139, allocations: 3.938 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of Templates: time 0.00718/0.6211, allocations: 4.264 MB / 1.126 GB, free: 6.785 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)