Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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 1.938/1.938, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2436/2.182, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/2.298, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/2.703, allocations: 93.58 MB / 409.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/2.703, allocations: 81.7 kB / 409.6 MB, free: 15.38 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 1.065/3.769, allocations: 202.2 MB / 0.5975 GB, free: 31.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/3.769, allocations: 12 kB / 0.5975 GB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04739/3.816, allocations: 3.387 MB / 0.6008 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05661/3.873, allocations: 10.68 MB / 0.6113 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/3.874, allocations: 348 kB / 0.6116 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008251/3.882, allocations: 0.6093 MB / 0.6122 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04616/3.929, allocations: 15.05 MB / 0.6269 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4301/4.359, allocations: 21.21 MB / 0.6476 GB, free: 84.45 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007709/4.36, allocations: 93.12 kB / 0.6477 GB, free: 84.45 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007212/4.367, allocations: 51.12 kB / 0.6477 GB, free: 84.45 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008898/4.376, allocations: 2.426 MB / 0.6501 GB, free: 84.43 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2164/4.592, allocations: 95.32 MB / 0.7432 GB, free: 49.32 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/4.606, allocations: 4.104 MB / 0.7472 GB, free: 47.56 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007301/4.614, allocations: 2.158 MB / 0.7493 GB, free: 46.77 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03443/4.648, allocations: 9.982 MB / 0.759 GB, free: 42.2 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/4.648, allocations: 64.22 kB / 0.7591 GB, free: 42.14 MB / 442.8 MB Notification: Performance of pre-optimization done (n=288): time 8.205e-06/4.648, allocations: 0 / 0.7591 GB, free: 42.14 MB / 442.8 MB Notification: Performance of matching and sorting (n=288): time 0.0344/4.683, allocations: 6.289 MB / 0.7652 GB, free: 40.75 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/4.683, allocations: 156.9 kB / 0.7654 GB, free: 40.59 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01677/4.7, allocations: 5.862 MB / 0.7711 GB, free: 38.52 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007483/4.7, allocations: 25.7 kB / 0.7711 GB, free: 38.48 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005587/4.706, allocations: 6.516 MB / 0.7775 GB, free: 33.55 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/4.708, allocations: 1.095 MB / 0.7786 GB, free: 32.75 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/4.711, allocations: 0 / 0.7786 GB, free: 32.75 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001453/4.712, allocations: 0.7717 MB / 0.7793 GB, free: 32.25 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/4.723, allocations: 2.889 MB / 0.7821 GB, free: 31.26 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03012/4.753, allocations: 9.719 MB / 0.7916 GB, free: 20.77 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02935/4.783, allocations: 5.253 MB / 0.7968 GB, free: 18.81 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002853/4.783, allocations: 72.12 kB / 0.7968 GB, free: 18.81 MB / 442.8 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.04101/4.824, allocations: 11.03 MB / 0.8076 GB, free: 14.99 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/4.824, allocations: 3.344 kB / 0.8076 GB, free: 14.99 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004867/4.825, allocations: 249.8 kB / 0.8078 GB, free: 14.99 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/4.825, allocations: 361.9 kB / 0.8082 GB, free: 14.99 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02076/4.846, allocations: 2.661 MB / 0.8108 GB, free: 14.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006214/4.847, allocations: 483.6 kB / 0.8112 GB, free: 14.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01751/4.864, allocations: 1.361 MB / 0.8126 GB, free: 13.81 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003485/4.868, allocations: 0.67 MB / 0.8132 GB, free: 13.46 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1124 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1402): * Single equations (assignments): 1399 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004724/4.873, allocations: 0.7045 MB / 0.8139 GB, free: 12.75 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/4.874, allocations: 0.6092 MB / 0.8145 GB, free: 12.13 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/4.888, allocations: 3.416 MB / 0.8179 GB, free: 9.273 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/4.888, allocations: 28 kB / 0.8179 GB, free: 9.246 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/4.888, allocations: 0 / 0.8179 GB, free: 9.246 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/4.888, allocations: 15.38 kB / 0.8179 GB, free: 9.246 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3595/5.247, allocations: 56.36 MB / 0.8729 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000227/5.248, allocations: 54.69 kB / 0.873 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00558/5.253, allocations: 0.551 MB / 0.8735 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/5.253, allocations: 81.28 kB / 0.8736 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009156/5.254, allocations: 96.02 kB / 0.8737 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/5.255, allocations: 108.8 kB / 0.8738 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.549e-05/5.255, allocations: 90.62 kB / 0.8739 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01507/5.27, allocations: 15.91 MB / 0.8894 GB, free: 85.85 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01675/5.286, allocations: 16.39 MB / 0.9054 GB, free: 69.77 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003581/5.29, allocations: 0.7268 MB / 0.9061 GB, free: 69.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003503/5.294, allocations: 82.73 kB / 0.9062 GB, free: 69.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007808/5.302, allocations: 191 kB / 0.9064 GB, free: 69.3 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/5.303, allocations: 320.1 kB / 0.9067 GB, free: 69.22 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006127/5.304, allocations: 152.2 kB / 0.9069 GB, free: 69.2 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.01172/5.315, allocations: 3.929 MB / 0.9107 GB, free: 67.85 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01824/5.334, allocations: 2.455 MB / 0.9131 GB, free: 67.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/5.335, allocations: 241 kB / 0.9133 GB, free: 67.39 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01845/5.354, allocations: 6.871 MB / 0.92 GB, free: 65.71 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.099e-05/5.354, allocations: 11.31 kB / 0.92 GB, free: 65.71 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004973/5.359, allocations: 1.779 MB / 0.9218 GB, free: 65.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007975/5.367, allocations: 0.7658 MB / 0.9225 GB, free: 64.87 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06839/5.435, allocations: 17.16 MB / 0.9393 GB, free: 54.47 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02593/5.461, allocations: 7.587 MB / 0.9467 GB, free: 48.9 MB / 442.8 MB Notification: Performance of SimCode: time 1.823e-06/5.461, allocations: 0 / 0.9467 GB, free: 48.9 MB / 442.8 MB