Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.131/4.131, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.98e-05, allocations: 3.391 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.225, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.4558, allocations: 126.2 MB / 0.758 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4561, allocations: 75.94 kB / 0.7581 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02127/0.4774, allocations: 4.174 MB / 0.7621 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4775, allocations: 0 / 0.7621 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4775, allocations: 4 kB / 0.7621 GB, free: 15.26 MB / 0.6511 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.001154/0.4786, allocations: 0.5477 MB / 0.7627 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4787, allocations: 12.03 kB / 0.7627 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.471e-05/0.4788, allocations: 34.56 kB / 0.7627 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.4789, allocations: 27.72 kB / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4792, allocations: 192 kB / 0.7629 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.4792, allocations: 8 kB / 0.7629 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.4793, allocations: 19.98 kB / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.4797, allocations: 137.5 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4798, allocations: 7.984 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.4798, allocations: 7.875 kB / 0.7631 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4798, allocations: 0 / 0.7631 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.48, allocations: 47.92 kB / 0.7631 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.4805, allocations: 325.2 kB / 0.7635 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.4809, allocations: 114.7 kB / 0.7636 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.4811, allocations: 60.84 kB / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4811, allocations: 0 / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.4816, allocations: 203.8 kB / 0.7638 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.4817, allocations: 0 / 0.7638 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006745/0.4823, allocations: 207 kB / 0.764 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4824, allocations: 63.39 kB / 0.7641 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.4827, allocations: 196.2 kB / 0.7643 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.4828, allocations: 37.7 kB / 0.7643 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.4829, allocations: 96.86 kB / 0.7644 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.483, allocations: 47.48 kB / 0.7644 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.4831, allocations: 11.94 kB / 0.7644 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4832, allocations: 322.8 kB / 0.7648 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.4836, allocations: 92.22 kB / 0.7648 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.484, allocations: 138.5 kB / 0.765 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.4844, allocations: 158 kB / 0.7651 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4844, allocations: 0 / 0.7651 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001092/0.4855, allocations: 400.9 kB / 0.7655 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/0.4856, allocations: 83.41 kB / 0.7656 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4856, allocations: 0 / 0.7656 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.4857, allocations: 4 kB / 0.7656 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.486, allocations: 23.92 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.486, allocations: 4 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.4866, allocations: 43.88 kB / 0.7657 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4868, allocations: 51.97 kB / 0.7657 GB, free: 11.3 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001952/0.487, allocations: 135.9 kB / 0.7658 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.487, allocations: 15.81 kB / 0.7659 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.4871, allocations: 25.64 kB / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4872, allocations: 0 / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.4872, allocations: 7.938 kB / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4872, allocations: 0 / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.4884, allocations: 0.5354 MB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4884, allocations: 0 / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.4885, allocations: 11.97 kB / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4885, allocations: 0 / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.4885, allocations: 15.98 kB / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4886, allocations: 0 / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4886, allocations: 3.938 kB / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.4892, allocations: 307.1 kB / 0.7667 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4895, allocations: 132.8 kB / 0.7669 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.4895, allocations: 20 kB / 0.7669 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.4899, allocations: 11.98 kB / 0.7669 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.49, allocations: 15.97 kB / 0.7669 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.49, allocations: 27.92 kB / 0.7669 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002346/0.4903, allocations: 164.5 kB / 0.7671 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4903, allocations: 0 / 0.7671 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005398/0.4908, allocations: 44 kB / 0.7671 GB, free: 9.746 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.001094/0.4919, allocations: 0.8643 MB / 0.768 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008882/0.4928, allocations: 342.8 kB / 0.7683 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4929, allocations: 3.938 kB / 0.7683 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.4931, allocations: 65.33 kB / 0.7684 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4934, allocations: 21.03 kB / 0.7684 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.4944, allocations: 276.4 kB / 0.7686 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.4948, allocations: 0.7282 MB / 0.7694 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.495, allocations: 33.2 kB / 0.7694 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4952, allocations: 43.41 kB / 0.7694 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of SimCode: time 1.113e-06/0.4952, allocations: 4 kB / 0.7694 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.5283, allocations: 5.008 MB / 0.7743 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.5287, allocations: 157.2 kB / 0.7745 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.821, allocations: 0 / 0.7745 GB, free: 2.113 MB / 0.6511 GB