Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_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.257/2.257, allocations: 235 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.175/2.432, allocations: 57.21 MB / 299.1 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/2.736, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/3.153, allocations: 97.96 MB / 451.9 MB, free: 32.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/3.153, allocations: 79.8 kB / 452 MB, free: 32.63 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.86/4.013, allocations: 161.2 MB / 0.5989 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/4.013, allocations: 12 kB / 0.5989 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03564/4.049, allocations: 2.992 MB / 0.6018 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03912/4.088, allocations: 9.666 MB / 0.6112 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007316/4.089, allocations: 267.9 kB / 0.6115 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0047/4.093, allocations: 475.9 kB / 0.6119 GB, free: 3.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3766/4.47, allocations: 11.59 MB / 0.6233 GB, free: 109 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/4.536, allocations: 16.72 MB / 0.6396 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005422/4.536, allocations: 92.12 kB / 0.6397 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004076/4.541, allocations: 43.56 kB / 0.6397 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004876/4.545, allocations: 1.896 MB / 0.6416 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/4.712, allocations: 81.12 MB / 0.7208 GB, free: 57.72 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/4.719, allocations: 3.023 MB / 0.7238 GB, free: 56.3 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004084/4.723, allocations: 1.615 MB / 0.7253 GB, free: 55.71 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02681/4.75, allocations: 7.764 MB / 0.7329 GB, free: 51.95 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/4.75, allocations: 56.81 kB / 0.733 GB, free: 51.9 MB / 474.8 MB Notification: Performance of pre-optimization done (n=190): time 5.971e-06/4.75, allocations: 2.25 kB / 0.733 GB, free: 51.9 MB / 474.8 MB Notification: Performance of matching and sorting (n=190): time 0.03041/4.781, allocations: 4.672 MB / 0.7375 GB, free: 50.9 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/4.781, allocations: 151 kB / 0.7377 GB, free: 50.74 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/4.796, allocations: 5.219 MB / 0.7428 GB, free: 48.93 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005273/4.797, allocations: 25.7 kB / 0.7428 GB, free: 48.89 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005094/4.802, allocations: 5.266 MB / 0.7479 GB, free: 45.37 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/4.804, allocations: 0.7646 MB / 0.7487 GB, free: 44.83 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/4.805, allocations: 0 / 0.7487 GB, free: 44.83 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009314/4.806, allocations: 0.6852 MB / 0.7494 GB, free: 44.36 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006881/4.813, allocations: 2.253 MB / 0.7516 GB, free: 43.61 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/4.824, allocations: 8.064 MB / 0.7594 GB, free: 34.94 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/4.836, allocations: 4.231 MB / 0.7636 GB, free: 33.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003819/4.836, allocations: 60.28 kB / 0.7636 GB, free: 33.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03534/4.871, allocations: 8.901 MB / 0.7723 GB, free: 30.82 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/4.872, allocations: 4.531 kB / 0.7723 GB, free: 30.82 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001066/4.873, allocations: 210.2 kB / 0.7725 GB, free: 30.82 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/4.873, allocations: 314.8 kB / 0.7728 GB, free: 30.81 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.016/4.889, allocations: 2.178 MB / 0.7749 GB, free: 30.46 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003791/4.89, allocations: 412.8 kB / 0.7753 GB, free: 30.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/4.904, allocations: 1.161 MB / 0.7765 GB, free: 29 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/4.906, allocations: 0.5501 MB / 0.777 GB, free: 28.45 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.003187/4.91, allocations: 0.6167 MB / 0.7776 GB, free: 27.83 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/4.911, allocations: 0.5244 MB / 0.7781 GB, free: 27.3 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008357/4.919, allocations: 2.193 MB / 0.7803 GB, free: 25.46 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/4.919, allocations: 16 kB / 0.7803 GB, free: 25.45 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/4.919, allocations: 4 kB / 0.7803 GB, free: 25.45 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/4.92, allocations: 6.281 kB / 0.7803 GB, free: 25.45 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06524/4.985, allocations: 24.45 MB / 0.8042 GB, free: 4.82 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001477/4.985, allocations: 32 kB / 0.8042 GB, free: 4.789 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/4.989, allocations: 346.6 kB / 0.8045 GB, free: 4.496 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.045e-05/4.989, allocations: 44 kB / 0.8046 GB, free: 4.453 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003626/4.989, allocations: 55.7 kB / 0.8046 GB, free: 4.402 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.376e-05/4.989, allocations: 59.62 kB / 0.8047 GB, free: 4.352 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-05/4.989, allocations: 55.75 kB / 0.8047 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1975/5.187, allocations: 9.188 MB / 0.8137 GB, free: 91.41 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009006/5.196, allocations: 9.657 MB / 0.8231 GB, free: 83.31 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/5.198, allocations: 0.5995 MB / 0.8237 GB, free: 82.93 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002799/5.201, allocations: 47.89 kB / 0.8238 GB, free: 82.93 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/5.207, allocations: 140.7 kB / 0.8239 GB, free: 82.92 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/5.208, allocations: 184 kB / 0.8241 GB, free: 82.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/5.208, allocations: 95.45 kB / 0.8242 GB, free: 82.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.0113/5.219, allocations: 3.523 MB / 0.8276 GB, free: 82.69 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01818/5.238, allocations: 1.882 MB / 0.8295 GB, free: 82.43 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.001039/5.239, allocations: 189.5 kB / 0.8296 GB, free: 82.34 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0135/5.252, allocations: 5.3 MB / 0.8348 GB, free: 82.33 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.435e-05/5.252, allocations: 3.156 kB / 0.8348 GB, free: 82.33 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003393/5.256, allocations: 1.173 MB / 0.836 GB, free: 82.33 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/5.262, allocations: 0.6503 MB / 0.8366 GB, free: 82.3 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/5.307, allocations: 12.95 MB / 0.8492 GB, free: 78.7 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02/5.327, allocations: 6.076 MB / 0.8552 GB, free: 77.81 MB / 474.8 MB Notification: Performance of SimCode: time 1.653e-06/5.327, allocations: 0 / 0.8552 GB, free: 77.81 MB / 474.8 MB