Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.289/2.289, allocations: 209.3 MB / 216.3 MB, free: 4.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1516/2.441, allocations: 51.02 MB / 267.3 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/2.724, allocations: 48.7 MB / 316 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/2.908, allocations: 93.36 MB / 409.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/2.908, allocations: 79.95 kB / 409.4 MB, free: 3.594 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.568/4.476, allocations: 203.4 MB / 0.5985 GB, free: 36.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/4.476, allocations: 10.19 kB / 0.5985 GB, free: 36.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03526/4.512, allocations: 3.393 MB / 0.6018 GB, free: 35.43 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03997/4.552, allocations: 10.68 MB / 0.6122 GB, free: 34.38 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008603/4.553, allocations: 347.2 kB / 0.6125 GB, free: 34.38 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00644/4.559, allocations: 0.6141 MB / 0.6131 GB, free: 34.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04268/4.602, allocations: 15.05 MB / 0.6278 GB, free: 34.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0688/4.671, allocations: 21.22 MB / 0.6486 GB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008352/4.671, allocations: 101.6 kB / 0.6487 GB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005952/4.677, allocations: 48.22 kB / 0.6487 GB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005956/4.684, allocations: 2.406 MB / 0.6511 GB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.239/4.923, allocations: 95.32 MB / 0.7441 GB, free: 4.258 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01584/4.939, allocations: 4.098 MB / 0.7481 GB, free: 436 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2334/5.172, allocations: 2.671 MB / 0.7507 GB, free: 117.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03561/5.208, allocations: 9.985 MB / 0.7605 GB, free: 115.9 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/5.208, allocations: 67.34 kB / 0.7606 GB, free: 115.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=288): time 7.133e-06/5.208, allocations: 0 / 0.7606 GB, free: 115.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=288): time 0.03888/5.247, allocations: 6.283 MB / 0.7667 GB, free: 115.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/5.247, allocations: 157.4 kB / 0.7668 GB, free: 115.6 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0236/5.27, allocations: 5.864 MB / 0.7726 GB, free: 115.3 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009806/5.271, allocations: 28.7 kB / 0.7726 GB, free: 115.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006822/5.278, allocations: 6.509 MB / 0.779 GB, free: 111.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002031/5.28, allocations: 1.106 MB / 0.78 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/5.282, allocations: 0 / 0.78 GB, free: 110.9 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008528/5.283, allocations: 0.7622 MB / 0.7808 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008156/5.291, allocations: 2.893 MB / 0.7836 GB, free: 110.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/5.305, allocations: 9.724 MB / 0.7931 GB, free: 101.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/5.319, allocations: 5.253 MB / 0.7982 GB, free: 101.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003132/5.319, allocations: 74.12 kB / 0.7983 GB, free: 101.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.03454/5.354, allocations: 11.03 MB / 0.8091 GB, free: 101.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/5.354, allocations: 3.625 kB / 0.8091 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005459/5.354, allocations: 247 kB / 0.8093 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/5.355, allocations: 361.1 kB / 0.8097 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/5.375, allocations: 2.659 MB / 0.8123 GB, free: 100.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000939/5.376, allocations: 482.1 kB / 0.8127 GB, free: 100.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02474/5.401, allocations: 1.362 MB / 0.814 GB, free: 100 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003133/5.404, allocations: 0.6664 MB / 0.8147 GB, free: 100 MB / 458.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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.004366/5.409, allocations: 0.7029 MB / 0.8154 GB, free: 99.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/5.411, allocations: 0.6201 MB / 0.816 GB, free: 99.18 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/5.422, allocations: 3.412 MB / 0.8193 GB, free: 99.02 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/5.423, allocations: 26.62 kB / 0.8193 GB, free: 99.02 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/5.423, allocations: 3.5 kB / 0.8194 GB, free: 99.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/5.423, allocations: 10.69 kB / 0.8194 GB, free: 99.02 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1347/5.557, allocations: 58.79 MB / 0.8768 GB, free: 71.88 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001689/5.558, allocations: 52 kB / 0.8768 GB, free: 71.82 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005368/5.563, allocations: 0.5481 MB / 0.8774 GB, free: 71.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/5.563, allocations: 87.66 kB / 0.8774 GB, free: 71.28 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/5.564, allocations: 96.75 kB / 0.8775 GB, free: 71.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/5.564, allocations: 104.5 kB / 0.8776 GB, free: 71.11 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.175e-05/5.564, allocations: 87.62 kB / 0.8777 GB, free: 71.02 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01532/5.58, allocations: 15.92 MB / 0.8933 GB, free: 52.88 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01496/5.595, allocations: 16.4 MB / 0.9093 GB, free: 34.18 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/5.597, allocations: 0.7239 MB / 0.91 GB, free: 33.46 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/5.6, allocations: 81.84 kB / 0.9101 GB, free: 33.39 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007299/5.607, allocations: 192.4 kB / 0.9102 GB, free: 33.24 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/5.608, allocations: 317.2 kB / 0.9105 GB, free: 32.99 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005206/5.609, allocations: 162.2 kB / 0.9107 GB, free: 32.85 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.01161/5.621, allocations: 3.933 MB / 0.9145 GB, free: 29.45 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.02358/5.644, allocations: 2.447 MB / 0.9169 GB, free: 27 MB / 458.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.002631/5.647, allocations: 240.8 kB / 0.9172 GB, free: 26.76 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01863/5.666, allocations: 6.873 MB / 0.9239 GB, free: 20.55 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.526e-05/5.666, allocations: 9.688 kB / 0.9239 GB, free: 20.55 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2154/5.881, allocations: 1.787 MB / 0.9256 GB, free: 106.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008069/5.889, allocations: 0.7562 MB / 0.9264 GB, free: 106.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05859/5.948, allocations: 17.11 MB / 0.9431 GB, free: 101.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02749/5.976, allocations: 7.59 MB / 0.9505 GB, free: 100.9 MB / 458.8 MB Notification: Performance of SimCode: time 2.675e-06/5.976, allocations: 0 / 0.9505 GB, free: 100.9 MB / 458.8 MB