Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_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.04/2.04, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2351/2.276, allocations: 51.03 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/2.394, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/2.76, allocations: 87.93 MB / 403.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.76, allocations: 75.78 kB / 404 MB, free: 5.109 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.6791/3.439, allocations: 97 MB / 0.4892 GB, free: 85.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/3.439, allocations: 9.406 kB / 0.4893 GB, free: 85.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0477/3.487, allocations: 5.72 MB / 0.4948 GB, free: 85.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03997/3.527, allocations: 9.108 MB / 0.5037 GB, free: 84.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/3.528, allocations: 108.2 kB / 0.5038 GB, free: 84.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/3.53, allocations: 217.4 kB / 0.504 GB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01707/3.547, allocations: 4.426 MB / 0.5084 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/3.566, allocations: 6.175 MB / 0.5144 GB, free: 83.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006032/3.567, allocations: 52.12 kB / 0.5144 GB, free: 83.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/3.569, allocations: 25.78 kB / 0.5145 GB, free: 83.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003645/3.573, allocations: 0.6582 MB / 0.5151 GB, free: 83.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/3.63, allocations: 29.62 MB / 0.544 GB, free: 63.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/3.631, allocations: 330.9 kB / 0.5444 GB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/3.631, allocations: 161.8 kB / 0.5445 GB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/3.631, allocations: 7.656 kB / 0.5445 GB, free: 63.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/3.631, allocations: 45.31 kB / 0.5446 GB, free: 63.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.416e-06/3.631, allocations: 0 / 0.5446 GB, free: 63.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.01028/3.641, allocations: 1.598 MB / 0.5461 GB, free: 63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/3.642, allocations: 243 kB / 0.5463 GB, free: 62.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/3.652, allocations: 3.463 MB / 0.5497 GB, free: 61.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/3.652, allocations: 26.7 kB / 0.5498 GB, free: 61.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/3.655, allocations: 2.264 MB / 0.552 GB, free: 59.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/3.655, allocations: 162.6 kB / 0.5521 GB, free: 59.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/3.656, allocations: 0 / 0.5521 GB, free: 59.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/3.656, allocations: 456.5 kB / 0.5526 GB, free: 59.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/3.658, allocations: 0.6954 MB / 0.5532 GB, free: 59.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/3.662, allocations: 3.267 MB / 0.5564 GB, free: 55.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005693/3.668, allocations: 1.469 MB / 0.5579 GB, free: 54.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001858/3.668, allocations: 27.19 kB / 0.5579 GB, free: 54.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01358/3.681, allocations: 3.34 MB / 0.5611 GB, free: 53.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/3.681, allocations: 4.031 kB / 0.5612 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/3.682, allocations: 93.62 kB / 0.5612 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/3.682, allocations: 138.3 kB / 0.5614 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005465/3.687, allocations: 0.8511 MB / 0.5622 GB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/3.688, allocations: 180.5 kB / 0.5624 GB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/3.694, allocations: 485.7 kB / 0.5628 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009042/3.695, allocations: 239.1 kB / 0.5631 GB, free: 53.2 MB / 410.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.0007531/3.696, allocations: 356.6 kB / 0.5634 GB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/3.697, allocations: 337.6 kB / 0.5637 GB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/3.699, allocations: 354.9 kB / 0.5641 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/3.699, allocations: 4.125 kB / 0.5641 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/3.699, allocations: 1.375 kB / 0.5641 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/3.699, allocations: 1.375 kB / 0.5641 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/3.71, allocations: 3.495 MB / 0.5675 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/3.71, allocations: 10.53 kB / 0.5675 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/3.711, allocations: 82.06 kB / 0.5676 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.815e-05/3.711, allocations: 13.69 kB / 0.5676 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/3.711, allocations: 12.94 kB / 0.5676 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/3.711, allocations: 19.42 kB / 0.5676 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/3.711, allocations: 14.47 kB / 0.5676 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00259/3.714, allocations: 2.064 MB / 0.5697 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002508/3.716, allocations: 2.491 MB / 0.5721 GB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/3.718, allocations: 439.6 kB / 0.5725 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/3.719, allocations: 12.81 kB / 0.5725 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/3.722, allocations: 48.66 kB / 0.5726 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/3.722, allocations: 53.25 kB / 0.5726 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/3.722, allocations: 24.97 kB / 0.5726 GB, free: 45.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.007422/3.73, allocations: 2.457 MB / 0.575 GB, free: 43.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007558/3.737, allocations: 0.8472 MB / 0.5759 GB, free: 43.1 MB / 410.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.0005968/3.738, allocations: 129.9 kB / 0.576 GB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004242/3.742, allocations: 1.63 MB / 0.5776 GB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/3.742, allocations: 4.062 kB / 0.5776 GB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/3.743, allocations: 171.8 kB / 0.5777 GB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/3.748, allocations: 0.522 MB / 0.5783 GB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/3.765, allocations: 5.5 MB / 0.5836 GB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/3.775, allocations: 3.146 MB / 0.5867 GB, free: 33.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/3.775, allocations: 0 / 0.5867 GB, free: 33.38 MB / 410.7 MB