Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.743/2.743, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1733/2.916, allocations: 57.19 MB / 299.2 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/3.2, allocations: 54.85 MB / 354.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/3.678, allocations: 98.27 MB / 452.3 MB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/3.678, allocations: 82.31 kB / 452.4 MB, free: 33.13 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.4333/4.111, allocations: 67.16 MB / 0.5074 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/4.111, allocations: 8 kB / 0.5074 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/4.137, allocations: 1.609 MB / 0.509 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008267/4.146, allocations: 2.041 MB / 0.511 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/4.146, allocations: 124 kB / 0.5111 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/4.148, allocations: 208 kB / 0.5113 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01694/4.165, allocations: 5.479 MB / 0.5166 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/4.192, allocations: 7.473 MB / 0.5239 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/4.192, allocations: 15.81 kB / 0.524 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/4.194, allocations: 15.91 kB / 0.524 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/4.196, allocations: 0.8581 MB / 0.5248 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07135/4.267, allocations: 26.62 MB / 0.5508 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004526/4.272, allocations: 1.738 MB / 0.5525 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/4.274, allocations: 0.7226 MB / 0.5532 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/4.274, allocations: 20.98 kB / 0.5532 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/4.274, allocations: 43.56 kB / 0.5533 GB, free: 15.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 5.731e-06/4.274, allocations: 0 / 0.5533 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01026/4.284, allocations: 1.951 MB / 0.5552 GB, free: 13.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/4.285, allocations: 64.41 kB / 0.5552 GB, free: 13.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00558/4.29, allocations: 1.78 MB / 0.557 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002916/4.29, allocations: 25.7 kB / 0.557 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002787/4.293, allocations: 2.254 MB / 0.5592 GB, free: 8.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/4.294, allocations: 485.5 kB / 0.5597 GB, free: 8.504 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/4.295, allocations: 0 / 0.5597 GB, free: 8.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006121/4.295, allocations: 0.5188 MB / 0.5602 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/4.299, allocations: 1.085 MB / 0.5612 GB, free: 6.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/4.305, allocations: 3.362 MB / 0.5645 GB, free: 2.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006239/4.311, allocations: 1.971 MB / 0.5664 GB, free: 432 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.99e-05/4.312, allocations: 24 kB / 0.5665 GB, free: 408 kB / 426.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.01526/4.327, allocations: 3.98 MB / 0.5703 GB, free: 12.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/4.327, allocations: 7.984 kB / 0.5704 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/4.327, allocations: 80 kB / 0.5704 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/4.327, allocations: 120 kB / 0.5705 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007263/4.335, allocations: 0.8656 MB / 0.5714 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002084/4.335, allocations: 163.4 kB / 0.5715 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/4.34, allocations: 422.8 kB / 0.572 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/4.341, allocations: 232.1 kB / 0.5722 GB, free: 10.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (481): * Single equations (assignments): 478 * 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.0009373/4.342, allocations: 325.9 kB / 0.5725 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005787/4.343, allocations: 185.6 kB / 0.5727 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006097/4.349, allocations: 1.672 MB / 0.5743 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.348e-05/4.349, allocations: 12 kB / 0.5743 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/4.349, allocations: 0 / 0.5743 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/4.349, allocations: 7.969 kB / 0.5743 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02509/4.374, allocations: 7.945 MB / 0.5821 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.694e-05/4.374, allocations: 16.05 kB / 0.5821 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/4.377, allocations: 208.4 kB / 0.5823 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.275e-05/4.377, allocations: 36 kB / 0.5823 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/4.377, allocations: 27.98 kB / 0.5823 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.645e-05/4.377, allocations: 31.86 kB / 0.5824 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.15e-05/4.377, allocations: 27.88 kB / 0.5824 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00625/4.383, allocations: 3.357 MB / 0.5857 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006692/4.39, allocations: 3.752 MB / 0.5893 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/4.391, allocations: 286.2 kB / 0.5896 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006498/4.391, allocations: 27.98 kB / 0.5896 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/4.393, allocations: 31.97 kB / 0.5897 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/4.394, allocations: 107.6 kB / 0.5898 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/4.394, allocations: 55.98 kB / 0.5898 GB, free: 6.219 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.003745/4.398, allocations: 1.188 MB / 0.591 GB, free: 5.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007339/4.405, allocations: 0.8741 MB / 0.5918 GB, free: 4.125 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0008251/4.406, allocations: 154.7 kB / 0.592 GB, free: 3.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007897/4.414, allocations: 2.595 MB / 0.5945 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/4.414, allocations: 128 / 0.5945 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/4.417, allocations: 0.7651 MB / 0.5953 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/4.42, allocations: 207 kB / 0.5955 GB, free: 432 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/4.444, allocations: 5.929 MB / 0.6013 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009492/4.454, allocations: 3.099 MB / 0.6043 GB, free: 7.082 MB / 474.7 MB Notification: Performance of SimCode: time 2.455e-06/4.454, allocations: 0 / 0.6043 GB, free: 7.082 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat