Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_ConversionBlocks",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(ModelicaTest): time 2.271/2.271, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2007/2.472, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/2.737, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/2.907, allocations: 83.41 MB / 437.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/2.907, allocations: 63.92 kB / 437.4 MB, free: 9.836 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.03643/2.943, allocations: 6.166 MB / 443.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/2.944, allocations: 12 kB / 443.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/2.946, allocations: 63.66 kB / 443.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/2.946, allocations: 190.7 kB / 443.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/2.946, allocations: 12 kB / 443.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/2.946, allocations: 19.94 kB / 443.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005586/2.947, allocations: 113.3 kB / 444 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/2.948, allocations: 152.9 kB / 444.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/2.948, allocations: 3.938 kB / 444.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/2.948, allocations: 0 / 444.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/2.948, allocations: 8 kB / 444.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/2.95, allocations: 0.5338 MB / 444.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/2.951, allocations: 203.2 kB / 444.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/2.951, allocations: 49.33 kB / 444.9 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/2.951, allocations: 8.219 kB / 445 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/2.951, allocations: 38.73 kB / 445 MB, free: 2.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.369e-06/2.951, allocations: 0 / 445 MB, free: 2.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006011/2.952, allocations: 148 kB / 445.1 MB, free: 1.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/2.952, allocations: 59.41 kB / 445.2 MB, free: 1.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/2.952, allocations: 93 kB / 445.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/2.952, allocations: 25.7 kB / 445.3 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/2.952, allocations: 132.3 kB / 445.4 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/2.952, allocations: 86.66 kB / 445.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/2.952, allocations: 0 / 445.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/2.952, allocations: 326.7 kB / 445.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/2.953, allocations: 36 kB / 445.9 MB, free: 1.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/2.953, allocations: 32 kB / 445.9 MB, free: 1.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/2.953, allocations: 35.98 kB / 445.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/2.953, allocations: 0 / 445.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005165/2.954, allocations: 137.5 kB / 446.1 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/2.954, allocations: 8 kB / 446.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.954, allocations: 0 / 446.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/2.954, allocations: 0 / 446.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/2.955, allocations: 99.95 kB / 446.2 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/2.955, allocations: 7.938 kB / 446.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/2.955, allocations: 19.73 kB / 446.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/2.955, allocations: 4 kB / 446.2 MB, free: 0.7344 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 (27): * Single equations (assignments): 27 * 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 0.0001564/2.955, allocations: 107.1 kB / 446.3 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/2.955, allocations: 11.91 kB / 446.3 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/2.956, allocations: 25.31 kB / 446.4 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/2.956, allocations: 4 kB / 446.4 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/2.956, allocations: 3.906 kB / 446.4 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.956, allocations: 3.984 kB / 446.4 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/2.956, allocations: 214 kB / 446.6 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.956, allocations: 0 / 446.6 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/2.957, allocations: 99.89 kB / 446.7 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/2.957, allocations: 0 / 446.7 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/2.957, allocations: 4 kB / 446.7 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/2.957, allocations: 0 / 446.7 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.957, allocations: 0 / 446.7 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1986/3.156, allocations: 261.2 kB / 446.9 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001083/3.157, allocations: 0.7287 MB / 447.7 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/3.157, allocations: 88.2 kB / 447.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/3.157, allocations: 6.797 kB / 447.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/3.158, allocations: 3.906 kB / 447.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/3.158, allocations: 10.75 kB / 447.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/3.158, allocations: 3.906 kB / 447.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.479e-05/3.158, allocations: 88.19 kB / 447.9 MB, free: 129.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002287/3.16, allocations: 48.23 kB / 447.9 MB, free: 129.4 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0002114/3.16, allocations: 98.33 kB / 448 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/3.161, allocations: 108.6 kB / 448.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.161, allocations: 0 / 448.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/3.161, allocations: 67.75 kB / 448.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/3.161, allocations: 4.531 kB / 448.2 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/3.163, allocations: 254.6 kB / 448.4 MB, free: 129.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/3.163, allocations: 0.768 MB / 449.2 MB, free: 128.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/3.163, allocations: 0 / 449.2 MB, free: 128.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat