Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Bodies",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 2.247/2.247, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/2.425, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/2.744, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/3.136, allocations: 94.4 MB / 448.4 MB, free: 31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/3.136, allocations: 76.56 kB / 448.4 MB, free: 31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.4812/3.618, allocations: 96.98 MB / 0.5326 GB, free: 5.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/3.618, allocations: 8 kB / 0.5326 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05925/3.677, allocations: 5.723 MB / 0.5382 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05224/3.729, allocations: 9.108 MB / 0.5471 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/3.73, allocations: 111.9 kB / 0.5472 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/3.733, allocations: 215.8 kB / 0.5474 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0219/3.755, allocations: 4.426 MB / 0.5518 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04289/3.798, allocations: 6.183 MB / 0.5578 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005826/3.798, allocations: 59.45 kB / 0.5579 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/3.8, allocations: 16 kB / 0.5579 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008464/3.808, allocations: 0.6461 MB / 0.5585 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09653/3.905, allocations: 29.64 MB / 0.5874 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/3.906, allocations: 321.2 kB / 0.5878 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/3.907, allocations: 168.3 kB / 0.5879 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/3.907, allocations: 7.984 kB / 0.5879 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/3.907, allocations: 46.5 kB / 0.588 GB, free: 10.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 7.855e-06/3.907, allocations: 0 / 0.588 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.01704/3.924, allocations: 1.605 MB / 0.5895 GB, free: 9.297 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/3.925, allocations: 235.3 kB / 0.5898 GB, free: 9.012 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01662/3.941, allocations: 3.463 MB / 0.5931 GB, free: 5.531 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/3.941, allocations: 25.7 kB / 0.5932 GB, free: 5.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0046/3.946, allocations: 2.261 MB / 0.5954 GB, free: 3.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/3.947, allocations: 162.6 kB / 0.5955 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/3.947, allocations: 4 kB / 0.5955 GB, free: 3.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005555/3.948, allocations: 449.4 kB / 0.596 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/3.951, allocations: 0.7018 MB / 0.5966 GB, free: 1.891 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007042/3.958, allocations: 3.26 MB / 0.5998 GB, free: 13.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/3.964, allocations: 1.474 MB / 0.6013 GB, free: 11.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/3.964, allocations: 28 kB / 0.6013 GB, free: 11.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.0164/3.98, allocations: 3.346 MB / 0.6046 GB, free: 8.453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/3.981, allocations: 7.938 kB / 0.6046 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/3.981, allocations: 96 kB / 0.6047 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/3.981, allocations: 132 kB / 0.6048 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008679/3.99, allocations: 0.8504 MB / 0.6056 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002929/3.99, allocations: 183.3 kB / 0.6058 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/4.001, allocations: 495.1 kB / 0.6063 GB, free: 6.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/4.003, allocations: 232 kB / 0.6065 GB, free: 6.477 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * 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.001377/4.004, allocations: 347.9 kB / 0.6068 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/4.006, allocations: 335.7 kB / 0.6071 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/4.008, allocations: 349.1 kB / 0.6075 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/4.008, allocations: 4 kB / 0.6075 GB, free: 5.449 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/4.008, allocations: 4 kB / 0.6075 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/4.008, allocations: 7.984 kB / 0.6075 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/4.02, allocations: 3.483 MB / 0.6109 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/4.02, allocations: 11.91 kB / 0.6109 GB, free: 1.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/4.021, allocations: 83.83 kB / 0.611 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.568e-05/4.021, allocations: 16 kB / 0.611 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/4.021, allocations: 15.94 kB / 0.611 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/4.021, allocations: 15.94 kB / 0.611 GB, free: 1.617 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/4.021, allocations: 15.94 kB / 0.611 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1825/4.204, allocations: 2.06 MB / 0.6131 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002327/4.206, allocations: 2.49 MB / 0.6155 GB, free: 146.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/4.208, allocations: 423 kB / 0.6159 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007806/4.208, allocations: 13.77 kB / 0.6159 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/4.21, allocations: 51.2 kB / 0.6159 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/4.211, allocations: 53.23 kB / 0.616 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/4.211, allocations: 21.56 kB / 0.616 GB, free: 146.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006247/4.217, allocations: 2.458 MB / 0.6184 GB, free: 146.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008059/4.225, allocations: 0.8364 MB / 0.6192 GB, free: 146.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * 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.0005581/4.226, allocations: 132.3 kB / 0.6194 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005934/4.232, allocations: 1.631 MB / 0.621 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/4.232, allocations: 0 / 0.621 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/4.232, allocations: 170.9 kB / 0.6211 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007054/4.239, allocations: 0.5167 MB / 0.6216 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/4.256, allocations: 5.496 MB / 0.627 GB, free: 144.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006524/4.263, allocations: 3.143 MB / 0.6301 GB, free: 143.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/4.263, allocations: 3.844 kB / 0.6301 GB, free: 143.6 MB / 474.7 MB