Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_TestBraking",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.382/2.382, allocations: 235 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/2.562, allocations: 57.2 MB / 299.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/2.837, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/3.034, allocations: 81.62 MB / 435.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/3.034, allocations: 63.91 kB / 435.7 MB, free: 11.66 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.02121/3.056, allocations: 4.641 MB / 440.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/3.056, allocations: 8 kB / 440.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/3.056, allocations: 27.72 kB / 440.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/3.056, allocations: 226.7 kB / 440.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/3.056, allocations: 11.91 kB / 440.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/3.056, allocations: 19.94 kB / 440.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004156/3.057, allocations: 112.8 kB / 440.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/3.057, allocations: 189.8 kB / 440.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/3.057, allocations: 7.891 kB / 440.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/3.057, allocations: 4 kB / 440.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/3.057, allocations: 4 kB / 440.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/3.06, allocations: 0.9383 MB / 441.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/3.06, allocations: 187.7 kB / 442 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/3.06, allocations: 67.48 kB / 442.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/3.06, allocations: 16.39 kB / 442.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/3.06, allocations: 34.56 kB / 442.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/3.06, allocations: 0 / 442.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001982/3.062, allocations: 0.9163 MB / 443 MB, free: 3.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/3.063, allocations: 132.5 kB / 443.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/3.063, allocations: 157.5 kB / 443.3 MB, free: 3.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/3.063, allocations: 25.7 kB / 443.4 MB, free: 3.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/3.063, allocations: 136.1 kB / 443.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/3.063, allocations: 102.5 kB / 443.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/3.063, allocations: 0 / 443.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/3.063, allocations: 334.7 kB / 443.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/3.064, allocations: 56.75 kB / 444 MB, free: 2.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/3.064, allocations: 171.6 kB / 444.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/3.064, allocations: 79.91 kB / 444.2 MB, free: 2.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/3.064, allocations: 8 kB / 444.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007246/3.065, allocations: 257.6 kB / 444.5 MB, free: 2.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/3.065, allocations: 8 kB / 444.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/3.065, allocations: 4 kB / 444.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/3.065, allocations: 4 kB / 444.5 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/3.066, allocations: 88.16 kB / 444.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/3.066, allocations: 16.12 kB / 444.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/3.066, allocations: 4 kB / 444.6 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/3.066, allocations: 16 kB / 444.6 MB, free: 2.188 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.0001342/3.066, allocations: 121.2 kB / 444.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/3.066, allocations: 19.81 kB / 444.7 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/3.067, allocations: 102.9 kB / 444.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/3.067, allocations: 4 kB / 444.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/3.067, allocations: 3.938 kB / 444.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/3.067, allocations: 8 kB / 444.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/3.068, allocations: 0.7056 MB / 445.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/3.068, allocations: 4 kB / 445.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/3.069, allocations: 71.89 kB / 445.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/3.069, allocations: 7.984 kB / 445.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/3.069, allocations: 4 kB / 445.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/3.069, allocations: 7.906 kB / 445.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/3.069, allocations: 7.938 kB / 445.7 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009607/3.07, allocations: 0.7054 MB / 446.4 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1351/3.205, allocations: 1.138 MB / 447.5 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/3.205, allocations: 97.17 kB / 447.6 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/3.205, allocations: 10.95 kB / 447.6 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/3.206, allocations: 6.5 kB / 447.6 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/3.206, allocations: 20.75 kB / 447.6 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/3.206, allocations: 9.406 kB / 447.7 MB, free: 130.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001175/3.206, allocations: 123.6 kB / 447.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001511/3.208, allocations: 45.69 kB / 447.8 MB, free: 130.5 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.0001735/3.208, allocations: 110.2 kB / 447.9 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004707/3.208, allocations: 169.2 kB / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/3.208, allocations: 0 / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/3.209, allocations: 85.22 kB / 448.2 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/3.209, allocations: 35.81 kB / 448.2 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/3.211, allocations: 0.7966 MB / 449 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/3.213, allocations: 0.8002 MB / 449.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.234e-06/3.213, allocations: 0 / 449.8 MB, free: 129.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat