Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.081/4.081, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.682e-05, allocations: 5.219 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2274, allocations: 98.73 MB / 0.6302 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.4546, allocations: 126.2 MB / 0.7535 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4549, allocations: 71.95 kB / 0.7536 GB, free: 7.637 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.05556/0.5105, allocations: 10.28 MB / 0.7636 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5105, allocations: 0 / 0.7636 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.5105, allocations: 4 kB / 0.7636 GB, free: 13.32 MB / 0.6511 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.001939/0.5125, allocations: 0.6148 MB / 0.7642 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.5126, allocations: 12.03 kB / 0.7642 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.729e-05/0.5127, allocations: 46.55 kB / 0.7643 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.5128, allocations: 27.66 kB / 0.7643 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.513, allocations: 188.8 kB / 0.7645 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.5132, allocations: 126.8 kB / 0.7646 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.5133, allocations: 20 kB / 0.7646 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.5138, allocations: 251.6 kB / 0.7648 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5139, allocations: 0 / 0.7648 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5139, allocations: 8 kB / 0.7648 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5139, allocations: 8 kB / 0.7649 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.5143, allocations: 107.8 kB / 0.765 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.5156, allocations: 0.9473 MB / 0.7659 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.5182, allocations: 475.5 kB / 0.7663 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.5186, allocations: 150.6 kB / 0.7665 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.035e-05/0.5187, allocations: 19.91 kB / 0.7665 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.5193, allocations: 307.7 kB / 0.7668 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.626e-06/0.5193, allocations: 0 / 0.7668 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001064/0.5204, allocations: 301.1 kB / 0.7671 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.5206, allocations: 358.2 kB / 0.7674 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5208, allocations: 153.8 kB / 0.7676 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.5209, allocations: 41.7 kB / 0.7676 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.521, allocations: 112.9 kB / 0.7677 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5212, allocations: 102.5 kB / 0.7678 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.5212, allocations: 12 kB / 0.7678 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5214, allocations: 330.8 kB / 0.7681 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.5217, allocations: 101 kB / 0.7682 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.5221, allocations: 171.3 kB / 0.7684 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5225, allocations: 100.1 kB / 0.7685 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5225, allocations: 0 / 0.7685 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001044/0.5236, allocations: 352.9 kB / 0.7688 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5236, allocations: 8 kB / 0.7688 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5237, allocations: 4 kB / 0.7688 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.5237, allocations: 7.953 kB / 0.7689 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.5245, allocations: 83.81 kB / 0.7689 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.5245, allocations: 4 kB / 0.7689 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.5251, allocations: 55.66 kB / 0.769 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.5252, allocations: 23.98 kB / 0.769 GB, free: 7.188 MB / 0.6511 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.0002187/0.5254, allocations: 136 kB / 0.7691 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5256, allocations: 23.81 kB / 0.7692 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5268, allocations: 358 kB / 0.7695 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.5268, allocations: 11.95 kB / 0.7695 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5268, allocations: 4 kB / 0.7695 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.5269, allocations: 8.5 kB / 0.7695 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.5275, allocations: 345.2 kB / 0.7699 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5275, allocations: 4 kB / 0.7699 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.5282, allocations: 75.91 kB / 0.7699 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.5282, allocations: 7.938 kB / 0.7699 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.5283, allocations: 19.98 kB / 0.77 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.5283, allocations: 4 kB / 0.77 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.5283, allocations: 7.953 kB / 0.77 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.5295, allocations: 0.6058 MB / 0.7706 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.5298, allocations: 140.7 kB / 0.7707 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.5299, allocations: 15.98 kB / 0.7707 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.5304, allocations: 36.36 kB / 0.7707 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.5305, allocations: 55.83 kB / 0.7708 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.5306, allocations: 23.98 kB / 0.7708 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001598/0.5308, allocations: 131.2 kB / 0.7709 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5308, allocations: 3.938 kB / 0.771 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001039/0.5319, allocations: 219.7 kB / 0.7712 GB, free: 4.773 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.002621/0.5345, allocations: 2.116 MB / 0.7732 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000978/0.5355, allocations: 291.7 kB / 0.7735 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5355, allocations: 0 / 0.7735 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.536, allocations: 172.5 kB / 0.7737 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5363, allocations: 24.19 kB / 0.7737 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.5382, allocations: 0.5711 MB / 0.7743 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5386, allocations: 0.765 MB / 0.775 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004033/0.539, allocations: 60.42 kB / 0.7751 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.5393, allocations: 91.39 kB / 0.7751 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.5393, allocations: 0 / 0.7751 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5473/1.087, allocations: 7.04 MB / 0.782 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.087, allocations: 160.4 kB / 0.7822 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.583, allocations: 0 / 0.7822 GB, free: 138.6 MB / 0.6511 GB