Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.041/4.041, allocations: 432.8 MB / 444.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.944e-05, allocations: 7.031 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2063, allocations: 98.73 MB / 0.6302 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.4352, allocations: 126.5 MB / 0.7537 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4356, allocations: 71.95 kB / 0.7538 GB, free: 7.371 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.4523, allocations: 3.373 MB / 0.7571 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4524, allocations: 4 kB / 0.7571 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.4524, allocations: 4 kB / 0.7571 GB, free: 3.984 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.000762/0.4532, allocations: 414.5 kB / 0.7575 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4532, allocations: 12.03 kB / 0.7575 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.4533, allocations: 34.56 kB / 0.7575 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.4534, allocations: 15.86 kB / 0.7576 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4535, allocations: 174.9 kB / 0.7577 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.4536, allocations: 37.7 kB / 0.7578 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.4537, allocations: 4 kB / 0.7578 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.4539, allocations: 100.2 kB / 0.7579 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.454, allocations: 3.938 kB / 0.7579 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.454, allocations: 0 / 0.7579 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.454, allocations: 4 kB / 0.7579 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.4542, allocations: 55.91 kB / 0.7579 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.4551, allocations: 0.5128 MB / 0.7584 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.4558, allocations: 127.8 kB / 0.7585 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4559, allocations: 42.58 kB / 0.7586 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.456, allocations: 8 kB / 0.7586 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.4563, allocations: 113.9 kB / 0.7587 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.425e-06/0.4563, allocations: 0 / 0.7587 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003764/0.4567, allocations: 109.5 kB / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.4568, allocations: 110.8 kB / 0.7589 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4569, allocations: 116.9 kB / 0.759 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.457, allocations: 29.7 kB / 0.759 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4571, allocations: 96.27 kB / 0.7591 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4571, allocations: 27.61 kB / 0.7592 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.4571, allocations: 4 kB / 0.7592 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4573, allocations: 318.8 kB / 0.7595 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4574, allocations: 27.98 kB / 0.7595 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4576, allocations: 61.59 kB / 0.7596 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4577, allocations: 31.92 kB / 0.7596 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4577, allocations: 3.938 kB / 0.7596 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003439/0.4581, allocations: 117.6 kB / 0.7597 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4581, allocations: 4 kB / 0.7597 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4581, allocations: 3.953 kB / 0.7597 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4582, allocations: 4 kB / 0.7597 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4584, allocations: 27.92 kB / 0.7597 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4585, allocations: 0 / 0.7597 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4586, allocations: 19.89 kB / 0.7598 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.4587, allocations: 4.062 kB / 0.7598 GB, free: 0.9492 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001071/0.4588, allocations: 109 kB / 0.7599 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.4588, allocations: 4 kB / 0.7599 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.4592, allocations: 122.2 kB / 0.76 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4593, allocations: 7.953 kB / 0.76 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4593, allocations: 7.938 kB / 0.76 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4593, allocations: 0 / 0.76 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.4596, allocations: 221.4 kB / 0.7602 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4596, allocations: 0 / 0.7602 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.4598, allocations: 19.98 kB / 0.7602 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.4598, allocations: 0 / 0.7602 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4598, allocations: 11.94 kB / 0.7602 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4598, allocations: 0 / 0.7602 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4598, allocations: 7.891 kB / 0.7603 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.4602, allocations: 190.9 kB / 0.7604 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4603, allocations: 104.9 kB / 0.7605 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.4604, allocations: 4 kB / 0.7605 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4605, allocations: 8 kB / 0.7605 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.4606, allocations: 15.98 kB / 0.7606 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.4607, allocations: 12.05 kB / 0.7606 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.713e-05/0.4608, allocations: 91.22 kB / 0.7607 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4608, allocations: 3.938 kB / 0.7607 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004237/0.4612, allocations: 63.92 kB / 0.7607 GB, free: 15.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009267/0.4622, allocations: 0.9188 MB / 0.7616 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.4625, allocations: 79.98 kB / 0.7617 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4625, allocations: 4 kB / 0.7617 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.4627, allocations: 47.92 kB / 0.7618 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4629, allocations: 16 kB / 0.7618 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.4636, allocations: 229.2 kB / 0.762 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.464, allocations: 0.7004 MB / 0.7627 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.4641, allocations: 21.09 kB / 0.7627 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.4642, allocations: 31.42 kB / 0.7627 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.4642, allocations: 0 / 0.7627 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4868, allocations: 2.652 MB / 0.7653 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.4873, allocations: 176.6 kB / 0.7655 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.702, allocations: 4 kB / 0.7655 GB, free: 10.89 MB / 0.6511 GB