Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_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.737/1.737, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2221/1.959, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/2.062, allocations: 38.77 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3212/2.383, allocations: 78.09 MB / 336.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/2.384, allocations: 82.02 kB / 336.2 MB, free: 10.07 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.3259/2.71, allocations: 62.23 MB / 398.4 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/2.71, allocations: 12 kB / 398.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/2.725, allocations: 1.607 MB / 400 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/2.741, allocations: 3.573 MB / 403.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/2.742, allocations: 88 kB / 403.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/2.743, allocations: 163.9 kB / 403.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01471/2.758, allocations: 4.684 MB / 408.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1723/2.93, allocations: 7.312 MB / 415.9 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003391/2.931, allocations: 51.19 kB / 415.9 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002211/2.933, allocations: 30.06 kB / 415.9 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003283/2.936, allocations: 0.833 MB / 416.8 MB, free: 119 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07949/3.016, allocations: 40.59 MB / 457.4 MB, free: 92.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/3.02, allocations: 2.401 MB / 459.8 MB, free: 91.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/3.025, allocations: 1.531 MB / 461.3 MB, free: 91.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02131/3.046, allocations: 5.427 MB / 466.7 MB, free: 88.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/3.047, allocations: 55.52 kB / 466.8 MB, free: 88.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 8.335e-06/3.047, allocations: 0 / 466.8 MB, free: 88.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.08081/3.127, allocations: 13.94 MB / 480.7 MB, free: 84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/3.128, allocations: 140.4 kB / 480.8 MB, free: 83.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/3.133, allocations: 2.486 MB / 483.3 MB, free: 82.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005263/3.134, allocations: 29.45 kB / 483.4 MB, free: 82.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/3.136, allocations: 2.273 MB / 485.6 MB, free: 81.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/3.137, allocations: 0.5724 MB / 486.2 MB, free: 80.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/3.138, allocations: 0 / 486.2 MB, free: 80.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005037/3.138, allocations: 0.582 MB / 486.8 MB, free: 80.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005891/3.144, allocations: 2.359 MB / 489.1 MB, free: 79.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009074/3.153, allocations: 5.621 MB / 494.8 MB, free: 73.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/3.163, allocations: 3.609 MB / 498.4 MB, free: 72.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/3.163, allocations: 34.25 kB / 498.4 MB, free: 72.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.04875/3.212, allocations: 10.45 MB / 0.4969 GB, free: 64.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/3.212, allocations: 4.188 kB / 0.4969 GB, free: 64.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/3.212, allocations: 120 kB / 0.4971 GB, free: 64.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02891/3.241, allocations: 3.781 MB / 0.5007 GB, free: 61.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007736/3.249, allocations: 1.191 MB / 0.5019 GB, free: 60.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.038/3.287, allocations: 12.28 MB / 0.5139 GB, free: 48.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007466/3.294, allocations: 211.5 kB / 0.5141 GB, free: 48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/3.296, allocations: 332 kB / 0.5144 GB, free: 47.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (632): * Single equations (assignments): 622 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002038/3.298, allocations: 391.7 kB / 0.5148 GB, free: 47.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/3.299, allocations: 248.8 kB / 0.515 GB, free: 47.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03644/3.335, allocations: 6.432 MB / 0.5213 GB, free: 40.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/3.336, allocations: 15.75 kB / 0.5213 GB, free: 40.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/3.336, allocations: 12 kB / 0.5213 GB, free: 40.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/3.336, allocations: 3.984 kB / 0.5213 GB, free: 40.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06662/3.402, allocations: 12.79 MB / 0.5338 GB, free: 27.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/3.402, allocations: 3.984 kB / 0.5338 GB, free: 27.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/3.405, allocations: 203.7 kB / 0.534 GB, free: 27.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03468/3.44, allocations: 4.055 MB / 0.538 GB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006479/3.441, allocations: 27.95 kB / 0.538 GB, free: 23.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03879/3.48, allocations: 12.1 MB / 0.5498 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/3.48, allocations: 0 / 0.5498 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04365/3.523, allocations: 10.14 MB / 0.5597 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2011/3.725, allocations: 13.13 MB / 0.5726 GB, free: 112.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/3.726, allocations: 299.9 kB / 0.5728 GB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/3.727, allocations: 17.73 kB / 0.5729 GB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004051/3.731, allocations: 104 kB / 0.573 GB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008236/3.732, allocations: 71.5 kB / 0.573 GB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/3.732, allocations: 56.06 kB / 0.5731 GB, free: 112.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004449/3.737, allocations: 1.652 MB / 0.5747 GB, free: 112 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007795/3.745, allocations: 0.7756 MB / 0.5754 GB, free: 112 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009697/3.746, allocations: 142.5 kB / 0.5756 GB, free: 111.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0201/3.766, allocations: 6.531 MB / 0.582 GB, free: 111.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/3.766, allocations: 1.859 kB / 0.582 GB, free: 111.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01118/3.777, allocations: 2.999 MB / 0.5849 GB, free: 110.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/3.78, allocations: 232.3 kB / 0.5851 GB, free: 110.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/3.801, allocations: 6.777 MB / 0.5917 GB, free: 108.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00659/3.808, allocations: 2.775 MB / 0.5944 GB, free: 107.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/3.808, allocations: 0 / 0.5944 GB, free: 107.6 MB / 346.7 MB