Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [: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.529/1.529, 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.001195/0.001196, allocations: 181.2 kB / 366.3 MB, free: 1.992 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.52/1.52, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009381/0.000938, allocations: 97.11 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6388/0.6388, allocations: 116.3 MB / 0.9725 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.8062, allocations: 140.8 MB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.8065, allocations: 76.58 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01465/0.8211, allocations: 4.216 MB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.8212, allocations: 4 kB / 1.114 GB, free: 3.414 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.0007301/0.8219, allocations: 0.6288 MB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.822, allocations: 8.031 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.8221, allocations: 31.72 kB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.8224, allocations: 257.5 kB / 1.115 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.8225, allocations: 7.984 kB / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.8226, allocations: 16 kB / 1.115 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.8227, allocations: 47.98 kB / 1.115 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.823, allocations: 149.5 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.823, allocations: 0 / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.823, allocations: 7.906 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.823, allocations: 4 kB / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.8234, allocations: 297.9 kB / 1.116 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.8236, allocations: 102.5 kB / 1.116 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.8237, allocations: 52.84 kB / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.8237, allocations: 7.906 kB / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.824, allocations: 160.4 kB / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.756e-06/0.824, allocations: 0 / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.000398/0.8244, allocations: 181.2 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.8244, allocations: 59.41 kB / 1.116 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.8247, allocations: 247.3 kB / 1.116 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.8247, allocations: 37.69 kB / 1.116 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.8248, allocations: 85.14 kB / 1.117 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.8248, allocations: 39.61 kB / 1.117 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.8249, allocations: 0 / 1.117 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8251, allocations: 326.7 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.8252, allocations: 75.98 kB / 1.117 GB, free: 404 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.8254, allocations: 126 kB / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.8256, allocations: 76.41 kB / 1.117 GB, free: 180 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8256, allocations: 1.781 kB / 1.117 GB, free: 180 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005151/0.8261, allocations: 268.6 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8261, allocations: 4 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8261, allocations: 4.188 kB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8262, allocations: 4 kB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.8263, allocations: 19.98 kB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8263, allocations: 7.938 kB / 1.117 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.8267, allocations: 39.81 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.8268, allocations: 47.98 kB / 1.118 GB, free: 15.79 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.0001406/0.8269, allocations: 118.9 kB / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.827, allocations: 27.7 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.827, allocations: 30.02 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.827, allocations: 3.938 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8271, allocations: 3.906 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8271, allocations: 0 / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.8278, allocations: 0.5026 MB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8278, allocations: 0 / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.8278, allocations: 4 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8279, allocations: 0 / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.8279, allocations: 24.47 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8279, allocations: 0 / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8279, allocations: 0 / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003313/0.8282, allocations: 284.1 kB / 1.118 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.8284, allocations: 160.6 kB / 1.119 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.8285, allocations: 8 kB / 1.119 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.829, allocations: 32.53 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.829, allocations: 11.98 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.8291, allocations: 51.97 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001694/0.8292, allocations: 195.1 kB / 1.119 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000311/0.8295, allocations: 47.98 kB / 1.119 GB, free: 14.22 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.0001611/0.8297, allocations: 115.7 kB / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.8302, allocations: 247.5 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8302, allocations: 384 / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.8303, allocations: 71.92 kB / 1.119 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.8306, allocations: 16.64 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.8312, allocations: 273.2 kB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8316, allocations: 0.7686 MB / 1.12 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/0.8316, allocations: 0 / 1.12 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.006926/0.8385, allocations: 3.889 MB / 1.124 GB, free: 8.82 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)