Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.7/4.7, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.168e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/1.089, allocations: 131.6 MB / 0.8004 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.09, allocations: 74.64 kB / 0.8005 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006656/1.097, allocations: 1.562 MB / 0.802 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/1.097, allocations: 1.172 kB / 0.802 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.097, allocations: 3.812 kB / 0.802 GB, free: 12.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003918/1.097, allocations: 351.1 kB / 0.8023 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.097, allocations: 11.53 kB / 0.8023 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/1.097, allocations: 38.12 kB / 0.8024 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/1.097, allocations: 9.359 kB / 0.8024 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/1.097, allocations: 164.6 kB / 0.8025 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.097, allocations: 3.844 kB / 0.8025 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/1.097, allocations: 3.984 kB / 0.8025 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/1.097, allocations: 38.89 kB / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.097, allocations: 0 / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/1.097, allocations: 3.844 kB / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.097, allocations: 0 / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/1.098, allocations: 7.219 kB / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/1.098, allocations: 273.5 kB / 0.8029 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/1.098, allocations: 25.92 kB / 0.8029 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/1.098, allocations: 8.672 kB / 0.8029 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/1.099, allocations: 445 kB / 0.8033 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.099, allocations: 40.88 kB / 0.8034 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/1.099, allocations: 0 / 0.8034 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001657/1.099, allocations: 41.52 kB / 0.8034 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/1.099, allocations: 56.77 kB / 0.8034 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/1.099, allocations: 99.72 kB / 0.8035 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/1.099, allocations: 25.7 kB / 0.8036 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/1.099, allocations: 85.58 kB / 0.8036 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/1.099, allocations: 11.44 kB / 0.8037 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/1.099, allocations: 0 / 0.8037 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/1.099, allocations: 312.4 kB / 0.804 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/1.099, allocations: 7.344 kB / 0.804 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/1.099, allocations: 3.844 kB / 0.804 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/1.1, allocations: 8.891 kB / 0.804 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.1, allocations: 0 / 0.804 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.56e-05/1.1, allocations: 39.06 kB / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.1, allocations: 10.91 kB / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.1, allocations: 4 kB / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.1, allocations: 0 / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.1, allocations: 13.98 kB / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.1, allocations: 0 / 0.804 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/1.1, allocations: 14.66 kB / 0.8041 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.1, allocations: 0 / 0.8041 GB, free: 10.42 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.113e-05/1.1, allocations: 108.9 kB / 0.8042 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/1.1, allocations: 3.969 kB / 0.8042 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.1, allocations: 49.88 kB / 0.8042 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.1, allocations: 0 / 0.8042 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.1, allocations: 0 / 0.8042 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.1, allocations: 0 / 0.8042 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/1.1, allocations: 165.2 kB / 0.8044 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.1, allocations: 0 / 0.8044 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.101, allocations: 10.95 kB / 0.8044 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.101, allocations: 4.031 kB / 0.8044 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.101, allocations: 0 / 0.8044 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.101, allocations: 0 / 0.8044 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.101, allocations: 1.453 kB / 0.8044 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/1.101, allocations: 145.8 kB / 0.8045 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/1.101, allocations: 78.33 kB / 0.8046 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.101, allocations: 7.812 kB / 0.8046 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.101, allocations: 10.73 kB / 0.8046 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/1.101, allocations: 5.562 kB / 0.8046 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/1.101, allocations: 192 / 0.8046 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.981e-05/1.101, allocations: 86.64 kB / 0.8047 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.101, allocations: 0 / 0.8047 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003799/1.101, allocations: 24.75 kB / 0.8047 GB, free: 9.746 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: 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.0008971/1.102, allocations: 0.7125 MB / 0.8054 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001032/1.102, allocations: 13.44 kB / 0.8054 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.102, allocations: 11.78 kB / 0.8054 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/1.103, allocations: 5.312 kB / 0.8054 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.103, allocations: 6.562 kB / 0.8055 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/1.103, allocations: 100.1 kB / 0.8056 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.103, allocations: 0.6807 MB / 0.8062 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.208e-05/1.103, allocations: 0 / 0.8062 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/1.104, allocations: 7.438 kB / 0.8062 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.104, allocations: 0 / 0.8062 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/1.122, allocations: 1.216 MB / 0.8074 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.123, allocations: 150.5 kB / 0.8076 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.314, allocations: 4 kB / 0.8076 GB, free: 23.81 MB / 0.6511 GB