Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FlyingBodies",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.235/2.235, allocations: 235 MB / 241.9 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2079/2.443, allocations: 57.2 MB / 299.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/2.746, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/3.15, allocations: 95.74 MB / 449.7 MB, free: 31.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/3.151, allocations: 73.12 kB / 449.8 MB, free: 31.83 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: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 1.236/4.386, allocations: 200.3 MB / 0.6349 GB, free: 70.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/4.387, allocations: 14.88 kB / 0.6349 GB, free: 70.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08728/4.474, allocations: 10.58 MB / 0.6452 GB, free: 70.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05355/4.527, allocations: 11.93 MB / 0.6569 GB, free: 69.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006556/4.528, allocations: 270.3 kB / 0.6571 GB, free: 69.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00751/4.536, allocations: 0.4994 MB / 0.6576 GB, free: 69.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04104/4.577, allocations: 15.64 MB / 0.6729 GB, free: 69.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06257/4.639, allocations: 20.5 MB / 0.6929 GB, free: 66.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007323/4.64, allocations: 81.86 kB / 0.693 GB, free: 66.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005742/4.646, allocations: 26.66 kB / 0.693 GB, free: 66.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005263/4.651, allocations: 2.636 MB / 0.6956 GB, free: 66.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2092/4.861, allocations: 78.5 MB / 0.7722 GB, free: 5.348 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/4.886, allocations: 7.882 MB / 0.7799 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01706/4.903, allocations: 6.819 MB / 0.7866 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4262/5.329, allocations: 21.41 MB / 0.8075 GB, free: 115.9 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.597e-05/5.33, allocations: 82.56 kB / 0.8076 GB, free: 115.9 MB / 490.8 MB Notification: Performance of pre-optimization done (n=539): time 9.177e-06/5.33, allocations: 2.625 kB / 0.8076 GB, free: 115.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=567): time 0.1268/5.456, allocations: 33.45 MB / 0.8402 GB, free: 110.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/5.457, allocations: 262.1 kB / 0.8405 GB, free: 110.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01967/5.476, allocations: 5.799 MB / 0.8462 GB, free: 109.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002338/5.479, allocations: 25.7 kB / 0.8462 GB, free: 109.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007837/5.487, allocations: 5.671 MB / 0.8517 GB, free: 106.4 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004185/5.491, allocations: 2.061 MB / 0.8537 GB, free: 105.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/5.494, allocations: 0 / 0.8537 GB, free: 105.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001497/5.495, allocations: 0.8716 MB / 0.8546 GB, free: 104.8 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01703/5.512, allocations: 6.362 MB / 0.8608 GB, free: 104.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02342/5.536, allocations: 12.99 MB / 0.8735 GB, free: 96.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02341/5.559, allocations: 9.237 MB / 0.8825 GB, free: 96.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003194/5.559, allocations: 66.31 kB / 0.8826 GB, free: 96.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.07507/5.635, allocations: 20.79 MB / 0.9029 GB, free: 90.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/5.635, allocations: 3.906 kB / 0.9029 GB, free: 90.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05199/5.687, allocations: 13.05 MB / 0.9156 GB, free: 86.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04147/5.728, allocations: 3.231 MB / 0.9188 GB, free: 85.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05455/5.783, allocations: 2.93 MB / 0.9216 GB, free: 82.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/5.801, allocations: 11.45 MB / 0.9328 GB, free: 71.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01923/5.821, allocations: 0.6434 MB / 0.9334 GB, free: 70.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003857/5.825, allocations: 0.7201 MB / 0.9341 GB, free: 70.19 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1056 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1577): * Single equations (assignments): 1543 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005582/5.83, allocations: 0.6861 MB / 0.9348 GB, free: 69.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/5.832, allocations: 0.6439 MB / 0.9354 GB, free: 68.85 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/5.838, allocations: 1.071 MB / 0.9365 GB, free: 67.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05208/5.89, allocations: 12.37 MB / 0.9486 GB, free: 57.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.072e-05/5.89, allocations: 11.91 kB / 0.9486 GB, free: 57.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001843/5.89, allocations: 24.38 kB / 0.9486 GB, free: 57.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03041/5.92, allocations: 9.43 MB / 0.9578 GB, free: 50.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.165e-05/5.921, allocations: 3.562 kB / 0.9578 GB, free: 50.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01079/5.931, allocations: 0.9133 MB / 0.9587 GB, free: 49.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02535/5.957, allocations: 3.238 MB / 0.9619 GB, free: 47.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001695/5.959, allocations: 61.78 kB / 0.9619 GB, free: 47.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/5.98, allocations: 12.94 MB / 0.9746 GB, free: 35.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004108/5.985, allocations: 5.485 MB / 0.9799 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06916/6.054, allocations: 20.88 MB / 1 GB, free: 11.23 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2963/6.35, allocations: 29.32 MB / 1.029 GB, free: 99.72 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/6.353, allocations: 0.6908 MB / 1.03 GB, free: 99.63 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003494/6.356, allocations: 36.28 kB / 1.03 GB, free: 99.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009742/6.366, allocations: 316.4 kB / 1.03 GB, free: 99.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002127/6.368, allocations: 230.9 kB / 1.03 GB, free: 99.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008731/6.369, allocations: 134.8 kB / 1.03 GB, free: 99.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01135/6.381, allocations: 3.898 MB / 1.034 GB, free: 99.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0273/6.408, allocations: 2.324 MB / 1.036 GB, free: 99.41 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 48 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 409 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002686/6.411, allocations: 200 kB / 1.037 GB, free: 99.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.04912/6.46, allocations: 16.47 MB / 1.053 GB, free: 97.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.46, allocations: 3.031 kB / 1.053 GB, free: 97.83 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02194/6.482, allocations: 7.605 MB / 1.06 GB, free: 96.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007362/6.489, allocations: 0.6092 MB / 1.061 GB, free: 96.34 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06828/6.558, allocations: 22.61 MB / 1.083 GB, free: 92.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02539/6.583, allocations: 7.482 MB / 1.09 GB, free: 91.36 MB / 490.8 MB Notification: Performance of SimCode: time 2.114e-06/6.583, allocations: 0 / 1.09 GB, free: 91.36 MB / 490.8 MB