Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 194.9 MB / 202.6 MB, free: 6.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2215/1.971, allocations: 46.81 MB / 249.4 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/2.06, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/2.361, allocations: 84.23 MB / 378.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/2.362, allocations: 66.5 kB / 378.2 MB, free: 5.086 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.08111/2.443, allocations: 17.3 MB / 395.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/2.443, allocations: 12.5 kB / 395.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.788e-05/2.443, allocations: 17.81 kB / 395.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/2.443, allocations: 230.9 kB / 395.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/2.443, allocations: 6.172 kB / 395.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/2.443, allocations: 14.03 kB / 395.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001898/2.444, allocations: 48.41 kB / 395.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/2.444, allocations: 117.9 kB / 395.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/2.444, allocations: 1.281 kB / 395.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/2.444, allocations: 0 / 395.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/2.444, allocations: 1.469 kB / 395.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/2.445, allocations: 358.3 kB / 396.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/2.445, allocations: 98.98 kB / 396.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/2.446, allocations: 48.38 kB / 396.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/2.446, allocations: 1.375 kB / 396.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/2.446, allocations: 34.75 kB / 396.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.946e-06/2.446, allocations: 0 / 396.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003336/2.449, allocations: 1.113 MB / 397.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/2.449, allocations: 129.9 kB / 397.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/2.449, allocations: 148.4 kB / 397.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/2.449, allocations: 31.14 kB / 397.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/2.45, allocations: 104.3 kB / 398 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/2.45, allocations: 47.83 kB / 398 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/2.45, allocations: 1.594 kB / 398 MB, free: 11.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/2.45, allocations: 333.2 kB / 398.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/2.45, allocations: 87.28 kB / 398.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/2.45, allocations: 121.5 kB / 398.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/2.451, allocations: 113.4 kB / 398.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/2.451, allocations: 3.938 kB / 398.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009965/2.452, allocations: 291.1 kB / 399 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.452, allocations: 5.875 kB / 399 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/2.452, allocations: 1.25 kB / 399 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/2.452, allocations: 44.03 kB / 399 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/2.453, allocations: 28.73 kB / 399 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/2.453, allocations: 5.375 kB / 399 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/2.453, allocations: 4.125 kB / 399 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/2.453, allocations: 7.438 kB / 399.1 MB, free: 10.77 MB / 314.7 MB 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/2.453, allocations: 115.4 kB / 399.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/2.453, allocations: 14.69 kB / 399.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/2.453, allocations: 22.41 kB / 399.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/2.453, allocations: 6.25 kB / 399.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/2.453, allocations: 7.906 kB / 399.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/2.453, allocations: 1.375 kB / 399.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/2.454, allocations: 487.9 kB / 399.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.454, allocations: 0 / 399.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/2.455, allocations: 38.03 kB / 399.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/2.455, allocations: 0 / 399.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/2.455, allocations: 2.594 kB / 399.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/2.455, allocations: 1.344 kB / 399.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.455, allocations: 4 kB / 399.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000803/2.456, allocations: 383.8 kB / 400.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001123/2.457, allocations: 0.8398 MB / 401 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/2.457, allocations: 89.33 kB / 401 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/2.457, allocations: 2.875 kB / 401 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/2.457, allocations: 11.44 kB / 401.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/2.457, allocations: 7.328 kB / 401.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/2.457, allocations: 3.344 kB / 401.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000182/2.458, allocations: 118.7 kB / 401.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003585/2.461, allocations: 0.5288 MB / 401.7 MB, free: 9.328 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.002931/2.464, allocations: 0.5857 MB / 402.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009129/2.465, allocations: 344.8 kB / 402.6 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/2.465, allocations: 0 / 402.6 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/2.465, allocations: 73.78 kB / 402.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/2.466, allocations: 32.3 kB / 402.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/2.467, allocations: 307.7 kB / 403 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/2.468, allocations: 0.7712 MB / 403.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/2.468, allocations: 0 / 403.8 MB, free: 8.07 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat