Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Translational_TestBraking",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 2.806/2.806, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1644/2.971, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/3.301, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/3.486, allocations: 81.62 MB / 435.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/3.486, allocations: 63.97 kB / 435.8 MB, free: 11.58 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0351/3.521, allocations: 4.648 MB / 440.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/3.521, allocations: 8 kB / 440.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/3.522, allocations: 23.72 kB / 440.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/3.522, allocations: 226.7 kB / 440.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/3.522, allocations: 11.91 kB / 440.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/3.522, allocations: 12 kB / 440.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007062/3.523, allocations: 120.8 kB / 440.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/3.524, allocations: 185.8 kB / 441 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/3.524, allocations: 11.89 kB / 441 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/3.524, allocations: 0 / 441 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/3.524, allocations: 4 kB / 441 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/3.527, allocations: 0.9422 MB / 441.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/3.528, allocations: 191.8 kB / 442.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/3.529, allocations: 67.31 kB / 442.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/3.529, allocations: 12 kB / 442.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/3.529, allocations: 34.56 kB / 442.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.498e-06/3.529, allocations: 0 / 442.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.003094/3.532, allocations: 0.9092 MB / 443.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/3.532, allocations: 136.5 kB / 443.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/3.532, allocations: 153.5 kB / 443.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/3.533, allocations: 25.7 kB / 443.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/3.533, allocations: 140.1 kB / 443.6 MB, free: 3.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/3.533, allocations: 94.56 kB / 443.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/3.533, allocations: 4 kB / 443.7 MB, free: 3.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/3.533, allocations: 342.7 kB / 444 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/3.534, allocations: 56.69 kB / 444.1 MB, free: 2.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/3.534, allocations: 167.7 kB / 444.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/3.535, allocations: 95.91 kB / 444.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/3.535, allocations: 4 kB / 444.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001243/3.536, allocations: 253.1 kB / 444.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/3.536, allocations: 4 kB / 444.6 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/3.536, allocations: 4 kB / 444.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/3.536, allocations: 8 kB / 444.6 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/3.537, allocations: 88.14 kB / 444.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/3.537, allocations: 12 kB / 444.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/3.538, allocations: 4 kB / 444.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/3.538, allocations: 12 kB / 444.7 MB, free: 2.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002078/3.538, allocations: 124.7 kB / 444.8 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/3.538, allocations: 19.81 kB / 444.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/3.539, allocations: 94.98 kB / 444.9 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/3.539, allocations: 4 kB / 444.9 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/3.539, allocations: 4 kB / 445 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/3.539, allocations: 11.92 kB / 445 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/3.542, allocations: 0.7098 MB / 445.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/3.542, allocations: 4 kB / 445.7 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/3.543, allocations: 63.91 kB / 445.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/3.543, allocations: 4 kB / 445.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/3.543, allocations: 8 kB / 445.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.802e-05/3.543, allocations: 11.91 kB / 445.8 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/3.543, allocations: 7.984 kB / 445.8 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001421/3.545, allocations: 0.7054 MB / 446.5 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1611/3.706, allocations: 1.139 MB / 447.6 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/3.706, allocations: 99.3 kB / 447.7 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/3.706, allocations: 3.969 kB / 447.7 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/3.706, allocations: 0 / 447.7 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/3.707, allocations: 32.88 kB / 447.7 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/3.707, allocations: 6.594 kB / 447.8 MB, free: 130.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001362/3.707, allocations: 122 kB / 447.9 MB, free: 130.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001698/3.708, allocations: 45.03 kB / 447.9 MB, free: 130.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0002049/3.709, allocations: 113.4 kB / 448 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/3.709, allocations: 175.2 kB / 448.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/3.709, allocations: 2.906 kB / 448.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/3.709, allocations: 76.12 kB / 448.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/3.71, allocations: 38.03 kB / 448.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/3.713, allocations: 0.8076 MB / 449.1 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/3.713, allocations: 0.7961 MB / 449.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/3.713, allocations: 0 / 449.9 MB, free: 129.2 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat