Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.22/2.22, allocations: 284.9 MB / 292.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 182.5 kB / 360.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 0.6188 GB, free: 3.277 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00127/0.001269, allocations: 88.38 kB / 0.7318 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.024e-05, allocations: 1.219 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 115.3 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5932/0.8074, allocations: 138.9 MB / 1.098 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.8077, allocations: 67.55 kB / 1.098 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02011/0.8278, allocations: 4.112 MB / 1.103 GB, free: 44.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8279, allocations: 7.719 kB / 1.103 GB, free: 44.69 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.001035/0.8289, allocations: 0.5692 MB / 1.103 GB, free: 44.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.829, allocations: 12.12 kB / 1.103 GB, free: 44.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.8291, allocations: 34.75 kB / 1.103 GB, free: 44.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.8295, allocations: 257 kB / 1.103 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8296, allocations: 3.625 kB / 1.103 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.8297, allocations: 20.5 kB / 1.103 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001683/0.8298, allocations: 47.25 kB / 1.103 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.8302, allocations: 132.2 kB / 1.104 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8302, allocations: 0 / 1.104 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.8302, allocations: 7.812 kB / 1.104 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.8302, allocations: 0 / 1.104 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.8307, allocations: 305.1 kB / 1.104 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.8309, allocations: 110.9 kB / 1.104 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.8311, allocations: 51.38 kB / 1.104 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.8311, allocations: 3.219 kB / 1.104 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.8316, allocations: 179.6 kB / 1.104 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.8316, allocations: 0 / 1.104 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000517/0.8322, allocations: 170.4 kB / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.8322, allocations: 65.34 kB / 1.104 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.8325, allocations: 246.8 kB / 1.105 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.8326, allocations: 40.72 kB / 1.105 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.8327, allocations: 87.27 kB / 1.105 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.8327, allocations: 41.31 kB / 1.105 GB, free: 43.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.8328, allocations: 0 / 1.105 GB, free: 43.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.8329, allocations: 325.3 kB / 1.105 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.8332, allocations: 85.52 kB / 1.105 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.8335, allocations: 142.6 kB / 1.105 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.8338, allocations: 71.91 kB / 1.105 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8338, allocations: 0 / 1.105 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000784/0.8346, allocations: 292.2 kB / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8346, allocations: 7.625 kB / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8346, allocations: 0 / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8346, allocations: 3.875 kB / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.8349, allocations: 33.5 kB / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8349, allocations: 3.875 kB / 1.106 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.8356, allocations: 45.11 kB / 1.106 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.8357, allocations: 53.59 kB / 1.106 GB, free: 42.81 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001479/0.8359, allocations: 130.9 kB / 1.106 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.836, allocations: 30.12 kB / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.8361, allocations: 25.58 kB / 1.106 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8361, allocations: 0 / 1.106 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8361, allocations: 3.156 kB / 1.106 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.8361, allocations: 7.172 kB / 1.106 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.8369, allocations: 483.6 kB / 1.106 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.837, allocations: 7.094 kB / 1.106 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.837, allocations: 4.531 kB / 1.106 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.837, allocations: 14.56 kB / 1.106 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.8371, allocations: 10.64 kB / 1.106 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8371, allocations: 3.703 kB / 1.107 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8371, allocations: 0 / 1.107 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003868/0.8375, allocations: 260.7 kB / 1.107 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.8377, allocations: 156.2 kB / 1.107 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.8379, allocations: 9.469 kB / 1.107 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.8382, allocations: 15.14 kB / 1.107 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.8382, allocations: 19.11 kB / 1.107 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.8383, allocations: 29.58 kB / 1.107 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002083/0.8385, allocations: 196.5 kB / 1.107 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004847/0.839, allocations: 45.66 kB / 1.107 GB, free: 42.04 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001588/0.8392, allocations: 115.3 kB / 1.107 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.8398, allocations: 271.9 kB / 1.108 GB, free: 41.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8399, allocations: 2.25 kB / 1.108 GB, free: 41.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.84, allocations: 61.61 kB / 1.108 GB, free: 41.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.8404, allocations: 18.11 kB / 1.108 GB, free: 41.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.8411, allocations: 277.9 kB / 1.108 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.8416, allocations: 0.802 MB / 1.109 GB, free: 41.04 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.8416, allocations: 0 / 1.109 GB, free: 41.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.009835/0.8515, allocations: 4.29 MB / 1.113 GB, free: 40.61 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)