Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.962/3.962, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.672e-05, allocations: 4.156 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2431, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.4713, allocations: 125.1 MB / 0.7569 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4716, allocations: 71.95 kB / 0.7569 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4887, allocations: 3.283 MB / 0.7601 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4887, allocations: 0 / 0.7601 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4887, allocations: 4 kB / 0.7601 GB, free: 1.301 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001313/0.4901, allocations: 0.5327 MB / 0.7606 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4901, allocations: 8.031 kB / 0.7607 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.286e-05/0.4902, allocations: 42.55 kB / 0.7607 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.4903, allocations: 27.86 kB / 0.7607 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.4912, allocations: 278.6 kB / 0.761 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.4913, allocations: 19.98 kB / 0.761 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4914, allocations: 28 kB / 0.761 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.492, allocations: 247 kB / 0.7613 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.492, allocations: 0 / 0.7613 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.4921, allocations: 7.984 kB / 0.7613 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.4921, allocations: 4.047 kB / 0.7613 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.4924, allocations: 91.84 kB / 0.7614 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.493, allocations: 379.8 kB / 0.7617 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.4936, allocations: 234.6 kB / 0.762 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.4939, allocations: 119.6 kB / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4939, allocations: 7.953 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005874/0.4945, allocations: 258.5 kB / 0.7623 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.4946, allocations: 0 / 0.7623 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.001135/0.4957, allocations: 413.1 kB / 0.7627 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4958, allocations: 148.5 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.496, allocations: 139 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.4961, allocations: 45.7 kB / 0.763 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4962, allocations: 104.6 kB / 0.7631 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.4963, allocations: 63.19 kB / 0.7632 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4964, allocations: 12 kB / 0.7632 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4965, allocations: 338.9 kB / 0.7635 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.497, allocations: 164 kB / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.4975, allocations: 215.1 kB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.4981, allocations: 225.4 kB / 0.7641 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4981, allocations: 4 kB / 0.7641 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001759/0.4998, allocations: 0.714 MB / 0.7648 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.5, allocations: 83.31 kB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5, allocations: 0 / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.5, allocations: 4 kB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.5002, allocations: 12 kB / 0.7649 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5002, allocations: 0 / 0.7649 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.5009, allocations: 91.75 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.501, allocations: 20 kB / 0.765 GB, free: 11.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * 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.0002452/0.5013, allocations: 140 kB / 0.7651 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.5013, allocations: 23.75 kB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.5014, allocations: 24.56 kB / 0.7652 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5014, allocations: 4 kB / 0.7652 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5015, allocations: 4 kB / 0.7652 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5015, allocations: 7.984 kB / 0.7652 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.5018, allocations: 261.4 kB / 0.7655 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5018, allocations: 4 kB / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5019, allocations: 11.94 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.502, allocations: 3.953 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.502, allocations: 19.97 kB / 0.7655 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.502, allocations: 0 / 0.7655 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.502, allocations: 0 / 0.7655 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5031, allocations: 494.2 kB / 0.766 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.5032, allocations: 88.95 kB / 0.766 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.5033, allocations: 23.98 kB / 0.7661 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.5036, allocations: 15.98 kB / 0.7661 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.5037, allocations: 19.97 kB / 0.7661 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.5038, allocations: 23.97 kB / 0.7661 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001231/0.5039, allocations: 113.1 kB / 0.7662 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5039, allocations: 0 / 0.7662 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000522/0.5044, allocations: 83.98 kB / 0.7663 GB, free: 10.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.00163/0.5061, allocations: 1.275 MB / 0.7676 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.5075, allocations: 0.6682 MB / 0.7682 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5076, allocations: 0 / 0.7682 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.508, allocations: 151.9 kB / 0.7684 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.5082, allocations: 15.98 kB / 0.7684 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.5095, allocations: 376.2 kB / 0.7687 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.5099, allocations: 0.713 MB / 0.7694 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.575e-05/0.51, allocations: 13.2 kB / 0.7694 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5101, allocations: 39.42 kB / 0.7695 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.5101, allocations: 0 / 0.7695 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.5419, allocations: 4.647 MB / 0.774 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/0.5423, allocations: 167.4 kB / 0.7742 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.937, allocations: 3.938 kB / 0.7742 GB, free: 2.301 MB / 0.6511 GB