Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_cs_Modelica_ComplexBlocks_Examples_ShowTransferFunction",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.67/1.67, allocations: 194.9 MB / 202.6 MB, free: 6.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2391/1.909, allocations: 46.81 MB / 249.4 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/1.997, allocations: 44.52 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/2.28, allocations: 71.92 MB / 365.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/2.28, allocations: 62.88 kB / 365.9 MB, free: 7.129 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01927/2.299, allocations: 3.994 MB / 369.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/2.299, allocations: 11.56 kB / 369.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/2.299, allocations: 15.62 kB / 369.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/2.299, allocations: 184.1 kB / 370.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/2.299, allocations: 3.875 kB / 370.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/2.3, allocations: 3.875 kB / 370.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004923/2.3, allocations: 164.1 kB / 370.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/2.3, allocations: 153.6 kB / 370.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/2.3, allocations: 0 / 370.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/2.3, allocations: 0 / 370.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/2.3, allocations: 8.703 kB / 370.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/2.302, allocations: 0.5087 MB / 370.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/2.302, allocations: 153.2 kB / 371.1 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/2.302, allocations: 84.3 kB / 371.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/2.302, allocations: 0.9844 kB / 371.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/2.302, allocations: 37.84 kB / 371.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/2.302, allocations: 0 / 371.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.000546/2.303, allocations: 187.5 kB / 371.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/2.303, allocations: 54.16 kB / 371.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/2.303, allocations: 140 kB / 371.6 MB, free: 5.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/2.303, allocations: 25.7 kB / 371.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/2.303, allocations: 107.2 kB / 371.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/2.303, allocations: 54.45 kB / 371.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/2.303, allocations: 0 / 371.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/2.303, allocations: 325 kB / 372.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/2.304, allocations: 58.42 kB / 372.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/2.304, allocations: 88.02 kB / 372.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/2.304, allocations: 73.19 kB / 372.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.304, allocations: 0 / 372.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004996/2.305, allocations: 191.8 kB / 372.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/2.305, allocations: 3.844 kB / 372.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/2.305, allocations: 5.312 kB / 372.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/2.305, allocations: 3.938 kB / 372.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/2.305, allocations: 44.17 kB / 372.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/2.305, allocations: 0 / 372.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/2.305, allocations: 14.42 kB / 372.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/2.305, allocations: 14.34 kB / 372.6 MB, free: 5.164 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001285/2.306, allocations: 116.6 kB / 372.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/2.306, allocations: 11.69 kB / 372.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/2.306, allocations: 233.7 kB / 372.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/2.306, allocations: 3.875 kB / 372.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.306, allocations: 0 / 372.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.306, allocations: 5.359 kB / 372.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/2.307, allocations: 243.9 kB / 373.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/2.307, allocations: 5.453 kB / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/2.307, allocations: 46.34 kB / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/2.307, allocations: 0 / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/2.307, allocations: 2.953 kB / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/2.307, allocations: 3.906 kB / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.307, allocations: 0 / 373.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005417/2.308, allocations: 306.3 kB / 373.5 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006946/2.309, allocations: 0.6614 MB / 374.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/2.309, allocations: 92.73 kB / 374.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/2.309, allocations: 5.156 kB / 374.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/2.309, allocations: 20.94 kB / 374.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/2.309, allocations: 9.266 kB / 374.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/2.309, allocations: 14.59 kB / 374.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000133/2.309, allocations: 110.5 kB / 374.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001312/2.311, allocations: 43.64 kB / 374.5 MB, free: 19.96 MB / 314.7 MB 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001857/2.311, allocations: 107.8 kB / 374.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/2.311, allocations: 157.9 kB / 374.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/2.311, allocations: 0 / 374.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/2.312, allocations: 93 kB / 374.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/2.312, allocations: 14.34 kB / 374.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/2.313, allocations: 230.9 kB / 375 MB, free: 19.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/2.313, allocations: 0.7615 MB / 375.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/2.313, allocations: 0 / 375.8 MB, free: 19.06 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat