Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForce",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.877/2.877, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2289/3.106, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/3.415, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/3.826, allocations: 97.96 MB / 452 MB, free: 32.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/3.826, allocations: 74.02 kB / 452.1 MB, free: 32.53 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.8256/4.652, allocations: 161.2 MB / 0.599 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/4.652, allocations: 15.94 kB / 0.599 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/4.696, allocations: 2.992 MB / 0.6019 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05351/4.749, allocations: 9.662 MB / 0.6113 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/4.751, allocations: 267.9 kB / 0.6116 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006606/4.757, allocations: 483.9 kB / 0.6121 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4659/5.223, allocations: 11.59 MB / 0.6234 GB, free: 108.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05503/5.278, allocations: 16.73 MB / 0.6397 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005887/5.279, allocations: 85.81 kB / 0.6398 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004845/5.284, allocations: 45.69 kB / 0.6398 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005864/5.29, allocations: 1.897 MB / 0.6417 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1866/5.477, allocations: 81.13 MB / 0.7209 GB, free: 57.36 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/5.489, allocations: 3.021 MB / 0.7239 GB, free: 55.94 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006889/5.496, allocations: 1.609 MB / 0.7254 GB, free: 55.36 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04498/5.541, allocations: 7.767 MB / 0.733 GB, free: 51.6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/5.541, allocations: 58.44 kB / 0.7331 GB, free: 51.55 MB / 474.8 MB Notification: Performance of pre-optimization done (n=190): time 9.057e-06/5.541, allocations: 0 / 0.7331 GB, free: 51.55 MB / 474.8 MB Notification: Performance of matching and sorting (n=190): time 0.04645/5.587, allocations: 4.681 MB / 0.7376 GB, free: 50.54 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/5.587, allocations: 147.5 kB / 0.7378 GB, free: 50.38 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/5.603, allocations: 5.221 MB / 0.7429 GB, free: 48.57 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005057/5.603, allocations: 25.7 kB / 0.7429 GB, free: 48.54 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005593/5.609, allocations: 5.27 MB / 0.7481 GB, free: 45 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/5.611, allocations: 0.7615 MB / 0.7488 GB, free: 44.46 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/5.612, allocations: 3.844 kB / 0.7488 GB, free: 44.46 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009856/5.613, allocations: 0.6768 MB / 0.7495 GB, free: 44 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009459/5.622, allocations: 2.254 MB / 0.7517 GB, free: 43.24 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01621/5.639, allocations: 8.065 MB / 0.7595 GB, free: 34.57 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/5.651, allocations: 4.227 MB / 0.7637 GB, free: 33.43 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002189/5.651, allocations: 65.72 kB / 0.7637 GB, free: 33.42 MB / 474.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03911/5.69, allocations: 8.898 MB / 0.7724 GB, free: 30.47 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/5.69, allocations: 4.531 kB / 0.7724 GB, free: 30.47 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004863/5.691, allocations: 214.5 kB / 0.7726 GB, free: 30.46 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/5.691, allocations: 306.8 kB / 0.7729 GB, free: 30.46 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02049/5.712, allocations: 2.185 MB / 0.7751 GB, free: 30.03 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/5.712, allocations: 410.9 kB / 0.7754 GB, free: 29.67 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02479/5.737, allocations: 1.155 MB / 0.7766 GB, free: 28.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/5.741, allocations: 0.5539 MB / 0.7771 GB, free: 28.02 MB / 474.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.00429/5.745, allocations: 0.6144 MB / 0.7777 GB, free: 27.4 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00234/5.747, allocations: 0.5274 MB / 0.7782 GB, free: 26.87 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008599/5.756, allocations: 2.181 MB / 0.7804 GB, free: 25.04 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/5.756, allocations: 23.03 kB / 0.7804 GB, free: 25.02 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/5.756, allocations: 0 / 0.7804 GB, free: 25.02 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.851e-05/5.756, allocations: 14.09 kB / 0.7804 GB, free: 25.01 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07785/5.834, allocations: 24.44 MB / 0.8043 GB, free: 4.395 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-05/5.834, allocations: 35.94 kB / 0.8043 GB, free: 4.359 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004005/5.838, allocations: 343.5 kB / 0.8046 GB, free: 4.07 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.605e-05/5.838, allocations: 44 kB / 0.8047 GB, free: 4.027 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/5.839, allocations: 51.33 kB / 0.8047 GB, free: 3.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.114e-05/5.839, allocations: 62.98 kB / 0.8048 GB, free: 3.926 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-05/5.839, allocations: 51.75 kB / 0.8048 GB, free: 3.875 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2525/6.091, allocations: 9.192 MB / 0.8138 GB, free: 90.66 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01037/6.102, allocations: 9.65 MB / 0.8232 GB, free: 82.55 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/6.104, allocations: 0.6051 MB / 0.8238 GB, free: 82.16 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/6.106, allocations: 44.14 kB / 0.8239 GB, free: 82.16 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006719/6.113, allocations: 138.2 kB / 0.824 GB, free: 82.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/6.114, allocations: 192.7 kB / 0.8242 GB, free: 82.14 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000513/6.115, allocations: 99.14 kB / 0.8243 GB, free: 82.14 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01156/6.126, allocations: 3.526 MB / 0.8277 GB, free: 81.92 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01436/6.141, allocations: 1.879 MB / 0.8296 GB, free: 81.67 MB / 474.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.00107/6.142, allocations: 191.6 kB / 0.8297 GB, free: 81.58 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01468/6.157, allocations: 5.297 MB / 0.8349 GB, free: 81.57 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-05/6.157, allocations: 7.109 kB / 0.8349 GB, free: 81.57 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003444/6.16, allocations: 1.168 MB / 0.8361 GB, free: 81.57 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006672/6.167, allocations: 0.6518 MB / 0.8367 GB, free: 81.54 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04226/6.209, allocations: 12.95 MB / 0.8493 GB, free: 77.93 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01702/6.226, allocations: 6.069 MB / 0.8553 GB, free: 77.05 MB / 474.8 MB Notification: Performance of SimCode: time 1.613e-06/6.226, allocations: 0 / 0.8553 GB, free: 77.05 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat