Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_2_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.598/1.598, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.218/1.816, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/1.907, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/2.201, allocations: 85.96 MB / 379.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/2.201, allocations: 84.77 kB / 379.9 MB, free: 6.102 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.2701/2.471, allocations: 58.39 MB / 438.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/2.471, allocations: 8 kB / 438.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/2.487, allocations: 1.603 MB / 439.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/2.502, allocations: 3.43 MB / 443.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/2.502, allocations: 80 kB / 443.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/2.504, allocations: 151.9 kB / 443.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01266/2.517, allocations: 4.174 MB / 447.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/2.535, allocations: 6.271 MB / 454 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/2.536, allocations: 39.59 kB / 454 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/2.537, allocations: 20 kB / 454.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/2.539, allocations: 0.7653 MB / 454.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/2.594, allocations: 30.65 MB / 485.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004884/2.599, allocations: 2.171 MB / 487.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/2.602, allocations: 1.156 MB / 488.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/2.603, allocations: 359.1 kB / 489.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/2.603, allocations: 42.94 kB / 489.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 5.28e-06/2.603, allocations: 0 / 489.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.04019/2.643, allocations: 9.559 MB / 498.8 MB, free: 1.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.644, allocations: 148.9 kB / 498.9 MB, free: 1.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.131/2.775, allocations: 2.074 MB / 0.4892 GB, free: 140.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00033/2.775, allocations: 28.48 kB / 0.4893 GB, free: 140.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/2.777, allocations: 1.966 MB / 0.4912 GB, free: 140.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/2.777, allocations: 453.5 kB / 0.4916 GB, free: 139.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005792/2.778, allocations: 0 / 0.4916 GB, free: 139.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005118/2.779, allocations: 0.5372 MB / 0.4921 GB, free: 139.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/2.782, allocations: 1.424 MB / 0.4935 GB, free: 139.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/2.788, allocations: 4.099 MB / 0.4975 GB, free: 136.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/2.795, allocations: 2.531 MB / 0.5 GB, free: 136.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.645e-05/2.795, allocations: 29.5 kB / 0.5 GB, free: 136.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01928/2.814, allocations: 5.636 MB / 0.5055 GB, free: 135.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/2.814, allocations: 3.969 kB / 0.5055 GB, free: 135.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/2.815, allocations: 98.5 kB / 0.5056 GB, free: 135.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/2.819, allocations: 0.7841 MB / 0.5064 GB, free: 135.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006409/2.826, allocations: 0.9756 MB / 0.5074 GB, free: 135.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/2.835, allocations: 4.213 MB / 0.5115 GB, free: 134.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/2.841, allocations: 172.5 kB / 0.5116 GB, free: 134.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/2.842, allocations: 271.2 kB / 0.5119 GB, free: 134.2 MB / 394.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.001695/2.844, allocations: 348.4 kB / 0.5122 GB, free: 134 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/2.845, allocations: 205.5 kB / 0.5124 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009492/2.854, allocations: 2.2 MB / 0.5146 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.294e-05/2.854, allocations: 7.125 kB / 0.5146 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/2.854, allocations: 7.406 kB / 0.5146 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/2.854, allocations: 10.66 kB / 0.5146 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/2.873, allocations: 5.098 MB / 0.5196 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/2.873, allocations: 3.562 kB / 0.5196 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/2.875, allocations: 146.3 kB / 0.5197 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004174/2.879, allocations: 0.6323 MB / 0.5203 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/2.879, allocations: 10.34 kB / 0.5203 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008293/2.888, allocations: 3.685 MB / 0.5239 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/2.888, allocations: 0 / 0.5239 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01298/2.901, allocations: 4.396 MB / 0.5282 GB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01578/2.916, allocations: 6.089 MB / 0.5342 GB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/2.918, allocations: 448.8 kB / 0.5346 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/2.919, allocations: 0 / 0.5346 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/2.921, allocations: 56.22 kB / 0.5347 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/2.922, allocations: 50.11 kB / 0.5347 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/2.922, allocations: 41.97 kB / 0.5347 GB, free: 127.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003601/2.926, allocations: 1.379 MB / 0.5361 GB, free: 126.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006367/2.932, allocations: 0.5964 MB / 0.5367 GB, free: 126.8 MB / 394.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.0007958/2.933, allocations: 170.5 kB / 0.5368 GB, free: 126.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008734/2.942, allocations: 3.416 MB / 0.5402 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.942, allocations: 0 / 0.5402 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/2.944, allocations: 1.052 MB / 0.5412 GB, free: 125.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/2.947, allocations: 186.1 kB / 0.5414 GB, free: 125.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/2.962, allocations: 4.681 MB / 0.5459 GB, free: 122 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005835/2.968, allocations: 2.466 MB / 0.5484 GB, free: 120 MB / 394.7 MB Notification: Performance of SimCode: time 2.104e-06/2.968, allocations: 0 / 0.5484 GB, free: 120 MB / 394.7 MB