Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce",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.149/2.149, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2421/2.391, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/2.507, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/2.9, allocations: 91.45 MB / 407.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/2.9, allocations: 83.12 kB / 407.5 MB, free: 1.527 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.9372/3.838, allocations: 161.2 MB / 0.5554 GB, free: 59.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/3.838, allocations: 9.844 kB / 0.5554 GB, free: 59.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03785/3.876, allocations: 2.996 MB / 0.5583 GB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04954/3.925, allocations: 9.657 MB / 0.5678 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008836/3.926, allocations: 264 kB / 0.568 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006271/3.932, allocations: 487.8 kB / 0.5685 GB, free: 49.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03672/3.969, allocations: 11.6 MB / 0.5798 GB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05782/4.027, allocations: 16.73 MB / 0.5962 GB, free: 19.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006614/4.028, allocations: 95.14 kB / 0.5962 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005196/4.033, allocations: 44 kB / 0.5963 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005046/4.038, allocations: 1.895 MB / 0.5981 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5799/4.618, allocations: 81.11 MB / 0.6773 GB, free: 89.09 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009201/4.627, allocations: 3.028 MB / 0.6803 GB, free: 88.43 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006184/4.634, allocations: 1.615 MB / 0.6819 GB, free: 88.4 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/4.659, allocations: 7.762 MB / 0.6895 GB, free: 86.53 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/4.659, allocations: 67.5 kB / 0.6895 GB, free: 86.48 MB / 442.8 MB Notification: Performance of pre-optimization done (n=190): time 6.342e-06/4.659, allocations: 0 / 0.6895 GB, free: 86.48 MB / 442.8 MB Notification: Performance of matching and sorting (n=190): time 0.02785/4.687, allocations: 4.684 MB / 0.6941 GB, free: 86.13 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/4.687, allocations: 150 kB / 0.6942 GB, free: 85.97 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01492/4.702, allocations: 5.212 MB / 0.6993 GB, free: 85.48 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004562/4.703, allocations: 25.7 kB / 0.6994 GB, free: 85.45 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004773/4.707, allocations: 5.271 MB / 0.7045 GB, free: 82.38 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/4.709, allocations: 0.7641 MB / 0.7052 GB, free: 81.96 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/4.71, allocations: 0 / 0.7052 GB, free: 81.96 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001028/4.711, allocations: 0.6817 MB / 0.7059 GB, free: 81.64 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007314/4.719, allocations: 2.252 MB / 0.7081 GB, free: 81.62 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/4.73, allocations: 8.061 MB / 0.716 GB, free: 74 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/4.742, allocations: 4.226 MB / 0.7201 GB, free: 73.97 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003402/4.743, allocations: 62.31 kB / 0.7202 GB, free: 73.97 MB / 442.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02773/4.771, allocations: 8.904 MB / 0.7289 GB, free: 71.48 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/4.771, allocations: 6.094 kB / 0.7289 GB, free: 71.48 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003971/4.771, allocations: 209.9 kB / 0.7291 GB, free: 71.48 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/4.771, allocations: 310.2 kB / 0.7294 GB, free: 71.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01512/4.787, allocations: 2.182 MB / 0.7315 GB, free: 71.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003438/4.787, allocations: 413.4 kB / 0.7319 GB, free: 71.12 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01406/4.801, allocations: 1.16 MB / 0.733 GB, free: 70.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002852/4.804, allocations: 0.5479 MB / 0.7336 GB, free: 70.43 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1140): * Single equations (assignments): 1137 * 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.004135/4.808, allocations: 0.6171 MB / 0.7342 GB, free: 69.93 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/4.81, allocations: 0.5189 MB / 0.7347 GB, free: 69.64 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/4.817, allocations: 2.193 MB / 0.7368 GB, free: 68.85 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.479e-05/4.817, allocations: 18.62 kB / 0.7368 GB, free: 68.85 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/4.817, allocations: 3.969 kB / 0.7368 GB, free: 68.85 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/4.818, allocations: 7.031 kB / 0.7368 GB, free: 68.85 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06928/4.887, allocations: 24.44 MB / 0.7607 GB, free: 57.09 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001109/4.887, allocations: 32 kB / 0.7607 GB, free: 57.05 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004997/4.892, allocations: 347.4 kB / 0.7611 GB, free: 56.76 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/4.892, allocations: 44 kB / 0.7611 GB, free: 56.72 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007409/4.893, allocations: 51.42 kB / 0.7612 GB, free: 56.67 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.395e-05/4.893, allocations: 65.08 kB / 0.7612 GB, free: 56.62 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.948e-05/4.893, allocations: 59.69 kB / 0.7613 GB, free: 56.56 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01381/4.907, allocations: 9.188 MB / 0.7703 GB, free: 46.14 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009668/4.917, allocations: 9.643 MB / 0.7797 GB, free: 35.26 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/4.919, allocations: 0.6009 MB / 0.7803 GB, free: 34.65 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/4.921, allocations: 50.12 kB / 0.7803 GB, free: 34.61 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005743/4.927, allocations: 144.9 kB / 0.7804 GB, free: 34.51 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/4.928, allocations: 186.9 kB / 0.7806 GB, free: 34.36 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/4.928, allocations: 95.19 kB / 0.7807 GB, free: 34.27 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.01023/4.938, allocations: 3.529 MB / 0.7842 GB, free: 31.21 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01333/4.952, allocations: 1.883 MB / 0.786 GB, free: 29.32 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 167 * 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.001125/4.953, allocations: 185.6 kB / 0.7862 GB, free: 29.14 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01487/4.968, allocations: 5.296 MB / 0.7913 GB, free: 24.36 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.743e-05/4.968, allocations: 8 kB / 0.7914 GB, free: 24.35 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/4.971, allocations: 1.172 MB / 0.7925 GB, free: 23.33 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00728/4.978, allocations: 0.6458 MB / 0.7931 GB, free: 22.77 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05229/5.031, allocations: 12.94 MB / 0.8058 GB, free: 10.64 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01914/5.05, allocations: 6.083 MB / 0.8117 GB, free: 6.121 MB / 442.8 MB Notification: Performance of SimCode: time 1.853e-06/5.05, allocations: 4 kB / 0.8117 GB, free: 6.117 MB / 442.8 MB