Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.129/4.129, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.104e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8486/1.092, allocations: 133.6 MB / 0.8083 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.092, allocations: 72.78 kB / 0.8083 GB, free: 12.64 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.05071/1.143, allocations: 10.32 MB / 0.8184 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.143, allocations: 0 / 0.8184 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.143, allocations: 3.906 kB / 0.8184 GB, free: 11.78 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001689/1.144, allocations: 0.6148 MB / 0.819 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.144, allocations: 11.53 kB / 0.819 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/1.144, allocations: 44.05 kB / 0.8191 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/1.145, allocations: 25.36 kB / 0.8191 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.145, allocations: 194.7 kB / 0.8193 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.145, allocations: 133.9 kB / 0.8194 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/1.145, allocations: 18.88 kB / 0.8194 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/1.145, allocations: 241 kB / 0.8197 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.145, allocations: 3.938 kB / 0.8197 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/1.146, allocations: 7.5 kB / 0.8197 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/1.146, allocations: 3.844 kB / 0.8197 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/1.146, allocations: 110.5 kB / 0.8198 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/1.147, allocations: 0.9512 MB / 0.8207 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/1.149, allocations: 477.9 kB / 0.8212 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/1.15, allocations: 149.8 kB / 0.8213 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/1.15, allocations: 17.73 kB / 0.8213 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/1.15, allocations: 300.4 kB / 0.8216 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.787e-06/1.15, allocations: 0 / 0.8216 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0009498/1.151, allocations: 304.1 kB / 0.8219 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.151, allocations: 355.9 kB / 0.8222 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/1.152, allocations: 161 kB / 0.8224 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/1.152, allocations: 39.7 kB / 0.8224 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/1.152, allocations: 106.9 kB / 0.8225 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.152, allocations: 121.2 kB / 0.8226 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/1.152, allocations: 10.72 kB / 0.8227 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/1.152, allocations: 329.6 kB / 0.823 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/1.152, allocations: 94.06 kB / 0.8231 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/1.153, allocations: 164.5 kB / 0.8232 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/1.153, allocations: 111.9 kB / 0.8233 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.153, allocations: 3.812 kB / 0.8233 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009869/1.154, allocations: 341.9 kB / 0.8237 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.154, allocations: 3.812 kB / 0.8237 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.154, allocations: 3.875 kB / 0.8237 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/1.154, allocations: 3.75 kB / 0.8237 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/1.155, allocations: 79.98 kB / 0.8237 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.155, allocations: 7.297 kB / 0.8237 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/1.155, allocations: 63.88 kB / 0.8238 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.155, allocations: 22.83 kB / 0.8238 GB, free: 8.113 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001693/1.156, allocations: 143.7 kB / 0.824 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/1.156, allocations: 23.25 kB / 0.824 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/1.157, allocations: 355.7 kB / 0.8243 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.157, allocations: 7.656 kB / 0.8243 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.157, allocations: 3.656 kB / 0.8243 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.157, allocations: 7.859 kB / 0.8243 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/1.157, allocations: 352.5 kB / 0.8247 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.157, allocations: 3.844 kB / 0.8247 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/1.158, allocations: 73.67 kB / 0.8248 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.158, allocations: 7.844 kB / 0.8248 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/1.158, allocations: 18.75 kB / 0.8248 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.158, allocations: 11.73 kB / 0.8248 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.158, allocations: 3.875 kB / 0.8248 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/1.159, allocations: 0.6038 MB / 0.8254 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/1.16, allocations: 153.4 kB / 0.8255 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/1.16, allocations: 13.72 kB / 0.8255 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/1.16, allocations: 41.81 kB / 0.8256 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/1.16, allocations: 54.27 kB / 0.8256 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/1.16, allocations: 22.86 kB / 0.8257 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001417/1.161, allocations: 129.2 kB / 0.8258 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.161, allocations: 4 kB / 0.8258 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009597/1.161, allocations: 215.5 kB / 0.826 GB, free: 22.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002313/1.164, allocations: 2.106 MB / 0.828 GB, free: 21.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008263/1.165, allocations: 290.3 kB / 0.8283 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.165, allocations: 4 kB / 0.8283 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/1.165, allocations: 166.5 kB / 0.8285 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/1.165, allocations: 32.98 kB / 0.8285 GB, free: 21.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.167, allocations: 0.5651 MB / 0.8291 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/1.167, allocations: 0.7705 MB / 0.8298 GB, free: 19.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003884/1.168, allocations: 59.3 kB / 0.8299 GB, free: 19.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.168, allocations: 96.05 kB / 0.83 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of SimCode: time 8.41e-07/1.168, allocations: 0 / 0.83 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/1.202, allocations: 7.039 MB / 0.8368 GB, free: 16.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.202, allocations: 170.7 kB / 0.837 GB, free: 16.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/3.845, allocations: 3.938 kB / 0.837 GB, free: 16.16 MB / 0.6511 GB