Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001027/0.001027, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.127/1.127, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.00086/0.0008601, allocations: 76.05 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/8.016e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4556, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.6026, allocations: 141.1 MB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.6028, allocations: 74.64 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01465/0.6175, allocations: 4.966 MB / 1.115 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.6175, allocations: 6.062 kB / 1.115 GB, free: 2.375 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.0006965/0.6182, allocations: 0.6449 MB / 1.116 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6183, allocations: 8.031 kB / 1.116 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.6184, allocations: 35.62 kB / 1.116 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.6187, allocations: 283.1 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.6188, allocations: 4 kB / 1.116 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.6189, allocations: 23.98 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000145/0.619, allocations: 55.98 kB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.6193, allocations: 160.3 kB / 1.116 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6193, allocations: 3.906 kB / 1.116 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.6193, allocations: 11.92 kB / 1.116 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.6193, allocations: 7.984 kB / 1.116 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.6201, allocations: 0.5554 MB / 1.117 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.6203, allocations: 98.56 kB / 1.117 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.6204, allocations: 60.84 kB / 1.117 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.6204, allocations: 0 / 1.117 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.6206, allocations: 163.2 kB / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.6206, allocations: 0 / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.000405/0.6211, allocations: 193.6 kB / 1.118 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6211, allocations: 59.39 kB / 1.118 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.6214, allocations: 271.5 kB / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.6214, allocations: 37.7 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.6215, allocations: 98.56 kB / 1.118 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.6215, allocations: 39.52 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.6216, allocations: 4 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.6217, allocations: 318.8 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.6219, allocations: 99.98 kB / 1.118 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.6221, allocations: 145.9 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.6222, allocations: 75.94 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6223, allocations: 4 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005067/0.6228, allocations: 285.3 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6228, allocations: 4 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6228, allocations: 7.938 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6228, allocations: 7.984 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.623, allocations: 19.92 kB / 1.119 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.623, allocations: 4 kB / 1.119 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.6233, allocations: 44.06 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.6234, allocations: 43.98 kB / 1.119 GB, free: 14.28 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.0001208/0.6235, allocations: 131.5 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.6236, allocations: 28.38 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.6236, allocations: 30.08 kB / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6236, allocations: 7.969 kB / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6237, allocations: 0 / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6237, allocations: 0 / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.6243, allocations: 0.5352 MB / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6243, allocations: 0 / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.6243, allocations: 7.984 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6244, allocations: 10.28 kB / 1.12 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.6244, allocations: 15.98 kB / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6244, allocations: 0 / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6244, allocations: 0 / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003212/0.6247, allocations: 287 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.6249, allocations: 184.6 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.625, allocations: 16 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.6255, allocations: 35.97 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.6255, allocations: 11.98 kB / 1.12 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.6256, allocations: 43.97 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001739/0.6257, allocations: 215.1 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003137/0.6261, allocations: 47.98 kB / 1.121 GB, free: 12.62 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.0001918/0.6263, allocations: 143.8 kB / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.6267, allocations: 267.8 kB / 1.121 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6267, allocations: 0 / 1.121 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.6268, allocations: 71.02 kB / 1.121 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.6271, allocations: 29.67 kB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.6277, allocations: 304.9 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.628, allocations: 0.7742 MB / 1.122 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.628, allocations: 7.938 kB / 1.122 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.007121/0.6352, allocations: 4.268 MB / 1.126 GB, free: 6.738 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)