Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.335/4.335, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.634e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.122, allocations: 133.6 MB / 0.8083 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.123, allocations: 70.56 kB / 0.8083 GB, free: 12.44 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.04928/1.172, allocations: 10.32 MB / 0.8184 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/1.172, allocations: 0 / 0.8184 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.172, allocations: 7.875 kB / 0.8184 GB, free: 11.56 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.001686/1.174, allocations: 0.611 MB / 0.819 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.174, allocations: 11.53 kB / 0.819 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/1.174, allocations: 47.06 kB / 0.8191 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/1.174, allocations: 27.28 kB / 0.8191 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.174, allocations: 187.1 kB / 0.8193 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/1.174, allocations: 129 kB / 0.8194 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/1.174, allocations: 20.88 kB / 0.8194 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/1.175, allocations: 241 kB / 0.8197 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.175, allocations: 0 / 0.8197 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/1.175, allocations: 12.36 kB / 0.8197 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.175, allocations: 3.844 kB / 0.8197 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/1.175, allocations: 110.5 kB / 0.8198 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/1.176, allocations: 0.9476 MB / 0.8207 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/1.179, allocations: 480.6 kB / 0.8212 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/1.179, allocations: 158.5 kB / 0.8213 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/1.179, allocations: 7.469 kB / 0.8213 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/1.18, allocations: 303.6 kB / 0.8216 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 4.078e-06/1.18, allocations: 0 / 0.8216 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0009523/1.181, allocations: 308.1 kB / 0.8219 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.181, allocations: 355.1 kB / 0.8222 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.181, allocations: 158.8 kB / 0.8224 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/1.181, allocations: 39.98 kB / 0.8224 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/1.181, allocations: 110.3 kB / 0.8225 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.181, allocations: 117.2 kB / 0.8226 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/1.181, allocations: 6.688 kB / 0.8227 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/1.181, allocations: 336.8 kB / 0.823 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.182, allocations: 91.62 kB / 0.8231 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/1.182, allocations: 162.6 kB / 0.8232 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/1.182, allocations: 112.8 kB / 0.8233 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.182, allocations: 0 / 0.8233 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009114/1.183, allocations: 349 kB / 0.8237 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.183, allocations: 10.62 kB / 0.8237 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.183, allocations: 0 / 0.8237 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.183, allocations: 3.875 kB / 0.8237 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/1.184, allocations: 80.88 kB / 0.8238 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.184, allocations: 3.844 kB / 0.8238 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/1.185, allocations: 66.7 kB / 0.8238 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/1.185, allocations: 20.8 kB / 0.8238 GB, free: 7.898 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.0001579/1.185, allocations: 140.3 kB / 0.824 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/1.185, allocations: 27.06 kB / 0.824 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.186, allocations: 351.2 kB / 0.8243 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.186, allocations: 7.688 kB / 0.8243 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.186, allocations: 3.719 kB / 0.8243 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.186, allocations: 11.8 kB / 0.8244 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/1.187, allocations: 357 kB / 0.8247 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.187, allocations: 3.906 kB / 0.8247 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/1.187, allocations: 69.53 kB / 0.8248 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.187, allocations: 7.812 kB / 0.8248 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/1.187, allocations: 18.55 kB / 0.8248 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.187, allocations: 12.12 kB / 0.8248 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.187, allocations: 0 / 0.8248 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.188, allocations: 0.6036 MB / 0.8254 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/1.188, allocations: 152.7 kB / 0.8255 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/1.189, allocations: 13.94 kB / 0.8255 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/1.189, allocations: 41.62 kB / 0.8256 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.189, allocations: 52.2 kB / 0.8256 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.189, allocations: 25.95 kB / 0.8257 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003936/1.19, allocations: 127.4 kB / 0.8258 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.19, allocations: 4.375 kB / 0.8258 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009649/1.191, allocations: 218.4 kB / 0.826 GB, free: 22.67 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.002389/1.193, allocations: 2.103 MB / 0.8281 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008845/1.194, allocations: 297 kB / 0.8283 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.194, allocations: 4 kB / 0.8283 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/1.194, allocations: 172.6 kB / 0.8285 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/1.195, allocations: 22.52 kB / 0.8285 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/1.196, allocations: 0.5728 MB / 0.8291 GB, free: 20.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/1.197, allocations: 0.7669 MB / 0.8298 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003955/1.197, allocations: 54.11 kB / 0.8299 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.198, allocations: 95.91 kB / 0.83 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.198, allocations: 0.75 kB / 0.83 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/1.234, allocations: 7.062 MB / 0.8369 GB, free: 16.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.235, allocations: 180.9 kB / 0.837 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.79, allocations: 0 / 0.837 GB, free: 15.97 MB / 0.6511 GB