Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_RollingWheel",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(Modelica): time 1.75/1.75, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2049/1.955, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/2.044, allocations: 44.51 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/2.31, allocations: 72.4 MB / 366.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/2.31, allocations: 71.69 kB / 366.3 MB, free: 7.168 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.01173/2.322, allocations: 3.106 MB / 369.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/2.322, allocations: 11.59 kB / 369.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/2.322, allocations: 24.8 kB / 369.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/2.322, allocations: 220.9 kB / 369.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/2.322, allocations: 3.875 kB / 369.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/2.322, allocations: 17.16 kB / 369.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002748/2.323, allocations: 79.89 kB / 369.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/2.323, allocations: 124.7 kB / 369.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/2.323, allocations: 0 / 369.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/2.323, allocations: 0 / 369.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/2.323, allocations: 3.875 kB / 369.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/2.324, allocations: 0.5621 MB / 370.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/2.324, allocations: 83.45 kB / 370.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/2.325, allocations: 31.89 kB / 370.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/2.325, allocations: 7.703 kB / 370.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/2.325, allocations: 32.3 kB / 370.6 MB, free: 5.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/2.325, allocations: 0 / 370.6 MB, free: 5.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001556/2.326, allocations: 0.678 MB / 371.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/2.326, allocations: 51.41 kB / 371.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/2.326, allocations: 122.3 kB / 371.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/2.326, allocations: 29.67 kB / 371.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/2.326, allocations: 127.3 kB / 371.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/2.327, allocations: 59.78 kB / 371.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/2.327, allocations: 9.375 kB / 371.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/2.327, allocations: 322.4 kB / 372 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/2.327, allocations: 32.28 kB / 372 MB, free: 20.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/2.327, allocations: 73.2 kB / 372.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/2.327, allocations: 49.34 kB / 372.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/2.327, allocations: 0 / 372.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004651/2.328, allocations: 163.9 kB / 372.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/2.328, allocations: 9.453 kB / 372.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/2.328, allocations: 0 / 372.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/2.328, allocations: 36.44 kB / 372.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/2.328, allocations: 41.83 kB / 372.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/2.33, allocations: 1.347 MB / 373.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/2.33, allocations: 12.94 kB / 373.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/2.33, allocations: 3.906 kB / 373.8 MB, free: 19.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/2.33, allocations: 110.6 kB / 373.9 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/2.33, allocations: 11.69 kB / 373.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/2.33, allocations: 25.52 kB / 373.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/2.33, allocations: 3.875 kB / 373.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.33, allocations: 4.062 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.33, allocations: 1.453 kB / 373.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/2.331, allocations: 0.5217 MB / 374.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/2.331, allocations: 0 / 374.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/2.332, allocations: 39.89 kB / 374.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/2.332, allocations: 33.17 kB / 374.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/2.332, allocations: 0 / 374.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/2.333, allocations: 1.304 MB / 375.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.333, allocations: 0 / 375.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006219/2.334, allocations: 301.3 kB / 376.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008144/2.335, allocations: 0.7216 MB / 376.8 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/2.335, allocations: 85.2 kB / 376.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/2.335, allocations: 8.938 kB / 376.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/2.335, allocations: 4.625 kB / 376.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/2.335, allocations: 10.73 kB / 376.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/2.335, allocations: 7.938 kB / 376.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.737e-05/2.335, allocations: 107.1 kB / 377 MB, free: 16.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001359/2.337, allocations: 38.94 kB / 377.1 MB, free: 16.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/2.337, allocations: 103.7 kB / 377.2 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005791/2.338, allocations: 217.5 kB / 377.4 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/2.338, allocations: 0 / 377.4 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/2.338, allocations: 173.7 kB / 377.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/2.338, allocations: 17.17 kB / 377.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/2.339, allocations: 344.2 kB / 377.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/2.34, allocations: 0.7537 MB / 378.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/2.34, allocations: 0 / 378.7 MB, free: 15.7 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat