Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_Leakage",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 3.005/3.005, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1611/3.166, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/3.481, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/3.673, allocations: 82.03 MB / 436.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/3.674, allocations: 75.89 kB / 436.2 MB, free: 11.16 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.02248/3.696, allocations: 4.357 MB / 440.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/3.696, allocations: 8 kB / 440.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/3.696, allocations: 31.62 kB / 440.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/3.697, allocations: 198.7 kB / 440.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/3.697, allocations: 20.66 kB / 440.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/3.697, allocations: 23.91 kB / 440.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007767/3.698, allocations: 185.2 kB / 441 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/3.698, allocations: 220.8 kB / 441.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/3.698, allocations: 4 kB / 441.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/3.699, allocations: 4 kB / 441.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/3.699, allocations: 7.938 kB / 441.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/3.702, allocations: 0.9617 MB / 442.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/3.702, allocations: 34.52 kB / 442.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/3.702, allocations: 24.83 kB / 442.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/3.702, allocations: 0 / 442.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/3.702, allocations: 38.56 kB / 442.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.354e-06/3.702, allocations: 4 kB / 442.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002754/3.702, allocations: 61.48 kB / 442.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/3.703, allocations: 51.41 kB / 442.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/3.703, allocations: 222 kB / 442.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/3.703, allocations: 29.64 kB / 442.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/3.703, allocations: 234.6 kB / 442.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/3.703, allocations: 19.92 kB / 442.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/3.703, allocations: 0 / 442.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/3.704, allocations: 322.8 kB / 443.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/3.704, allocations: 52 kB / 443.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/3.704, allocations: 81.7 kB / 443.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/3.704, allocations: 59.97 kB / 443.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/3.704, allocations: 0 / 443.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006319/3.705, allocations: 197.5 kB / 443.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/3.705, allocations: 7.938 kB / 443.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/3.705, allocations: 0 / 443.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/3.705, allocations: 4 kB / 443.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/3.706, allocations: 51.95 kB / 443.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/3.706, allocations: 7.906 kB / 443.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/3.706, allocations: 27.69 kB / 443.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/3.706, allocations: 11.98 kB / 443.7 MB, free: 3.418 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 0.0001113/3.707, allocations: 109 kB / 443.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/3.707, allocations: 15.81 kB / 443.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/3.707, allocations: 16.66 kB / 443.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/3.707, allocations: 0 / 443.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.707, allocations: 3.906 kB / 443.8 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/3.707, allocations: 7.984 kB / 443.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/3.708, allocations: 475.8 kB / 444.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/3.708, allocations: 0 / 444.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/3.708, allocations: 4 kB / 444.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/3.708, allocations: 3.938 kB / 444.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/3.708, allocations: 0 / 444.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/3.708, allocations: 0 / 444.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/3.708, allocations: 8 kB / 444.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002166/3.708, allocations: 103.5 kB / 444.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003729/3.709, allocations: 487.8 kB / 444.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/3.709, allocations: 96.86 kB / 445 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/3.709, allocations: 8.047 kB / 445 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/3.709, allocations: 4 kB / 445 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/3.709, allocations: 0 / 445 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/3.709, allocations: 0 / 445 MB, free: 1.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003919/3.709, allocations: 172.6 kB / 445.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001567/3.711, allocations: 63.75 kB / 445.2 MB, free: 1.738 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.0001471/3.711, allocations: 99.09 kB / 445.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004223/3.712, allocations: 112.7 kB / 445.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/3.712, allocations: 0 / 445.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/3.712, allocations: 8 kB / 445.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/3.712, allocations: 12.67 kB / 445.5 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/3.713, allocations: 237.2 kB / 445.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/3.714, allocations: 0.7783 MB / 446.5 MB, free: 448 kB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/3.714, allocations: 4 kB / 446.5 MB, free: 444 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat