Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce2",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.261/2.261, allocations: 234.9 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1581/2.42, allocations: 57.21 MB / 299.1 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/2.705, allocations: 54.83 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/3.125, allocations: 95.1 MB / 449.1 MB, free: 32.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/3.126, allocations: 78.59 kB / 449.1 MB, free: 32.05 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.2931/3.419, allocations: 55.72 MB / 0.493 GB, free: 20.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/3.419, allocations: 7.75 kB / 0.493 GB, free: 20.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/3.438, allocations: 1.49 MB / 0.4945 GB, free: 19.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007557/3.446, allocations: 1.718 MB / 0.4962 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/3.446, allocations: 94.56 kB / 0.4963 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/3.448, allocations: 162.5 kB / 0.4964 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0148/3.463, allocations: 4.447 MB / 0.5008 GB, free: 18.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/3.483, allocations: 6.141 MB / 0.5068 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.624e-05/3.483, allocations: 15.88 kB / 0.5068 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009825/3.484, allocations: 8 kB / 0.5068 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/3.485, allocations: 0.7096 MB / 0.5075 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0467/3.532, allocations: 22.43 MB / 0.5294 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/3.535, allocations: 1.551 MB / 0.5309 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/3.537, allocations: 0.5854 MB / 0.5315 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/3.537, allocations: 16.77 kB / 0.5315 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/3.537, allocations: 51.33 kB / 0.5315 GB, free: 5.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.799e-06/3.537, allocations: 0 / 0.5315 GB, free: 5.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.00749/3.545, allocations: 1.632 MB / 0.5331 GB, free: 3.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/3.545, allocations: 64.19 kB / 0.5332 GB, free: 3.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/3.55, allocations: 1.6 MB / 0.5347 GB, free: 2.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/3.55, allocations: 25.7 kB / 0.5348 GB, free: 2.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/3.552, allocations: 1.882 MB / 0.5366 GB, free: 148 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/3.553, allocations: 402.8 kB / 0.537 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/3.553, allocations: 7.938 kB / 0.537 GB, free: 15.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005355/3.554, allocations: 498 kB / 0.5375 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/3.557, allocations: 0.9358 MB / 0.5384 GB, free: 14.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/3.562, allocations: 2.973 MB / 0.5413 GB, free: 10.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/3.567, allocations: 1.727 MB / 0.543 GB, free: 8.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-05/3.567, allocations: 27.91 kB / 0.543 GB, free: 8.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01174/3.579, allocations: 3.453 MB / 0.5464 GB, free: 5.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/3.579, allocations: 9.562 kB / 0.5464 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/3.579, allocations: 72 kB / 0.5465 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/3.579, allocations: 112 kB / 0.5466 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006301/3.586, allocations: 0.7564 MB / 0.5473 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000185/3.586, allocations: 147.9 kB / 0.5474 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/3.59, allocations: 375.4 kB / 0.5478 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/3.591, allocations: 208 kB / 0.548 GB, free: 3.422 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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.000857/3.592, allocations: 290.1 kB / 0.5483 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/3.592, allocations: 177.8 kB / 0.5484 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/3.597, allocations: 1.37 MB / 0.5498 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.28e-05/3.597, allocations: 8 kB / 0.5498 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/3.597, allocations: 4 kB / 0.5498 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/3.597, allocations: 3.984 kB / 0.5498 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/3.613, allocations: 5.253 MB / 0.5549 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-05/3.614, allocations: 12 kB / 0.5549 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/3.615, allocations: 155.7 kB / 0.5551 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.104e-05/3.615, allocations: 19.91 kB / 0.5551 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/3.615, allocations: 16 kB / 0.5551 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-05/3.615, allocations: 23.92 kB / 0.5551 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/3.615, allocations: 16.38 kB / 0.5552 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004693/3.62, allocations: 2.449 MB / 0.5576 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005196/3.625, allocations: 2.844 MB / 0.5603 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/3.626, allocations: 250.6 kB / 0.5606 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000642/3.627, allocations: 23.92 kB / 0.5606 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/3.628, allocations: 15.98 kB / 0.5606 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/3.629, allocations: 79.55 kB / 0.5607 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/3.629, allocations: 47.98 kB / 0.5607 GB, free: 5.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003205/3.632, allocations: 1.074 MB / 0.5618 GB, free: 4.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005438/3.638, allocations: 0.6995 MB / 0.5625 GB, free: 3.383 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0006134/3.638, allocations: 142.9 kB / 0.5626 GB, free: 3.234 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006535/3.645, allocations: 2.217 MB / 0.5648 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/3.645, allocations: 4 kB / 0.5648 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/3.646, allocations: 0.6204 MB / 0.5654 GB, free: 428 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/3.648, allocations: 173.9 kB / 0.5655 GB, free: 252 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/3.665, allocations: 4.761 MB / 0.5702 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007512/3.672, allocations: 2.622 MB / 0.5727 GB, free: 8.625 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/3.672, allocations: 0 / 0.5727 GB, free: 8.625 MB / 442.7 MB