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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.172/4.172, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.027e-05, allocations: 3.688 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2228, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/0.4836, allocations: 124.4 MB / 0.7504 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.484, allocations: 71.97 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01768/0.5017, allocations: 3.277 MB / 0.7536 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5017, allocations: 0 / 0.7536 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5018, allocations: 4 kB / 0.7537 GB, free: 9.184 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.001333/0.5031, allocations: 0.5249 MB / 0.7542 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5032, allocations: 16.03 kB / 0.7542 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5034, allocations: 31.84 kB / 0.7542 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.5043, allocations: 263.5 kB / 0.7545 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.5044, allocations: 15.92 kB / 0.7545 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5045, allocations: 27.98 kB / 0.7545 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002842/0.5048, allocations: 79.97 kB / 0.7546 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.5053, allocations: 230.9 kB / 0.7548 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.5054, allocations: 7.984 kB / 0.7548 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.5054, allocations: 11.94 kB / 0.7548 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5054, allocations: 4 kB / 0.7548 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.506, allocations: 344.4 kB / 0.7552 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.5065, allocations: 219.4 kB / 0.7554 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.5068, allocations: 107.5 kB / 0.7555 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.5068, allocations: 7.984 kB / 0.7555 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.5074, allocations: 255.2 kB / 0.7557 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.326e-06/0.5074, allocations: 0 / 0.7557 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001143/0.5086, allocations: 393.2 kB / 0.7561 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.5087, allocations: 136.6 kB / 0.7562 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.5089, allocations: 142.8 kB / 0.7564 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.509, allocations: 33.7 kB / 0.7564 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5091, allocations: 108.6 kB / 0.7565 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.5092, allocations: 55.27 kB / 0.7565 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.5093, allocations: 11.94 kB / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5095, allocations: 332.3 kB / 0.7569 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.5099, allocations: 156 kB / 0.757 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.5104, allocations: 199.1 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.5109, allocations: 149 kB / 0.7574 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.511, allocations: 0 / 0.7574 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001815/0.5128, allocations: 0.6091 MB / 0.7579 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.513, allocations: 87.44 kB / 0.758 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.513, allocations: 4 kB / 0.758 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.513, allocations: 0 / 0.758 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.5132, allocations: 19.92 kB / 0.7581 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.5133, allocations: 0 / 0.7581 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.514, allocations: 87.64 kB / 0.7581 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.5141, allocations: 27.97 kB / 0.7582 GB, free: 4.238 MB / 0.6355 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.0002524/0.5143, allocations: 132 kB / 0.7583 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009686/0.5153, allocations: 385.7 kB / 0.7587 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.5154, allocations: 23.8 kB / 0.7587 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.5154, allocations: 16.61 kB / 0.7587 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5155, allocations: 4 kB / 0.7587 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5155, allocations: 0 / 0.7587 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5155, allocations: 8.062 kB / 0.7587 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.5159, allocations: 226 kB / 0.7589 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5159, allocations: 4 kB / 0.7589 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.516, allocations: 15.94 kB / 0.7589 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5161, allocations: 3.953 kB / 0.7589 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.5161, allocations: 15.97 kB / 0.759 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5161, allocations: 0 / 0.759 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.5161, allocations: 0 / 0.759 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.5171, allocations: 475.2 kB / 0.7594 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.5172, allocations: 88.92 kB / 0.7595 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.5173, allocations: 19.98 kB / 0.7595 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.5176, allocations: 15.98 kB / 0.7595 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.5177, allocations: 19.97 kB / 0.7596 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.5178, allocations: 27.97 kB / 0.7596 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000116/0.5179, allocations: 115.2 kB / 0.7597 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5179, allocations: 0 / 0.7597 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005791/0.5185, allocations: 75.92 kB / 0.7598 GB, free: 2.488 MB / 0.6355 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.00162/0.5202, allocations: 1.244 MB / 0.761 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.5215, allocations: 0.6354 MB / 0.7616 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5216, allocations: 3.938 kB / 0.7616 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.5219, allocations: 143.9 kB / 0.7617 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5222, allocations: 10.73 kB / 0.7617 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.5234, allocations: 350.5 kB / 0.7621 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.5238, allocations: 0.7166 MB / 0.7628 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.453e-05/0.5239, allocations: 13.2 kB / 0.7628 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.524, allocations: 39.42 kB / 0.7628 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/0.524, allocations: 0 / 0.7628 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04322/0.5673, allocations: 4.251 MB / 0.767 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003709/0.5677, allocations: 145.2 kB / 0.7671 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.021, allocations: 0 / 0.7671 GB, free: 10.79 MB / 0.6511 GB