Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [: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.0.0/package.mo): time 2.666/2.666, allocations: 284.8 MB / 292.1 MB, free: 10.68 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.001784/0.001783, allocations: 189.2 kB / 360.3 MB, free: 7.492 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.992/1.992, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001419/0.001418, allocations: 86.73 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2573/0.2588, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.8516, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/1.072, allocations: 138.9 MB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.073, allocations: 69.05 kB / 1.098 GB, free: 1.855 MB / 0.698 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.02435/1.097, allocations: 4.698 MB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.097, allocations: 12.5 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.097, allocations: 28.84 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/1.098, allocations: 259.2 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/1.098, allocations: 3.75 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.098, allocations: 19.98 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/1.098, allocations: 43.92 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/1.098, allocations: 140.3 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.099, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/1.099, allocations: 7.984 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.099, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/1.099, allocations: 305.8 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/1.099, allocations: 114.7 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/1.1, allocations: 48.86 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/1.1, allocations: 11.92 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/1.1, allocations: 174.3 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/1.1, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005704/1.101, allocations: 170 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.101, allocations: 63.39 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/1.101, allocations: 247.3 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/1.101, allocations: 33.7 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/1.101, allocations: 89.14 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/1.102, allocations: 39.5 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/1.102, allocations: 4 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.102, allocations: 326.8 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/1.102, allocations: 80.22 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/1.103, allocations: 146.1 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/1.103, allocations: 68.7 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.103, allocations: 4 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009104/1.104, allocations: 283.6 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.104, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.104, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.104, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/1.104, allocations: 27.91 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.104, allocations: 4.859 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/1.105, allocations: 48.06 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.105, allocations: 51.98 kB / 1.106 GB, free: 10.19 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.0002171/1.105, allocations: 139.2 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/1.105, allocations: 23.72 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/1.105, allocations: 29.97 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.105, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.105, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.105, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/1.107, allocations: 498.1 kB / 1.106 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.107, allocations: 0 / 1.106 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/1.107, allocations: 16.98 kB / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/1.107, allocations: 3.984 kB / 1.106 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/1.107, allocations: 15.98 kB / 1.106 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.107, allocations: 0 / 1.106 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.107, allocations: 0 / 1.106 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005285/1.107, allocations: 269.8 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006186/1.108, allocations: 0.6414 MB / 1.107 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/1.108, allocations: 156.6 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/1.108, allocations: 9.625 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/1.109, allocations: 7.984 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/1.109, allocations: 19.97 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/1.109, allocations: 27.98 kB / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000286/1.109, allocations: 195.1 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001425/1.111, allocations: 55.98 kB / 1.108 GB, free: 8.012 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.0002021/1.111, allocations: 113.8 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000748/1.112, allocations: 259.4 kB / 1.108 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.112, allocations: 0 / 1.108 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/1.112, allocations: 70.73 kB / 1.108 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/1.112, allocations: 20.97 kB / 1.108 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/1.113, allocations: 266 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/1.114, allocations: 0.7998 MB / 1.109 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of SimCode: time 3.707e-06/1.114, allocations: 0 / 1.109 GB, free: 6.438 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)