Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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 1.893/1.893, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2358/2.128, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/2.248, allocations: 48.68 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/2.606, allocations: 79.77 MB / 395.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/2.606, allocations: 84.36 kB / 395.8 MB, free: 13.04 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.1617/2.768, allocations: 34.81 MB / 430.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/2.768, allocations: 12 kB / 430.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/2.781, allocations: 1.335 MB / 432 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/2.785, allocations: 1.009 MB / 433 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/2.785, allocations: 56 kB / 433 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/2.786, allocations: 96 kB / 433.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008444/2.795, allocations: 2.828 MB / 436 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/2.815, allocations: 4.693 MB / 440.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002506/2.815, allocations: 39.69 kB / 440.7 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/2.817, allocations: 16 kB / 440.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/2.819, allocations: 0.541 MB / 441.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/2.864, allocations: 23.63 MB / 464.9 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/2.866, allocations: 1.151 MB / 466 MB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/2.867, allocations: 331.4 kB / 466.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/2.867, allocations: 7.984 kB / 466.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/2.867, allocations: 42.34 kB / 466.4 MB, free: 8.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 4.648e-06/2.867, allocations: 4 kB / 466.4 MB, free: 8.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.002362/2.87, allocations: 0.7601 MB / 467.2 MB, free: 7.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/2.87, allocations: 106.8 kB / 467.3 MB, free: 7.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/2.875, allocations: 1.706 MB / 469 MB, free: 5.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/2.875, allocations: 25.7 kB / 469 MB, free: 5.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/2.877, allocations: 1.616 MB / 470.6 MB, free: 3.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/2.878, allocations: 257 kB / 470.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005183/2.878, allocations: 0 / 470.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005599/2.879, allocations: 494.5 kB / 471.4 MB, free: 3.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/2.882, allocations: 0.858 MB / 472.2 MB, free: 2.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/2.887, allocations: 3.204 MB / 475.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/2.892, allocations: 1.717 MB / 477.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-05/2.892, allocations: 24 kB / 477.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.01146/2.903, allocations: 3.444 MB / 480.6 MB, free: 8.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/2.904, allocations: 11.94 kB / 480.6 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/2.904, allocations: 84 kB / 480.7 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/2.904, allocations: 124 kB / 480.8 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/2.909, allocations: 0.7797 MB / 481.6 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000188/2.909, allocations: 167.4 kB / 481.8 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/2.913, allocations: 415.1 kB / 482.2 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008395/2.914, allocations: 228 kB / 482.4 MB, free: 6.875 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 425 * Array equations: 3 * 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.0006475/2.915, allocations: 298.9 kB / 482.7 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/2.915, allocations: 153.9 kB / 482.8 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/2.916, allocations: 178.3 kB / 483 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-05/2.916, allocations: 4 kB / 483 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/2.916, allocations: 4 kB / 483 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/2.916, allocations: 0 / 483 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/2.921, allocations: 1.665 MB / 484.7 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/2.921, allocations: 4 kB / 484.7 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/2.922, allocations: 59.91 kB / 484.7 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/2.922, allocations: 3.938 kB / 484.7 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/2.922, allocations: 4 kB / 484.7 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/2.922, allocations: 4 kB / 484.7 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.922, allocations: 3.906 kB / 484.8 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002119/2.924, allocations: 1.057 MB / 485.8 MB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002414/2.926, allocations: 1.442 MB / 487.2 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/2.927, allocations: 223 kB / 487.5 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/2.927, allocations: 3.906 kB / 487.5 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/2.928, allocations: 15.98 kB / 487.5 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/2.928, allocations: 19.97 kB / 487.5 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/2.929, allocations: 20 kB / 487.5 MB, free: 1.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002983/2.932, allocations: 1.128 MB / 488.7 MB, free: 472 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.004799/2.936, allocations: 450.5 kB / 489.1 MB, free: 20 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0005931/2.937, allocations: 115.2 kB / 489.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00836/2.945, allocations: 1.959 MB / 491.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.945, allocations: 0 / 491.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/2.947, allocations: 332.2 kB / 491.5 MB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/2.949, allocations: 131.2 kB / 491.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/2.96, allocations: 3.02 MB / 494.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/2.965, allocations: 1.957 MB / 496.6 MB, free: 8.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.784e-06/2.965, allocations: 4 kB / 496.6 MB, free: 8.43 MB / 426.7 MB