Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.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.492/1.492, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001054/0.001054, 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.533/1.533, allocations: 205.1 MB / 0.6256 GB, free: 5.895 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.0009915/0.0009913, allocations: 88.05 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.632/0.632, allocations: 116.3 MB / 0.9725 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.8083, allocations: 140.9 MB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.8086, allocations: 79.88 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01452/0.8231, allocations: 4.211 MB / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.8232, allocations: 4 kB / 1.114 GB, free: 3.383 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.000837/0.824, allocations: 0.6289 MB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8241, allocations: 8.031 kB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.8242, allocations: 31.72 kB / 1.115 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.8246, allocations: 259.1 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.8247, allocations: 7.984 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.8247, allocations: 19.98 kB / 1.115 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.8249, allocations: 45.02 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.8251, allocations: 149.1 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8251, allocations: 4 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.8252, allocations: 3.906 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8252, allocations: 4 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.8256, allocations: 297.9 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.8258, allocations: 106.5 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.8259, allocations: 52.84 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.8259, allocations: 11.89 kB / 1.116 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.8261, allocations: 151.3 kB / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.073e-06/0.8261, allocations: 0 / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003967/0.8265, allocations: 182.7 kB / 1.116 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8266, allocations: 59.41 kB / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.8269, allocations: 251.2 kB / 1.116 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.8269, allocations: 37.69 kB / 1.117 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.827, allocations: 85.14 kB / 1.117 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.827, allocations: 35.61 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.8271, allocations: 4 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8272, allocations: 326.7 kB / 1.117 GB, free: 444 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.8274, allocations: 75.98 kB / 1.117 GB, free: 368 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.8276, allocations: 126 kB / 1.117 GB, free: 220 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.8277, allocations: 75.05 kB / 1.117 GB, free: 148 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8277, allocations: 0 / 1.117 GB, free: 148 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005535/0.8283, allocations: 261.2 kB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8283, allocations: 4 kB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8283, allocations: 4.188 kB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8284, allocations: 9.016 kB / 1.117 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8285, allocations: 23.92 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8285, allocations: 0 / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.8289, allocations: 47.81 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.829, allocations: 42.25 kB / 1.118 GB, free: 15.76 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (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.0001349/0.8291, allocations: 126.8 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.8292, allocations: 23.72 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.8293, allocations: 26.02 kB / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.8293, allocations: 4 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8293, allocations: 7.891 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8293, allocations: 0 / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.83, allocations: 0.5023 MB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.83, allocations: 0 / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.83, allocations: 4 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8301, allocations: 4 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.8301, allocations: 19.97 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8301, allocations: 0 / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.8301, allocations: 0 / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003353/0.8304, allocations: 283 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.8306, allocations: 168.6 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.8307, allocations: 8 kB / 1.119 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.8312, allocations: 35.97 kB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.8312, allocations: 11.98 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.8313, allocations: 43.97 kB / 1.119 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001644/0.8314, allocations: 199.1 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003337/0.8318, allocations: 43.98 kB / 1.119 GB, free: 14.19 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.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001617/0.8319, allocations: 108 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.8324, allocations: 257.9 kB / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8324, allocations: 384 / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.8325, allocations: 67.98 kB / 1.119 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.8328, allocations: 17.11 kB / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.8334, allocations: 281.1 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.8338, allocations: 0.767 MB / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/0.8338, allocations: 0 / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.007372/0.8412, allocations: 3.884 MB / 1.124 GB, free: 8.777 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)