Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") [: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.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001192/0.001192, allocations: 181.3 kB / 366.3 MB, free: 2 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.185/1.185, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009363/0.0009363, allocations: 83.84 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.652e-06, allocations: 0 / 0.859 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5506, allocations: 116.3 MB / 0.9725 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.72, allocations: 140.8 MB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.7203, allocations: 76.69 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01427/0.7346, allocations: 4.216 MB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.7346, allocations: 4 kB / 1.114 GB, free: 3.477 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007296/0.7354, allocations: 0.625 MB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7354, allocations: 8.031 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.7355, allocations: 31.72 kB / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.7359, allocations: 260.1 kB / 1.115 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.7359, allocations: 4 kB / 1.115 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.736, allocations: 19.98 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/0.7361, allocations: 43.98 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.7364, allocations: 137.5 kB / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7364, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.7364, allocations: 15.89 kB / 1.115 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7364, allocations: 4 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.7368, allocations: 297.9 kB / 1.116 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.737, allocations: 102.5 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7371, allocations: 52.84 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.7371, allocations: 12.94 kB / 1.116 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.7373, allocations: 152.1 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.7373, allocations: 0 / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003854/0.7377, allocations: 182 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7378, allocations: 59.39 kB / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.7381, allocations: 251.3 kB / 1.116 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.7381, allocations: 37.69 kB / 1.116 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.7382, allocations: 85.14 kB / 1.117 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.7382, allocations: 35.61 kB / 1.117 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.7383, allocations: 4 kB / 1.117 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7384, allocations: 330.7 kB / 1.117 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.7386, allocations: 77.2 kB / 1.117 GB, free: 472 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.7388, allocations: 122 kB / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.7389, allocations: 78.17 kB / 1.117 GB, free: 252 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7389, allocations: 0 / 1.117 GB, free: 252 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004861/0.7394, allocations: 261.3 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7394, allocations: 4 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7395, allocations: 4 kB / 1.117 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7395, allocations: 4.188 kB / 1.117 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7396, allocations: 27.86 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7396, allocations: 4 kB / 1.117 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.74, allocations: 35.83 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.7401, allocations: 51.97 kB / 1.118 GB, free: 15.86 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001252/0.7402, allocations: 127.9 kB / 1.118 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.7403, allocations: 25.59 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.7403, allocations: 30.02 kB / 1.118 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7403, allocations: 0 / 1.118 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7403, allocations: 3.906 kB / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7403, allocations: 3.984 kB / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.741, allocations: 0.5036 MB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.741, allocations: 0 / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.7411, allocations: 8 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7411, allocations: 0 / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.7411, allocations: 19.97 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7411, allocations: 2.578 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7412, allocations: 0 / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003425/0.7415, allocations: 280.1 kB / 1.118 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.7417, allocations: 156.6 kB / 1.119 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.7418, allocations: 19.94 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.7422, allocations: 31.97 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.7422, allocations: 7.984 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.7423, allocations: 43.97 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000197/0.7425, allocations: 203.1 kB / 1.119 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003078/0.7428, allocations: 47.98 kB / 1.119 GB, free: 14.28 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.000145/0.743, allocations: 106.8 kB / 1.119 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.7434, allocations: 257.9 kB / 1.119 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7434, allocations: 0 / 1.119 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.7435, allocations: 59.98 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.7438, allocations: 18.03 kB / 1.119 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.7444, allocations: 284.9 kB / 1.12 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.7447, allocations: 0.7631 MB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of SimCode: time 2.274e-06/0.7448, allocations: 4 kB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.006956/0.7517, allocations: 3.91 MB / 1.124 GB, free: 8.855 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)