Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [: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 2.026/2.026, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2631/2.29, allocations: 46.82 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/2.4, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/2.712, allocations: 71.92 MB / 365.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/2.712, allocations: 61.81 kB / 365.8 MB, free: 7.195 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.02191/2.734, allocations: 3.989 MB / 369.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/2.734, allocations: 7.625 kB / 369.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/2.734, allocations: 19.5 kB / 369.8 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/2.735, allocations: 190 kB / 370 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/2.735, allocations: 3.906 kB / 370 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/2.735, allocations: 7.875 kB / 370 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004869/2.735, allocations: 177.6 kB / 370.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/2.736, allocations: 145.5 kB / 370.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/2.736, allocations: 0 / 370.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/2.736, allocations: 0 / 370.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/2.736, allocations: 4.531 kB / 370.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/2.737, allocations: 0.5066 MB / 370.9 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/2.737, allocations: 149.1 kB / 371 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/2.738, allocations: 84.34 kB / 371.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/2.738, allocations: 8.766 kB / 371.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/2.738, allocations: 41.81 kB / 371.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/2.738, allocations: 0 / 371.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005354/2.738, allocations: 183 kB / 371.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/2.738, allocations: 58.06 kB / 371.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/2.738, allocations: 136 kB / 371.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/2.738, allocations: 25.7 kB / 371.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/2.739, allocations: 107.4 kB / 371.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/2.739, allocations: 52.61 kB / 371.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/2.739, allocations: 0 / 371.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/2.739, allocations: 327.9 kB / 372 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/2.739, allocations: 57.77 kB / 372.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/2.739, allocations: 87.8 kB / 372.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/2.739, allocations: 65.81 kB / 372.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.739, allocations: 3.844 kB / 372.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004741/2.74, allocations: 195.6 kB / 372.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/2.74, allocations: 7.75 kB / 372.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/2.74, allocations: 1.547 kB / 372.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/2.74, allocations: 0 / 372.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/2.74, allocations: 42.86 kB / 372.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/2.74, allocations: 0 / 372.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/2.741, allocations: 18.59 kB / 372.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/2.741, allocations: 9.766 kB / 372.5 MB, free: 21.23 MB / 314.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.0001374/2.741, allocations: 114.7 kB / 372.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/2.741, allocations: 11.69 kB / 372.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/2.742, allocations: 229.3 kB / 372.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/2.742, allocations: 0 / 372.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/2.742, allocations: 3.875 kB / 372.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/2.742, allocations: 5.078 kB / 372.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/2.742, allocations: 244.5 kB / 373.1 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/2.742, allocations: 0 / 373.1 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/2.743, allocations: 47.95 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/2.743, allocations: 0 / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/2.743, allocations: 5.453 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/2.743, allocations: 5.453 kB / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.743, allocations: 0 / 373.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005574/2.744, allocations: 298.9 kB / 373.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006629/2.744, allocations: 0.6706 MB / 374.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/2.744, allocations: 102.1 kB / 374.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/2.744, allocations: 0 / 374.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/2.745, allocations: 15.22 kB / 374.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/2.745, allocations: 11.92 kB / 374.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/2.745, allocations: 5.234 kB / 374.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002063/2.745, allocations: 117.4 kB / 374.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002624/2.748, allocations: 40.16 kB / 374.4 MB, free: 20.04 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.0004085/2.749, allocations: 109.1 kB / 374.5 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000857/2.749, allocations: 155.9 kB / 374.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.749, allocations: 0 / 374.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/2.75, allocations: 86.67 kB / 374.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/2.75, allocations: 20.64 kB / 374.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/2.752, allocations: 236 kB / 375 MB, free: 19.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/2.753, allocations: 0.7543 MB / 375.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/2.753, allocations: 0 / 375.7 MB, free: 19.12 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat