Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_RollingWheel",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(Modelica): time 1.728/1.728, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2875/2.016, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/2.108, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/2.392, allocations: 72.41 MB / 366.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/2.392, allocations: 62.92 kB / 366.4 MB, free: 7.098 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.01282/2.405, allocations: 3.119 MB / 369.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/2.405, allocations: 7.844 kB / 369.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/2.405, allocations: 21.28 kB / 369.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/2.405, allocations: 217.9 kB / 369.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/2.405, allocations: 3.875 kB / 369.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/2.405, allocations: 19.53 kB / 369.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002991/2.406, allocations: 81.16 kB / 369.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/2.406, allocations: 118.4 kB / 370 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/2.406, allocations: 7.062 kB / 370 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/2.406, allocations: 1.734 kB / 370 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/2.406, allocations: 3.875 kB / 370 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/2.407, allocations: 0.5487 MB / 370.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/2.408, allocations: 92.5 kB / 370.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/2.408, allocations: 35.73 kB / 370.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/2.408, allocations: 1.641 kB / 370.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/2.408, allocations: 30.56 kB / 370.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/2.408, allocations: 0 / 370.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001746/2.41, allocations: 0.6836 MB / 371.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/2.41, allocations: 59.22 kB / 371.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/2.41, allocations: 116 kB / 371.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/2.41, allocations: 25.7 kB / 371.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/2.41, allocations: 127.2 kB / 371.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/2.41, allocations: 65.34 kB / 371.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/2.41, allocations: 0 / 371.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/2.41, allocations: 323.3 kB / 372.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/2.41, allocations: 35.28 kB / 372.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/2.41, allocations: 69.64 kB / 372.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/2.41, allocations: 43.42 kB / 372.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/2.41, allocations: 0 / 372.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005113/2.411, allocations: 179.9 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/2.411, allocations: 3.844 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/2.411, allocations: 0 / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/2.411, allocations: 41.53 kB / 372.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/2.412, allocations: 37.03 kB / 372.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/2.413, allocations: 1.344 MB / 373.8 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/2.414, allocations: 5.312 kB / 373.8 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/2.414, allocations: 15.5 kB / 373.8 MB, free: 19.41 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.0001244/2.414, allocations: 105.1 kB / 373.9 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/2.414, allocations: 19.66 kB / 373.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/2.414, allocations: 18.03 kB / 374 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/2.414, allocations: 3.844 kB / 374 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/2.414, allocations: 0 / 374 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.414, allocations: 1.266 kB / 374 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/2.415, allocations: 0.5256 MB / 374.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/2.415, allocations: 7.875 kB / 374.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/2.416, allocations: 28.81 kB / 374.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/2.416, allocations: 37.98 kB / 374.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/2.416, allocations: 4 kB / 374.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/2.417, allocations: 1.294 MB / 375.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.417, allocations: 7.969 kB / 375.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00065/2.418, allocations: 301.1 kB / 376.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009004/2.419, allocations: 0.7296 MB / 376.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/2.419, allocations: 86.53 kB / 377 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/2.419, allocations: 7.844 kB / 377 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/2.419, allocations: 5.25 kB / 377 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/2.419, allocations: 11.38 kB / 377 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/2.419, allocations: 8.859 kB / 377 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001001/2.42, allocations: 100.9 kB / 377.1 MB, free: 16.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001444/2.421, allocations: 43.19 kB / 377.2 MB, free: 16.86 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.0001693/2.421, allocations: 104.2 kB / 377.3 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005838/2.422, allocations: 214.8 kB / 377.5 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.422, allocations: 3.938 kB / 377.5 MB, free: 16.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/2.422, allocations: 164.5 kB / 377.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/2.423, allocations: 14.08 kB / 377.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/2.424, allocations: 345.9 kB / 378 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/2.424, allocations: 0.7543 MB / 378.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/2.424, allocations: 0 / 378.7 MB, free: 15.63 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat