Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Leakage",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.286/2.286, allocations: 234.9 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/2.476, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/2.746, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/2.9, allocations: 82.03 MB / 436 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/2.9, allocations: 71.78 kB / 436.1 MB, free: 11.21 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02016/2.92, allocations: 4.361 MB / 440.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/2.92, allocations: 8 kB / 440.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/2.92, allocations: 31.62 kB / 440.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/2.921, allocations: 202.6 kB / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/2.921, allocations: 20.66 kB / 440.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/2.921, allocations: 19.91 kB / 440.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006733/2.922, allocations: 189.2 kB / 440.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/2.922, allocations: 220.8 kB / 441.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/2.922, allocations: 0 / 441.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/2.922, allocations: 0 / 441.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/2.922, allocations: 8 kB / 441.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/2.925, allocations: 0.9694 MB / 442.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/2.925, allocations: 30.58 kB / 442.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/2.926, allocations: 24.83 kB / 442.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/2.926, allocations: 0 / 442.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/2.926, allocations: 34.56 kB / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/2.926, allocations: 0 / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/2.926, allocations: 61.5 kB / 442.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/2.926, allocations: 51.41 kB / 442.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/2.926, allocations: 229.9 kB / 442.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/2.926, allocations: 25.7 kB / 442.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/2.927, allocations: 234.6 kB / 442.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/2.927, allocations: 15.89 kB / 442.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/2.927, allocations: 0 / 442.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/2.927, allocations: 318.8 kB / 443.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/2.927, allocations: 60.03 kB / 443.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/2.927, allocations: 77.7 kB / 443.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/2.927, allocations: 63.97 kB / 443.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/2.927, allocations: 0 / 443.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005623/2.928, allocations: 193.4 kB / 443.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/2.928, allocations: 8 kB / 443.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/2.928, allocations: 0 / 443.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/2.928, allocations: 0 / 443.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/2.929, allocations: 63.98 kB / 443.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/2.929, allocations: 7.844 kB / 443.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/2.929, allocations: 27.69 kB / 443.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/2.929, allocations: 8 kB / 443.6 MB, free: 3.465 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.469e-05/2.929, allocations: 108.9 kB / 443.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/2.929, allocations: 15.81 kB / 443.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/2.93, allocations: 20.66 kB / 443.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/2.93, allocations: 0 / 443.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.93, allocations: 3.906 kB / 443.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/2.93, allocations: 0 / 443.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/2.931, allocations: 475.8 kB / 444.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/2.931, allocations: 4 kB / 444.2 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/2.931, allocations: 3.938 kB / 444.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/2.931, allocations: 4.062 kB / 444.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/2.931, allocations: 4 kB / 444.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/2.931, allocations: 0 / 444.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.931, allocations: 0 / 444.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001838/2.931, allocations: 103.5 kB / 444.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003514/2.931, allocations: 487.9 kB / 444.8 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/2.931, allocations: 96.91 kB / 444.9 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/2.931, allocations: 3.984 kB / 444.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/2.932, allocations: 0 / 444.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/2.932, allocations: 8.031 kB / 444.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/2.932, allocations: 4 kB / 444.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002568/2.932, allocations: 168.6 kB / 445.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001284/2.933, allocations: 67.69 kB / 445.1 MB, free: 1.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001527/2.933, allocations: 99.16 kB / 445.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/2.934, allocations: 104.7 kB / 445.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/2.934, allocations: 0 / 445.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/2.934, allocations: 12.12 kB / 445.4 MB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/2.934, allocations: 24.66 kB / 445.4 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/2.935, allocations: 229.1 kB / 445.6 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/2.936, allocations: 0.7822 MB / 446.4 MB, free: 492 kB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/2.936, allocations: 0 / 446.4 MB, free: 492 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat