Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.409/4.409, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.502e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.273, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8458/1.119, allocations: 131.9 MB / 0.8067 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.119, allocations: 75.95 kB / 0.8067 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006527/1.126, allocations: 1.525 MB / 0.8082 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.316e-06/1.126, allocations: 0 / 0.8082 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.126, allocations: 3.938 kB / 0.8082 GB, free: 11.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000389/1.126, allocations: 349.9 kB / 0.8086 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.126, allocations: 7.594 kB / 0.8086 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/1.126, allocations: 40.77 kB / 0.8086 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/1.126, allocations: 0 / 0.8086 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/1.126, allocations: 166.8 kB / 0.8088 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.126, allocations: 3.781 kB / 0.8088 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/1.126, allocations: 0 / 0.8088 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/1.127, allocations: 40.17 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.127, allocations: 1.938 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/1.127, allocations: 4 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.127, allocations: 3.688 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/1.127, allocations: 8.031 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/1.127, allocations: 264 kB / 0.8091 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/1.127, allocations: 29.95 kB / 0.8091 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/1.127, allocations: 12.58 kB / 0.8091 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/1.128, allocations: 448.5 kB / 0.8095 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.128, allocations: 38.39 kB / 0.8096 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.178e-06/1.128, allocations: 4 kB / 0.8096 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001676/1.128, allocations: 37.08 kB / 0.8096 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/1.128, allocations: 51.41 kB / 0.8097 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/1.128, allocations: 91.52 kB / 0.8097 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.128, allocations: 29.52 kB / 0.8098 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/1.128, allocations: 87.86 kB / 0.8099 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/1.128, allocations: 3.906 kB / 0.8099 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/1.128, allocations: 0 / 0.8099 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/1.128, allocations: 325.1 kB / 0.8102 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/1.129, allocations: 3.906 kB / 0.8102 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/1.129, allocations: 3.75 kB / 0.8102 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/1.129, allocations: 7 kB / 0.8102 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.129, allocations: 0 / 0.8102 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.572e-05/1.129, allocations: 43.3 kB / 0.8102 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.129, allocations: 11.66 kB / 0.8102 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.129, allocations: 0 / 0.8102 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.129, allocations: 3.938 kB / 0.8102 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/1.129, allocations: 14.62 kB / 0.8103 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.129, allocations: 0 / 0.8103 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/1.129, allocations: 10.48 kB / 0.8103 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/1.129, allocations: 0 / 0.8103 GB, free: 9.539 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.121e-05/1.129, allocations: 107.8 kB / 0.8104 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/1.129, allocations: 3.844 kB / 0.8104 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/1.129, allocations: 53.12 kB / 0.8104 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.129, allocations: 0.875 kB / 0.8104 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.129, allocations: 0 / 0.8104 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.129, allocations: 3.875 kB / 0.8104 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/1.129, allocations: 161.9 kB / 0.8106 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.129, allocations: 0 / 0.8106 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.13, allocations: 10.34 kB / 0.8106 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.13, allocations: 4 kB / 0.8106 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.13, allocations: 0 / 0.8106 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.13, allocations: 0 / 0.8106 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.13, allocations: 4.031 kB / 0.8106 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/1.13, allocations: 144.6 kB / 0.8107 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/1.13, allocations: 80.92 kB / 0.8108 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/1.13, allocations: 2.578 kB / 0.8108 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.13, allocations: 3.906 kB / 0.8108 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.13, allocations: 6.797 kB / 0.8108 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/1.13, allocations: 4.031 kB / 0.8108 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.002e-05/1.13, allocations: 79.16 kB / 0.8109 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.13, allocations: 3.938 kB / 0.8109 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003451/1.131, allocations: 29.05 kB / 0.8109 GB, free: 24.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006151/1.131, allocations: 0.6991 MB / 0.8116 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000116/1.132, allocations: 11.34 kB / 0.8116 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.132, allocations: 0 / 0.8116 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/1.132, allocations: 11.78 kB / 0.8116 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/1.132, allocations: 6.656 kB / 0.8117 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/1.132, allocations: 111.5 kB / 0.8118 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/1.133, allocations: 0.6755 MB / 0.8124 GB, free: 23.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.438e-05/1.133, allocations: 3.844 kB / 0.8124 GB, free: 23.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/1.133, allocations: 11.38 kB / 0.8124 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.133, allocations: 0 / 0.8124 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.154, allocations: 1.21 MB / 0.8136 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.154, allocations: 149.6 kB / 0.8138 GB, free: 22.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.338, allocations: 0 / 0.8138 GB, free: 22.94 MB / 0.6511 GB