Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.00102/0.00102, allocations: 181.2 kB / 316 MB, free: 3.57 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.087/1.087, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008179/0.0008179, allocations: 91.69 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3345/0.3353, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.4874, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.9745, allocations: 133.8 MB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.9748, allocations: 70.41 kB / 1.015 GB, free: 4.777 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.01371/0.9885, allocations: 4.704 MB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.9885, allocations: 12 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.9886, allocations: 31.62 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.9889, allocations: 255.5 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.989, allocations: 8 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.989, allocations: 19.89 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.9892, allocations: 38.55 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.9894, allocations: 142.4 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.9894, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.9894, allocations: 3.984 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9894, allocations: 0.8438 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.9897, allocations: 301 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.9899, allocations: 115.2 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.99, allocations: 46.67 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.99, allocations: 7.984 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.9903, allocations: 175.3 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.9903, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003195/0.9907, allocations: 174.5 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.9907, allocations: 67.31 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.9909, allocations: 241.9 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.991, allocations: 41.39 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.991, allocations: 93.03 kB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.9911, allocations: 37.61 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.9911, allocations: 4 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.9912, allocations: 326.2 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.9914, allocations: 82.72 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9916, allocations: 141.1 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.9917, allocations: 76.45 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9917, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004733/0.9922, allocations: 282.9 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.9922, allocations: 8 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9922, allocations: 0 / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9922, allocations: 7.906 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.9924, allocations: 27.91 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9924, allocations: 4 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.9928, allocations: 51.91 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.9929, allocations: 54.98 kB / 1.023 GB, free: 14.05 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.0001082/0.993, allocations: 126.5 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.993, allocations: 27.62 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.9931, allocations: 35.09 kB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9931, allocations: 0 / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9931, allocations: 0 / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9931, allocations: 0 / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.9937, allocations: 483.2 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9937, allocations: 3.938 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.9937, allocations: 11.98 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9938, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.9938, allocations: 11.98 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9938, allocations: 4 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9938, allocations: 0 / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002742/0.9941, allocations: 269.2 kB / 1.024 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000372/0.9945, allocations: 0.6382 MB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.9946, allocations: 158.5 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.9947, allocations: 11.12 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.9949, allocations: 11.8 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.9949, allocations: 19.88 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.995, allocations: 30.11 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000133/0.9951, allocations: 194 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008407/0.996, allocations: 51.42 kB / 1.025 GB, free: 12.07 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.0001324/0.9961, allocations: 121.2 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.9965, allocations: 268.1 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9965, allocations: 0 / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.9966, allocations: 65.86 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.9969, allocations: 27.73 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.9974, allocations: 274.4 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.9978, allocations: 0.7971 MB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/0.9978, allocations: 0 / 1.026 GB, free: 10.57 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)