Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.327/4.327, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.908e-05/4.917e-05, allocations: 11.98 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8626/1.099, allocations: 131.3 MB / 0.8002 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.1, allocations: 70.81 kB / 0.8002 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002571/1.102, allocations: 0.7483 MB / 0.801 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/1.102, allocations: 0 / 0.801 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.102, allocations: 4 kB / 0.801 GB, free: 12.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004267/1.103, allocations: 341.7 kB / 0.8013 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.103, allocations: 7.812 kB / 0.8013 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/1.103, allocations: 34.44 kB / 0.8013 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/1.103, allocations: 9.391 kB / 0.8013 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/1.103, allocations: 170.8 kB / 0.8015 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/1.103, allocations: 2.562 kB / 0.8015 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.103, allocations: 9.25 kB / 0.8015 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.103, allocations: 46.45 kB / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.103, allocations: 0 / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.103, allocations: 0 / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.103, allocations: 0 / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/1.103, allocations: 11 kB / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/1.104, allocations: 264.2 kB / 0.8018 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/1.104, allocations: 32.89 kB / 0.8019 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/1.104, allocations: 27.36 kB / 0.8019 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/1.104, allocations: 0 / 0.8019 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/1.104, allocations: 53.2 kB / 0.8019 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/1.104, allocations: 0 / 0.8019 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001791/1.104, allocations: 61.55 kB / 0.802 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.104, allocations: 55.41 kB / 0.802 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/1.104, allocations: 106.6 kB / 0.8021 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.104, allocations: 29.55 kB / 0.8022 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/1.104, allocations: 82.95 kB / 0.8022 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/1.104, allocations: 10.58 kB / 0.8023 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.104, allocations: 3.844 kB / 0.8023 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/1.105, allocations: 317.3 kB / 0.8026 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/1.105, allocations: 7.812 kB / 0.8026 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/1.105, allocations: 33.2 kB / 0.8026 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/1.105, allocations: 6.656 kB / 0.8026 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.105, allocations: 3.844 kB / 0.8026 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002689/1.105, allocations: 58.42 kB / 0.8027 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/1.105, allocations: 3.844 kB / 0.8027 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.105, allocations: 0 / 0.8027 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/1.105, allocations: 7.938 kB / 0.8027 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.105, allocations: 13.47 kB / 0.8027 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.105, allocations: 3.953 kB / 0.8027 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/1.106, allocations: 18.53 kB / 0.8027 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.106, allocations: 3.844 kB / 0.8027 GB, free: 11.19 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.436e-05/1.106, allocations: 101 kB / 0.8028 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/1.106, allocations: 4.75 kB / 0.8028 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.106, allocations: 14.55 kB / 0.8028 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.106, allocations: 0 / 0.8028 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.106, allocations: 0 / 0.8028 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.106, allocations: 3.953 kB / 0.8028 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/1.106, allocations: 303.5 kB / 0.8031 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.106, allocations: 96 / 0.8031 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/1.106, allocations: 11.06 kB / 0.8031 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.106, allocations: 11.83 kB / 0.8031 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.106, allocations: 4 kB / 0.8032 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.106, allocations: 3.953 kB / 0.8032 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.106, allocations: 3.047 kB / 0.8032 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/1.106, allocations: 155.5 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/1.106, allocations: 88.83 kB / 0.8034 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.107, allocations: 2.438 kB / 0.8034 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.107, allocations: 13.53 kB / 0.8034 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/1.107, allocations: 7.891 kB / 0.8034 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/1.107, allocations: 3.188 kB / 0.8034 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.938e-05/1.107, allocations: 86.34 kB / 0.8035 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/1.107, allocations: 0 / 0.8035 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003107/1.107, allocations: 3.844 kB / 0.8035 GB, free: 10.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003906/1.108, allocations: 0.6993 MB / 0.8042 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000128/1.108, allocations: 25.72 kB / 0.8042 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.108, allocations: 0 / 0.8042 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/1.108, allocations: 14.91 kB / 0.8042 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.108, allocations: 11.03 kB / 0.8042 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/1.108, allocations: 110.8 kB / 0.8043 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/1.109, allocations: 0.6872 MB / 0.805 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.094e-05/1.109, allocations: 256 / 0.805 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/1.109, allocations: 17.91 kB / 0.805 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of SimCode: time 7.02e-07/1.109, allocations: 3.938 kB / 0.805 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/1.132, allocations: 1.247 MB / 0.8063 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/1.132, allocations: 175.2 kB / 0.8064 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.45, allocations: 0 / 0.8064 GB, free: 24.49 MB / 0.6511 GB