Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.262/4.262, allocations: 464.6 MB / 476.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.599e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2441, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.1, allocations: 133.7 MB / 0.8084 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.101, allocations: 71.58 kB / 0.8085 GB, free: 12.26 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54: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.01524/1.116, allocations: 3.391 MB / 0.8118 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/1.116, allocations: 0 / 0.8118 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.116, allocations: 0 / 0.8118 GB, free: 11.79 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.0006835/1.117, allocations: 412.3 kB / 0.8122 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.117, allocations: 11.56 kB / 0.8122 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/1.117, allocations: 34.12 kB / 0.8122 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/1.117, allocations: 7.75 kB / 0.8122 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/1.117, allocations: 180.6 kB / 0.8124 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/1.117, allocations: 29.55 kB / 0.8124 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/1.117, allocations: 11.61 kB / 0.8125 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/1.117, allocations: 103 kB / 0.8126 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.117, allocations: 0 / 0.8126 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/1.117, allocations: 3.562 kB / 0.8126 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.117, allocations: 15.62 kB / 0.8126 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/1.118, allocations: 39.86 kB / 0.8126 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/1.118, allocations: 0.5178 MB / 0.8131 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/1.119, allocations: 136 kB / 0.8132 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/1.119, allocations: 39.61 kB / 0.8133 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/1.119, allocations: 3.875 kB / 0.8133 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/1.119, allocations: 109.5 kB / 0.8134 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.406e-06/1.119, allocations: 0 / 0.8134 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003374/1.12, allocations: 111.8 kB / 0.8135 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.12, allocations: 110.6 kB / 0.8136 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.12, allocations: 120.4 kB / 0.8137 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/1.12, allocations: 33.39 kB / 0.8138 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/1.12, allocations: 88.02 kB / 0.8138 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/1.12, allocations: 37.59 kB / 0.8139 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/1.12, allocations: 7.25 kB / 0.8139 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.193e-05/1.12, allocations: 318 kB / 0.8142 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/1.12, allocations: 30.06 kB / 0.8142 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/1.12, allocations: 47.17 kB / 0.8143 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/1.12, allocations: 29.3 kB / 0.8143 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.12, allocations: 3.844 kB / 0.8143 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002862/1.121, allocations: 120.7 kB / 0.8144 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.121, allocations: 15.03 kB / 0.8144 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.121, allocations: 0 / 0.8144 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.121, allocations: 0 / 0.8144 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/1.121, allocations: 22.47 kB / 0.8144 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.121, allocations: 3.953 kB / 0.8144 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/1.121, allocations: 22.38 kB / 0.8145 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/1.121, allocations: 3.875 kB / 0.8145 GB, free: 9.629 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 8.235e-05/1.121, allocations: 113.8 kB / 0.8146 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.121, allocations: 14.88 kB / 0.8146 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/1.122, allocations: 108.4 kB / 0.8147 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.122, allocations: 3.875 kB / 0.8147 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.122, allocations: 0 / 0.8147 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.122, allocations: 7.891 kB / 0.8147 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/1.122, allocations: 217.6 kB / 0.8149 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.122, allocations: 3.812 kB / 0.8149 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/1.122, allocations: 22.61 kB / 0.8149 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.122, allocations: 0 / 0.8149 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.122, allocations: 6.938 kB / 0.8149 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.122, allocations: 3.938 kB / 0.8149 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.122, allocations: 0 / 0.8149 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/1.123, allocations: 204.9 kB / 0.8151 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/1.123, allocations: 106.2 kB / 0.8152 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/1.123, allocations: 0 / 0.8152 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.123, allocations: 16.8 kB / 0.8153 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/1.123, allocations: 13.39 kB / 0.8153 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/1.123, allocations: 7.531 kB / 0.8153 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.632e-05/1.123, allocations: 96.69 kB / 0.8154 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.123, allocations: 4 kB / 0.8154 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004325/1.124, allocations: 57.47 kB / 0.8154 GB, free: 8.926 MB / 0.6355 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.001109/1.125, allocations: 0.9253 MB / 0.8163 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002676/1.125, allocations: 86.81 kB / 0.8164 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.125, allocations: 0 / 0.8164 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.125, allocations: 44.75 kB / 0.8165 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/1.125, allocations: 13.73 kB / 0.8165 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/1.126, allocations: 212.8 kB / 0.8167 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.126, allocations: 0.7077 MB / 0.8174 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001234/1.126, allocations: 18.23 kB / 0.8174 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/1.127, allocations: 39.23 kB / 0.8174 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.127, allocations: 0 / 0.8174 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/1.153, allocations: 2.666 MB / 0.82 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.154, allocations: 175.1 kB / 0.8202 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.558, allocations: 5.969 kB / 0.8202 GB, free: 22.66 MB / 0.6511 GB