Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_FilterTests_Basic",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(ModelicaTest): time 2.457/2.457, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/2.635, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/2.929, allocations: 54.84 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/3.354, allocations: 94.19 MB / 448.3 MB, free: 29.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/3.354, allocations: 73 kB / 448.3 MB, free: 29.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.2623/3.616, allocations: 49.3 MB / 497.6 MB, free: 21.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/3.616, allocations: 11.72 kB / 497.6 MB, free: 21.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/3.617, allocations: 117.5 kB / 497.8 MB, free: 21.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/3.621, allocations: 0.782 MB / 498.5 MB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/3.621, allocations: 7.812 kB / 498.5 MB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004618/3.621, allocations: 54.39 kB / 498.6 MB, free: 20.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001426/3.623, allocations: 360.3 kB / 498.9 MB, free: 20.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/3.625, allocations: 0.6968 MB / 499.6 MB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/3.626, allocations: 0 / 499.6 MB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/3.626, allocations: 0 / 499.6 MB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/3.626, allocations: 7.812 kB / 499.6 MB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/3.634, allocations: 1.301 MB / 0.4892 GB, free: 19.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/3.637, allocations: 0.8145 MB / 0.49 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/3.638, allocations: 277.5 kB / 0.4903 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/3.638, allocations: 8.156 kB / 0.4903 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/3.638, allocations: 42.06 kB / 0.4903 GB, free: 19.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 4.709e-06/3.638, allocations: 0 / 0.4903 GB, free: 19.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002045/3.64, allocations: 0.685 MB / 0.491 GB, free: 19.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002107/3.64, allocations: 0.6723 MB / 0.4916 GB, free: 18.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/3.642, allocations: 0.6967 MB / 0.4923 GB, free: 18.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/3.642, allocations: 29.55 kB / 0.4924 GB, free: 18.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/3.642, allocations: 235.2 kB / 0.4926 GB, free: 18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/3.643, allocations: 208.5 kB / 0.4928 GB, free: 17.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/3.643, allocations: 0 / 0.4928 GB, free: 17.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/3.643, allocations: 416.7 kB / 0.4932 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/3.644, allocations: 0.5622 MB / 0.4937 GB, free: 17.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/3.646, allocations: 0.7955 MB / 0.4945 GB, free: 17.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/3.648, allocations: 0.679 MB / 0.4952 GB, free: 17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/3.648, allocations: 0 / 0.4952 GB, free: 17 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006801/3.655, allocations: 1.923 MB / 0.497 GB, free: 16.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/3.655, allocations: 5 kB / 0.497 GB, free: 16.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003053/3.655, allocations: 22.41 kB / 0.4971 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/3.659, allocations: 496.6 kB / 0.4975 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/3.66, allocations: 140.7 kB / 0.4977 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/3.66, allocations: 3.406 kB / 0.4977 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/3.662, allocations: 116.8 kB / 0.4978 GB, free: 16.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/3.662, allocations: 36.73 kB / 0.4978 GB, free: 16.16 MB / 378.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002953/3.662, allocations: 131.1 kB / 0.4979 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/3.663, allocations: 89.06 kB / 0.498 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/3.663, allocations: 95.16 kB / 0.4981 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/3.663, allocations: 5.594 kB / 0.4981 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/3.663, allocations: 0 / 0.4981 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/3.663, allocations: 3.984 kB / 0.4981 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/3.664, allocations: 0.573 MB / 0.4987 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/3.664, allocations: 9.188 kB / 0.4987 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/3.667, allocations: 101.3 kB / 0.4988 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/3.667, allocations: 1.344 kB / 0.4988 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/3.667, allocations: 27.17 kB / 0.4988 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/3.667, allocations: 1.531 kB / 0.4988 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.667, allocations: 0 / 0.4988 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002837/3.67, allocations: 1.136 MB / 0.4999 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006492/3.676, allocations: 1.924 MB / 0.5018 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003972/3.677, allocations: 156.6 kB / 0.502 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/3.677, allocations: 26 kB / 0.502 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/3.679, allocations: 22.5 kB / 0.502 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/3.679, allocations: 27.11 kB / 0.502 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/3.679, allocations: 24.83 kB / 0.5021 GB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001823/3.681, allocations: 495.9 kB / 0.5025 GB, free: 14.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006233/3.687, allocations: 0.7694 MB / 0.5033 GB, free: 14.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.004515/3.692, allocations: 0.7339 MB / 0.504 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006274/3.698, allocations: 2.616 MB / 0.5066 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/3.698, allocations: 1.594 kB / 0.5066 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/3.699, allocations: 332.3 kB / 0.5069 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/3.701, allocations: 162.6 kB / 0.507 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/3.708, allocations: 1.901 MB / 0.5089 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/3.71, allocations: 1.232 MB / 0.5101 GB, free: 10.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/3.71, allocations: 0 / 0.5101 GB, free: 10.02 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat