Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 176.5 kB / 316 MB, free: 3.605 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.1 MB / 0.5667 GB, free: 15.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000821/0.0008211, allocations: 91.33 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3084/0.3093, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.4643, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.9417, allocations: 133.8 MB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.9419, allocations: 70.7 kB / 1.015 GB, free: 4.785 MB / 0.6355 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.01351/0.9555, allocations: 4.706 MB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.9555, allocations: 8 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.9556, allocations: 39.61 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.9559, allocations: 249.4 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.9559, allocations: 11.61 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.956, allocations: 15.91 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.9561, allocations: 38.42 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9563, allocations: 140.6 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.9563, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.9564, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9564, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.9567, allocations: 306.3 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.9569, allocations: 118.7 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.957, allocations: 49.3 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.9571, allocations: 7.984 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.9574, allocations: 171.7 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.9574, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003278/0.9577, allocations: 170.6 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.9577, allocations: 62.83 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.9579, allocations: 242.7 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.958, allocations: 37.02 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.9581, allocations: 89.05 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.9581, allocations: 45.22 kB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.9582, allocations: 0 / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9583, allocations: 330.2 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.9585, allocations: 85.91 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.9587, allocations: 134.2 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.9588, allocations: 77.95 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9588, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000474/0.9593, allocations: 273.9 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.9593, allocations: 11.94 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9593, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.9594, allocations: 7.906 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.9595, allocations: 24.16 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9595, allocations: 11.94 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.9599, allocations: 47.53 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.96, allocations: 59.97 kB / 1.023 GB, free: 14.07 MB / 0.6511 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.0001138/0.9601, allocations: 127.1 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.9602, allocations: 27.62 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.9602, allocations: 35.78 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9603, allocations: 0 / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9603, allocations: 0 / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9603, allocations: 4 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.9609, allocations: 489.5 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9609, allocations: 3.938 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.961, allocations: 11.92 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.961, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.961, allocations: 11.98 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.961, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.961, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002848/0.9613, allocations: 268.3 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003713/0.9617, allocations: 0.6415 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.9618, allocations: 157.2 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.9619, allocations: 10.81 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.9621, allocations: 11.98 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.9622, allocations: 23.06 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.9622, allocations: 31.98 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001639/0.9624, allocations: 196.1 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008518/0.9632, allocations: 51.67 kB / 1.025 GB, free: 12.08 MB / 0.6511 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.0001558/0.9634, allocations: 113.2 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.9638, allocations: 261.2 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9639, allocations: 4 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.964, allocations: 60.3 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.9642, allocations: 27 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.9648, allocations: 269.2 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.9654, allocations: 0.8002 MB / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.9654, allocations: 0 / 1.026 GB, free: 10.6 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)