Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForce2",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.456/2.456, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1739/2.63, allocations: 57.19 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/2.97, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/3.44, allocations: 95.09 MB / 449.2 MB, free: 31.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/3.441, allocations: 78.8 kB / 449.2 MB, free: 31.97 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.2935/3.734, allocations: 55.71 MB / 0.4931 GB, free: 19.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/3.734, allocations: 7.812 kB / 0.4931 GB, free: 19.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/3.753, allocations: 1.491 MB / 0.4946 GB, free: 19.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007812/3.761, allocations: 1.718 MB / 0.4963 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/3.761, allocations: 93.41 kB / 0.4964 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/3.763, allocations: 163 kB / 0.4965 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01625/3.78, allocations: 4.452 MB / 0.5009 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/3.809, allocations: 6.137 MB / 0.5068 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/3.809, allocations: 11.88 kB / 0.5069 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002265/3.811, allocations: 12 kB / 0.5069 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/3.814, allocations: 0.7173 MB / 0.5076 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07248/3.886, allocations: 22.43 MB / 0.5295 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/3.89, allocations: 1.551 MB / 0.531 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/3.892, allocations: 0.5854 MB / 0.5316 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.933e-05/3.892, allocations: 24.75 kB / 0.5316 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/3.892, allocations: 39.34 kB / 0.5316 GB, free: 5.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.669e-06/3.892, allocations: 4 kB / 0.5316 GB, free: 5.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.008933/3.901, allocations: 1.636 MB / 0.5332 GB, free: 3.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/3.901, allocations: 60.19 kB / 0.5333 GB, free: 3.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/3.907, allocations: 1.604 MB / 0.5348 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/3.907, allocations: 25.7 kB / 0.5349 GB, free: 1.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002247/3.909, allocations: 1.882 MB / 0.5367 GB, free: 76 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008089/3.91, allocations: 402.7 kB / 0.5371 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/3.91, allocations: 0 / 0.5371 GB, free: 15.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005606/3.911, allocations: 0.4902 MB / 0.5376 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/3.914, allocations: 0.9398 MB / 0.5385 GB, free: 14.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007992/3.922, allocations: 2.965 MB / 0.5414 GB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007668/3.93, allocations: 1.731 MB / 0.5431 GB, free: 8.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/3.93, allocations: 24 kB / 0.5431 GB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01242/3.942, allocations: 3.457 MB / 0.5465 GB, free: 5.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/3.943, allocations: 8 kB / 0.5465 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/3.943, allocations: 75.94 kB / 0.5466 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/3.943, allocations: 108 kB / 0.5467 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005788/3.949, allocations: 0.7531 MB / 0.5474 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001964/3.949, allocations: 155.4 kB / 0.5475 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/3.954, allocations: 371.4 kB / 0.5479 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009166/3.955, allocations: 208 kB / 0.5481 GB, free: 3.359 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.0007952/3.956, allocations: 289.1 kB / 0.5484 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/3.956, allocations: 165.8 kB / 0.5485 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/3.962, allocations: 1.377 MB / 0.5499 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.554e-05/3.962, allocations: 8 kB / 0.5499 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/3.962, allocations: 4 kB / 0.5499 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/3.962, allocations: 3.984 kB / 0.5499 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/3.979, allocations: 5.253 MB / 0.555 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/3.979, allocations: 12 kB / 0.555 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/3.98, allocations: 155.7 kB / 0.5552 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-05/3.98, allocations: 19.91 kB / 0.5552 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/3.981, allocations: 16 kB / 0.5552 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-05/3.981, allocations: 24.52 kB / 0.5552 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/3.981, allocations: 19.94 kB / 0.5553 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004798/3.985, allocations: 2.449 MB / 0.5576 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00514/3.991, allocations: 2.844 MB / 0.5604 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/3.991, allocations: 246.7 kB / 0.5607 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/3.992, allocations: 15.98 kB / 0.5607 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/3.993, allocations: 27.92 kB / 0.5607 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/3.994, allocations: 75.55 kB / 0.5608 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/3.994, allocations: 47.98 kB / 0.5608 GB, free: 5.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003475/3.997, allocations: 1.081 MB / 0.5619 GB, free: 4.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006291/4.004, allocations: 0.6878 MB / 0.5625 GB, free: 3.336 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.0007917/4.005, allocations: 150.8 kB / 0.5627 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007003/4.012, allocations: 2.22 MB / 0.5649 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/4.012, allocations: 1.812 kB / 0.5649 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/4.014, allocations: 0.6264 MB / 0.5655 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/4.016, allocations: 173.8 kB / 0.5656 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/4.034, allocations: 4.762 MB / 0.5703 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007532/4.042, allocations: 2.618 MB / 0.5728 GB, free: 8.566 MB / 442.7 MB Notification: Performance of SimCode: time 2.215e-06/4.042, allocations: 4 kB / 0.5728 GB, free: 8.562 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat