Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_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 1.983/1.983, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2728/2.256, allocations: 51.04 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/2.384, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3447/2.729, allocations: 88.72 MB / 404.7 MB, free: 4.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/2.729, allocations: 83.47 kB / 404.8 MB, free: 4.121 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.2634/2.993, allocations: 55.72 MB / 460.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/2.993, allocations: 12 kB / 460.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/3.011, allocations: 1.494 MB / 462 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007104/3.018, allocations: 1.719 MB / 463.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/3.018, allocations: 96 kB / 463.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/3.02, allocations: 160 kB / 464 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.018/3.038, allocations: 4.45 MB / 468.4 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/3.066, allocations: 6.134 MB / 474.6 MB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/3.066, allocations: 19.81 kB / 474.6 MB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/3.068, allocations: 11.91 kB / 474.6 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/3.07, allocations: 0.7161 MB / 475.3 MB, free: 408 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2114/3.282, allocations: 22.42 MB / 497.7 MB, free: 141.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/3.285, allocations: 1.548 MB / 499.3 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/3.286, allocations: 0.5944 MB / 499.9 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/3.286, allocations: 18.28 kB / 499.9 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/3.287, allocations: 43.12 kB / 499.9 MB, free: 140.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 5.3e-06/3.287, allocations: 0 / 499.9 MB, free: 140.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.007056/3.294, allocations: 1.634 MB / 0.4898 GB, free: 140.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/3.294, allocations: 62.62 kB / 0.4899 GB, free: 140.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/3.298, allocations: 1.6 MB / 0.4914 GB, free: 140.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/3.298, allocations: 25.7 kB / 0.4914 GB, free: 140.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/3.3, allocations: 1.884 MB / 0.4933 GB, free: 139.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/3.3, allocations: 404.3 kB / 0.4937 GB, free: 139.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/3.301, allocations: 3.906 kB / 0.4937 GB, free: 139.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004479/3.301, allocations: 0.4907 MB / 0.4942 GB, free: 139.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/3.304, allocations: 0.9325 MB / 0.4951 GB, free: 139.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/3.308, allocations: 2.977 MB / 0.498 GB, free: 136.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/3.312, allocations: 1.722 MB / 0.4997 GB, free: 136.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/3.312, allocations: 19.25 kB / 0.4997 GB, free: 136.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.009956/3.322, allocations: 3.461 MB / 0.5031 GB, free: 136.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/3.322, allocations: 3.375 kB / 0.5031 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/3.322, allocations: 74.5 kB / 0.5031 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/3.322, allocations: 105.8 kB / 0.5032 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004869/3.327, allocations: 0.7632 MB / 0.504 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/3.327, allocations: 153.1 kB / 0.5041 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/3.332, allocations: 371.4 kB / 0.5045 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/3.333, allocations: 202.9 kB / 0.5047 GB, free: 135.9 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.0009543/3.334, allocations: 290.8 kB / 0.5049 GB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/3.334, allocations: 166.2 kB / 0.5051 GB, free: 135.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/3.339, allocations: 1.371 MB / 0.5064 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/3.339, allocations: 16.59 kB / 0.5065 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/3.339, allocations: 0 / 0.5065 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/3.339, allocations: 3.188 kB / 0.5065 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/3.353, allocations: 5.251 MB / 0.5116 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/3.353, allocations: 13.75 kB / 0.5116 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/3.355, allocations: 153.7 kB / 0.5117 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/3.355, allocations: 15.81 kB / 0.5118 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/3.355, allocations: 26.59 kB / 0.5118 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/3.355, allocations: 18.34 kB / 0.5118 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/3.355, allocations: 17.12 kB / 0.5118 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004053/3.359, allocations: 2.453 MB / 0.5142 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004155/3.363, allocations: 2.843 MB / 0.517 GB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/3.364, allocations: 255.6 kB / 0.5172 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/3.364, allocations: 21.28 kB / 0.5173 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/3.366, allocations: 22.48 kB / 0.5173 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/3.366, allocations: 81.75 kB / 0.5174 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/3.366, allocations: 46.72 kB / 0.5174 GB, free: 130.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003775/3.37, allocations: 1.069 MB / 0.5184 GB, free: 130.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009014/3.379, allocations: 0.7057 MB / 0.5191 GB, free: 130.2 MB / 410.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.0008153/3.38, allocations: 142.4 kB / 0.5193 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005494/3.385, allocations: 2.221 MB / 0.5214 GB, free: 129.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/3.385, allocations: 0 / 0.5214 GB, free: 129.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/3.387, allocations: 0.6176 MB / 0.522 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/3.388, allocations: 172.2 kB / 0.5222 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/3.404, allocations: 4.753 MB / 0.5268 GB, free: 127.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007253/3.411, allocations: 2.63 MB / 0.5294 GB, free: 126.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/3.411, allocations: 4 kB / 0.5294 GB, free: 126.3 MB / 410.7 MB