Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.418/1.418, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001126/0.001126, allocations: 181.3 kB / 361.1 MB, free: 7.125 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.132/1.132, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008507/0.0008507, allocations: 96.56 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1988/0.1997, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.6823, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.8381, allocations: 139.1 MB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.8384, allocations: 73.22 kB / 1.1 GB, free: 0.8633 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.01385/0.8523, allocations: 4.696 MB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.8523, allocations: 8 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.8524, allocations: 35.7 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.8528, allocations: 251.2 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8528, allocations: 12 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.8529, allocations: 12 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001161/0.853, allocations: 43.92 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.8532, allocations: 141.5 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8533, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.8533, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8533, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.8537, allocations: 311.6 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.8539, allocations: 110.7 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.854, allocations: 56.78 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.854, allocations: 4 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.8543, allocations: 171.2 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.8543, allocations: 3.75 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003737/0.8547, allocations: 173.9 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8548, allocations: 59.41 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.855, allocations: 247.3 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.8551, allocations: 41.69 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.8551, allocations: 89.14 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.8552, allocations: 35.52 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.8552, allocations: 4 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8553, allocations: 322.8 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.8555, allocations: 88.14 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8558, allocations: 138.2 kB / 1.106 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.8559, allocations: 74 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8559, allocations: 0 / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005497/0.8565, allocations: 289.8 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8565, allocations: 10.03 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8565, allocations: 0 / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8565, allocations: 4 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8567, allocations: 27.92 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8567, allocations: 4 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.8571, allocations: 43.91 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.8572, allocations: 59.97 kB / 1.107 GB, free: 9.203 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.0001363/0.8573, allocations: 127.4 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.8574, allocations: 29.59 kB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.8575, allocations: 29.97 kB / 1.107 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8575, allocations: 4 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8575, allocations: 0 / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.8575, allocations: 3.984 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.8582, allocations: 494.6 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8582, allocations: 7.938 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.8582, allocations: 4 kB / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8582, allocations: 0 / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.8583, allocations: 15.97 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8583, allocations: 0 / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.8583, allocations: 4 kB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002854/0.8586, allocations: 269.8 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003826/0.859, allocations: 0.6297 MB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.8591, allocations: 160.6 kB / 1.109 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.8592, allocations: 13.36 kB / 1.109 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.8594, allocations: 12 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.8595, allocations: 11.97 kB / 1.109 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.8595, allocations: 33.11 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001612/0.8597, allocations: 199.1 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008618/0.8605, allocations: 44 kB / 1.109 GB, free: 7.043 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.0001294/0.8607, allocations: 123 kB / 1.109 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.8611, allocations: 259.4 kB / 1.109 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8611, allocations: 0 / 1.109 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.8612, allocations: 67.92 kB / 1.109 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.8615, allocations: 16.97 kB / 1.109 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.862, allocations: 270 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.8625, allocations: 0.8104 MB / 1.11 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8625, allocations: 0 / 1.11 GB, free: 5.453 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)