Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.904/1.904, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2481/2.153, allocations: 51.03 MB / 267.3 MB, free: 5.23 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/2.265, allocations: 48.69 MB / 316 MB, free: 4.445 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/2.656, allocations: 96.48 MB / 412.5 MB, free: 12.59 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/2.656, allocations: 83.2 kB / 412.5 MB, free: 12.54 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.6505/3.307, allocations: 92.25 MB / 0.493 GB, free: 83.32 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/3.307, allocations: 9.031 kB / 0.493 GB, free: 83.32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.036/3.343, allocations: 4.082 MB / 0.497 GB, free: 83.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/3.363, allocations: 4.78 MB / 0.5016 GB, free: 82.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/3.363, allocations: 148 kB / 0.5018 GB, free: 82.43 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/3.366, allocations: 275.8 kB / 0.502 GB, free: 82.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02031/3.387, allocations: 6.477 MB / 0.5084 GB, free: 82.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/3.425, allocations: 9.884 MB / 0.518 GB, free: 79.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004434/3.426, allocations: 58.28 kB / 0.5181 GB, free: 79.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00285/3.429, allocations: 28.09 kB / 0.5181 GB, free: 79.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/3.431, allocations: 1.062 MB / 0.5191 GB, free: 79.7 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07312/3.504, allocations: 45.42 MB / 0.5635 GB, free: 46.19 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006329/3.51, allocations: 2.679 MB / 0.5661 GB, free: 44.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/3.517, allocations: 1.679 MB / 0.5677 GB, free: 44.04 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/3.538, allocations: 5.459 MB / 0.5731 GB, free: 40.94 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.4e-05/3.538, allocations: 54.12 kB / 0.5731 GB, free: 40.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=170): time 1.035e-05/3.538, allocations: 0 / 0.5731 GB, free: 40.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=188): time 0.05231/3.59, allocations: 12.13 MB / 0.585 GB, free: 34.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/3.59, allocations: 201.2 kB / 0.5852 GB, free: 34.24 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/3.601, allocations: 3.02 MB / 0.5881 GB, free: 31.58 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005875/3.602, allocations: 25.7 kB / 0.5881 GB, free: 31.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003827/3.606, allocations: 3.106 MB / 0.5912 GB, free: 28.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/3.608, allocations: 0.7015 MB / 0.5918 GB, free: 28.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/3.608, allocations: 0 / 0.5918 GB, free: 28.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004851/3.609, allocations: 0.5664 MB / 0.5924 GB, free: 27.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/3.615, allocations: 1.975 MB / 0.5943 GB, free: 25.86 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009201/3.624, allocations: 5.805 MB / 0.6 GB, free: 18.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008946/3.633, allocations: 3.379 MB / 0.6033 GB, free: 15.55 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/3.633, allocations: 43.91 kB / 0.6033 GB, free: 15.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.02282/3.656, allocations: 7.061 MB / 0.6102 GB, free: 9.312 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/3.656, allocations: 6.031 kB / 0.6102 GB, free: 9.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/3.656, allocations: 140 kB / 0.6104 GB, free: 9.172 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/3.658, allocations: 397.4 kB / 0.6108 GB, free: 8.824 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/3.668, allocations: 1.467 MB / 0.6122 GB, free: 7.531 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/3.674, allocations: 2.841 MB / 0.615 GB, free: 4.832 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007971/3.682, allocations: 219.7 kB / 0.6152 GB, free: 4.641 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/3.684, allocations: 388 kB / 0.6155 GB, free: 4.27 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (774): * Single equations (assignments): 770 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003439/3.688, allocations: 450 kB / 0.616 GB, free: 3.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/3.69, allocations: 321 kB / 0.6163 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/3.703, allocations: 2.557 MB / 0.6188 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000146/3.704, allocations: 20 kB / 0.6188 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/3.704, allocations: 7.906 kB / 0.6188 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-05/3.704, allocations: 7.734 kB / 0.6188 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03365/3.737, allocations: 6.29 MB / 0.6249 GB, free: 12.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/3.738, allocations: 0.5625 kB / 0.625 GB, free: 12.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006161/3.744, allocations: 343.4 kB / 0.6253 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/3.746, allocations: 180.5 kB / 0.6255 GB, free: 11.85 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006767/3.746, allocations: 13.44 kB / 0.6255 GB, free: 11.84 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007916/3.754, allocations: 2.404 MB / 0.6278 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/3.754, allocations: 0 / 0.6278 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02099/3.775, allocations: 5.106 MB / 0.6328 GB, free: 4.363 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2427/4.018, allocations: 7.351 MB / 0.64 GB, free: 134.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/4.022, allocations: 0.5878 MB / 0.6405 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/4.023, allocations: 6.281 kB / 0.6406 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005247/4.029, allocations: 81.16 kB / 0.6406 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/4.03, allocations: 104 kB / 0.6407 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004268/4.03, allocations: 55.55 kB / 0.6408 GB, free: 134.3 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.008455/4.039, allocations: 2.014 MB / 0.6428 GB, free: 134.1 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01235/4.051, allocations: 0.8458 MB / 0.6436 GB, free: 134.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/4.052, allocations: 145.4 kB / 0.6437 GB, free: 134 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01731/4.07, allocations: 4.731 MB / 0.6483 GB, free: 133.9 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/4.07, allocations: 0 / 0.6483 GB, free: 133.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004909/4.075, allocations: 1.485 MB / 0.6498 GB, free: 133.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/4.08, allocations: 292.3 kB / 0.6501 GB, free: 133.8 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/4.11, allocations: 7.708 MB / 0.6576 GB, free: 132.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/4.122, allocations: 3.838 MB / 0.6613 GB, free: 131.6 MB / 426.8 MB Notification: Performance of SimCode: time 2.013e-06/4.122, allocations: 0 / 0.6613 GB, free: 131.6 MB / 426.8 MB