Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_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.582/1.582, allocations: 194.9 MB / 202.5 MB, free: 13.51 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2872/1.87, allocations: 46.82 MB / 249.3 MB, free: 6.273 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/1.964, allocations: 44.51 MB / 293.9 MB, free: 52 kB / 238.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/2.26, allocations: 83.41 MB / 377.3 MB, free: 27.36 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.26, allocations: 83.12 kB / 377.3 MB, free: 27.36 MB / 318.1 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.2553/2.516, allocations: 62.22 MB / 439.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/2.516, allocations: 15.94 kB / 439.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/2.53, allocations: 1.599 MB / 441.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/2.544, allocations: 3.586 MB / 444.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/2.544, allocations: 88 kB / 444.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/2.545, allocations: 163.9 kB / 445 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01229/2.558, allocations: 4.677 MB / 449.7 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/2.577, allocations: 7.303 MB / 457 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/2.577, allocations: 59.45 kB / 457.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009963/2.578, allocations: 28 kB / 457.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002013/2.58, allocations: 0.8311 MB / 457.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06924/2.649, allocations: 40.6 MB / 498.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/2.655, allocations: 2.408 MB / 0.4892 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/2.658, allocations: 1.532 MB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/2.673, allocations: 5.428 MB / 0.496 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/2.674, allocations: 50.98 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 5.139e-06/2.674, allocations: 0 / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=146): time 0.09963/2.773, allocations: 13.94 MB / 0.5096 GB, free: 5.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/2.773, allocations: 141.3 kB / 0.5098 GB, free: 5.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009417/2.783, allocations: 2.484 MB / 0.5122 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00062/2.783, allocations: 25.7 kB / 0.5122 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00351/2.787, allocations: 2.282 MB / 0.5144 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1278/2.915, allocations: 0.5713 MB / 0.515 GB, free: 136.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007478/2.916, allocations: 0 / 0.515 GB, free: 136.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0005768/2.916, allocations: 0.5777 MB / 0.5156 GB, free: 136.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/2.923, allocations: 2.359 MB / 0.5179 GB, free: 136.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/2.93, allocations: 5.625 MB / 0.5234 GB, free: 132 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008067/2.938, allocations: 3.6 MB / 0.5269 GB, free: 131.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/2.939, allocations: 33.88 kB / 0.5269 GB, free: 131.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0486/2.987, allocations: 10.45 MB / 0.5371 GB, free: 131.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/2.987, allocations: 3.219 kB / 0.5371 GB, free: 131.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/2.987, allocations: 117.3 kB / 0.5372 GB, free: 131.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02857/3.016, allocations: 3.799 MB / 0.5409 GB, free: 131.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/3.023, allocations: 1.186 MB / 0.5421 GB, free: 131.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/3.061, allocations: 12.27 MB / 0.5541 GB, free: 127.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/3.069, allocations: 207.1 kB / 0.5543 GB, free: 127.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/3.07, allocations: 337.8 kB / 0.5546 GB, free: 127.8 MB / 398.1 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.001876/3.072, allocations: 392.4 kB / 0.555 GB, free: 127.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007822/3.073, allocations: 243.9 kB / 0.5552 GB, free: 127.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03712/3.11, allocations: 6.437 MB / 0.5615 GB, free: 125.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/3.11, allocations: 15.41 kB / 0.5615 GB, free: 125.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-05/3.11, allocations: 11.31 kB / 0.5615 GB, free: 125.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/3.11, allocations: 6.984 kB / 0.5615 GB, free: 125.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05836/3.169, allocations: 12.79 MB / 0.574 GB, free: 121.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/3.169, allocations: 1.375 kB / 0.574 GB, free: 121.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/3.171, allocations: 203.3 kB / 0.5742 GB, free: 121.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03199/3.203, allocations: 4.058 MB / 0.5782 GB, free: 120.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005378/3.204, allocations: 35.11 kB / 0.5782 GB, free: 120.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03581/3.24, allocations: 12.08 MB / 0.59 GB, free: 110.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-06/3.24, allocations: 0 / 0.59 GB, free: 110.2 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04404/3.284, allocations: 10.15 MB / 0.5999 GB, free: 102 MB / 398.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04936/3.333, allocations: 13.14 MB / 0.6128 GB, free: 88.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/3.334, allocations: 310.7 kB / 0.613 GB, free: 88.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009336/3.335, allocations: 19.98 kB / 0.6131 GB, free: 88.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/3.338, allocations: 107.8 kB / 0.6132 GB, free: 88.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/3.339, allocations: 68.66 kB / 0.6132 GB, free: 88.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/3.339, allocations: 51.95 kB / 0.6133 GB, free: 88.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.003742/3.343, allocations: 1.65 MB / 0.6149 GB, free: 86.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007122/3.35, allocations: 0.772 MB / 0.6156 GB, free: 85.96 MB / 398.1 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.0007335/3.351, allocations: 150.9 kB / 0.6158 GB, free: 85.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01878/3.37, allocations: 6.531 MB / 0.6222 GB, free: 79.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/3.37, allocations: 0 / 0.6222 GB, free: 79.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01062/3.38, allocations: 3.001 MB / 0.6251 GB, free: 76.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/3.383, allocations: 223 kB / 0.6253 GB, free: 75.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/3.401, allocations: 6.78 MB / 0.6319 GB, free: 69.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004878/3.406, allocations: 2.771 MB / 0.6346 GB, free: 66.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/3.406, allocations: 0 / 0.6346 GB, free: 66.25 MB / 398.1 MB