Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",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.758/1.758, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2206/1.979, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/2.077, allocations: 38.77 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/2.383, allocations: 80.53 MB / 338.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/2.384, allocations: 81.27 kB / 338.6 MB, free: 7.629 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.292/2.676, allocations: 58.4 MB / 397 MB, free: 2.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/2.676, allocations: 16 kB / 397 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/2.695, allocations: 1.595 MB / 398.6 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/2.711, allocations: 3.44 MB / 402.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/2.712, allocations: 80 kB / 402.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/2.713, allocations: 143.9 kB / 402.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01294/2.726, allocations: 4.178 MB / 406.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/2.745, allocations: 6.267 MB / 412.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/2.745, allocations: 39.62 kB / 412.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/2.746, allocations: 20 kB / 412.8 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001787/2.748, allocations: 0.7654 MB / 413.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/2.918, allocations: 30.63 MB / 444.2 MB, free: 104.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/2.922, allocations: 2.169 MB / 446.4 MB, free: 104.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/2.924, allocations: 1.167 MB / 447.5 MB, free: 104.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/2.926, allocations: 369.2 kB / 447.9 MB, free: 103.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/2.926, allocations: 44.31 kB / 447.9 MB, free: 103.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 5.6e-06/2.926, allocations: 0 / 447.9 MB, free: 103.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=114): time 0.04102/2.967, allocations: 9.546 MB / 457.5 MB, free: 101.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/2.967, allocations: 139.2 kB / 457.6 MB, free: 101.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/2.972, allocations: 2.081 MB / 459.7 MB, free: 100.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/2.972, allocations: 29.17 kB / 459.7 MB, free: 100.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/2.975, allocations: 1.973 MB / 461.7 MB, free: 99.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008542/2.976, allocations: 446 kB / 462.1 MB, free: 99.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/2.976, allocations: 3.875 kB / 462.1 MB, free: 99.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004874/2.977, allocations: 0.5356 MB / 462.7 MB, free: 98.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/2.98, allocations: 1.427 MB / 464.1 MB, free: 98.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/2.986, allocations: 4.093 MB / 468.2 MB, free: 94.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/2.993, allocations: 2.535 MB / 470.7 MB, free: 93.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/2.993, allocations: 26.81 kB / 470.8 MB, free: 93.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.02/3.013, allocations: 5.634 MB / 476.4 MB, free: 91.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/3.013, allocations: 8.625 kB / 476.4 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/3.013, allocations: 96.28 kB / 476.5 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/3.019, allocations: 0.787 MB / 477.3 MB, free: 91.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006786/3.025, allocations: 0.9684 MB / 478.3 MB, free: 91.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/3.036, allocations: 4.217 MB / 482.5 MB, free: 88.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/3.042, allocations: 176.9 kB / 482.6 MB, free: 88.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/3.044, allocations: 267.4 kB / 482.9 MB, free: 88.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],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 (520): * Single equations (assignments): 516 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008107/3.044, allocations: 339.6 kB / 483.2 MB, free: 87.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/3.045, allocations: 209 kB / 483.4 MB, free: 87.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/3.054, allocations: 2.202 MB / 485.6 MB, free: 85.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/3.054, allocations: 11.5 kB / 485.7 MB, free: 85.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/3.054, allocations: 4 kB / 485.7 MB, free: 85.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/3.054, allocations: 7.844 kB / 485.7 MB, free: 85.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/3.072, allocations: 5.106 MB / 490.8 MB, free: 81.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/3.072, allocations: 4 kB / 490.8 MB, free: 81.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/3.074, allocations: 149.1 kB / 490.9 MB, free: 81.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004111/3.078, allocations: 0.6263 MB / 491.5 MB, free: 81.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/3.078, allocations: 7.562 kB / 491.6 MB, free: 81.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008431/3.086, allocations: 3.687 MB / 495.2 MB, free: 77.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/3.087, allocations: 4.062 kB / 495.2 MB, free: 77.87 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01289/3.099, allocations: 4.395 MB / 499.6 MB, free: 74.04 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02089/3.12, allocations: 6.091 MB / 0.4939 GB, free: 68.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/3.123, allocations: 444 kB / 0.4943 GB, free: 68.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/3.124, allocations: 7.75 kB / 0.4943 GB, free: 68.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/3.127, allocations: 48.84 kB / 0.4944 GB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/3.128, allocations: 51.61 kB / 0.4944 GB, free: 68.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/3.128, allocations: 31.91 kB / 0.4944 GB, free: 68.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00487/3.133, allocations: 1.391 MB / 0.4958 GB, free: 66.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01002/3.143, allocations: 0.587 MB / 0.4964 GB, free: 66.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/3.145, allocations: 178.2 kB / 0.4965 GB, free: 66.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00929/3.154, allocations: 3.39 MB / 0.4999 GB, free: 63.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/3.154, allocations: 0 / 0.4999 GB, free: 63.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/3.157, allocations: 1.058 MB / 0.5009 GB, free: 62.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/3.16, allocations: 188.3 kB / 0.5011 GB, free: 62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/3.177, allocations: 4.679 MB / 0.5056 GB, free: 57.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006467/3.183, allocations: 2.473 MB / 0.508 GB, free: 55.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.803e-06/3.183, allocations: 0 / 0.508 GB, free: 55.05 MB / 346.7 MB