Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001389/0.001389, allocations: 180.2 kB / 366.3 MB, free: 1.949 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.575/1.575, allocations: 205.2 MB / 0.6256 GB, free: 5.809 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.0009045/0.0009045, allocations: 86.5 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2916/0.2926, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/1.127, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/1.335, allocations: 140.9 MB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.335, allocations: 71.91 kB / 1.11 GB, free: 7.59 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.01581/1.351, allocations: 4.855 MB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.351, allocations: 8 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/1.351, allocations: 35.7 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/1.352, allocations: 255.2 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/1.352, allocations: 8 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/1.352, allocations: 16 kB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/1.352, allocations: 39.98 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/1.352, allocations: 150.1 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/1.352, allocations: 0 / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/1.352, allocations: 3.906 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.352, allocations: 4 kB / 1.116 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/1.353, allocations: 301.9 kB / 1.116 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/1.353, allocations: 102.5 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/1.353, allocations: 52.84 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.353, allocations: 7.906 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/1.353, allocations: 155.3 kB / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/1.353, allocations: 0 / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004869/1.354, allocations: 186.9 kB / 1.116 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.354, allocations: 59.41 kB / 1.116 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/1.354, allocations: 255.3 kB / 1.117 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/1.354, allocations: 29.7 kB / 1.117 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/1.354, allocations: 89.14 kB / 1.117 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/1.354, allocations: 31.61 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.355, allocations: 4 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000266/1.355, allocations: 327.6 kB / 1.117 GB, free: 444 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.355, allocations: 75.97 kB / 1.117 GB, free: 368 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/1.355, allocations: 126 kB / 1.117 GB, free: 220 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/1.355, allocations: 73.09 kB / 1.117 GB, free: 148 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.355, allocations: 4 kB / 1.117 GB, free: 144 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005805/1.356, allocations: 264.2 kB / 1.118 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.356, allocations: 4 kB / 1.118 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.356, allocations: 3.938 kB / 1.118 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.356, allocations: 4 kB / 1.118 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/1.356, allocations: 24.92 kB / 1.118 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.356, allocations: 4 kB / 1.118 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/1.357, allocations: 47.94 kB / 1.118 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/1.357, allocations: 39.98 kB / 1.118 GB, free: 15.75 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.0001591/1.357, allocations: 126.9 kB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/1.357, allocations: 27.72 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/1.357, allocations: 26.02 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.357, allocations: 4 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.357, allocations: 3.906 kB / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.357, allocations: 0 / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/1.358, allocations: 0.4957 MB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.358, allocations: 7.938 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/1.358, allocations: 4 kB / 1.118 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.358, allocations: 4 kB / 1.118 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/1.358, allocations: 15.97 kB / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.358, allocations: 0 / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.358, allocations: 3.938 kB / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003413/1.358, allocations: 281 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004951/1.359, allocations: 0.6453 MB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/1.359, allocations: 158.4 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/1.359, allocations: 15.89 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/1.36, allocations: 35.97 kB / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/1.36, allocations: 4 kB / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.36, allocations: 47.97 kB / 1.12 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001874/1.36, allocations: 195.1 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009645/1.361, allocations: 52.36 kB / 1.12 GB, free: 13.52 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.0001879/1.361, allocations: 123.1 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004985/1.362, allocations: 242.4 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.362, allocations: 384 / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.362, allocations: 75.91 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/1.362, allocations: 17.2 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/1.363, allocations: 269.2 kB / 1.12 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.363, allocations: 0.765 MB / 1.121 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/1.363, allocations: 0 / 1.121 GB, free: 11.97 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)