Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_PrismaticInit",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.002/2.002, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2071/2.209, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/2.315, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/2.662, allocations: 89.92 MB / 405.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/2.663, allocations: 79.56 kB / 406 MB, free: 3.043 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.1625/2.825, allocations: 33.39 MB / 439.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.825, allocations: 12 kB / 439.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/2.828, allocations: 321.5 kB / 439.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/2.841, allocations: 2.947 MB / 442.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/2.841, allocations: 44 kB / 442.7 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/2.842, allocations: 84 kB / 442.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005491/2.847, allocations: 1.802 MB / 444.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009486/2.857, allocations: 2.506 MB / 447.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/2.857, allocations: 19.84 kB / 447.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006213/2.858, allocations: 11.94 kB / 447.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/2.859, allocations: 278 kB / 447.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03197/2.891, allocations: 11.91 MB / 459.3 MB, free: 452 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/2.893, allocations: 413.6 kB / 459.7 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/2.895, allocations: 363 kB / 460 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007678/2.903, allocations: 1.97 MB / 462 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/2.903, allocations: 42.5 kB / 462.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 7.715e-06/2.903, allocations: 4 kB / 462.1 MB, free: 13.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01452/2.917, allocations: 2.73 MB / 464.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/2.917, allocations: 81.55 kB / 464.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/2.92, allocations: 0.9337 MB / 465.8 MB, free: 9.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/2.92, allocations: 29.7 kB / 465.8 MB, free: 9.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/2.921, allocations: 0.8221 MB / 466.7 MB, free: 8.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/2.921, allocations: 189.4 kB / 466.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/2.921, allocations: 0 / 466.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003763/2.921, allocations: 422.7 kB / 467.3 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/2.923, allocations: 355.9 kB / 467.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/2.924, allocations: 1.171 MB / 468.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/2.926, allocations: 0.622 MB / 469.4 MB, free: 5.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/2.926, allocations: 8 kB / 469.4 MB, free: 5.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003944/2.93, allocations: 1.432 MB / 470.8 MB, free: 4.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/2.93, allocations: 8 kB / 470.8 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-05/2.93, allocations: 32.86 kB / 470.9 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003678/2.93, allocations: 100.8 kB / 471 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/2.934, allocations: 343.4 kB / 471.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/2.936, allocations: 1.614 MB / 472.9 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/2.938, allocations: 39.98 kB / 473 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/2.938, allocations: 84.06 kB / 473 MB, free: 1.809 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003545/2.938, allocations: 191 kB / 473.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/2.938, allocations: 102.7 kB / 473.3 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/2.94, allocations: 0.6119 MB / 473.9 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/2.94, allocations: 4 kB / 473.9 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/2.94, allocations: 8 kB / 474 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/2.941, allocations: 0 / 474 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/2.946, allocations: 1.776 MB / 475.7 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.946, allocations: 4 kB / 475.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/2.947, allocations: 91.73 kB / 475.8 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/2.947, allocations: 64.77 kB / 475.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/2.947, allocations: 4 kB / 475.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/2.95, allocations: 1.638 MB / 477.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/2.95, allocations: 16.06 kB / 477.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002369/2.952, allocations: 1.14 MB / 478.7 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003194/2.955, allocations: 1.796 MB / 480.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/2.956, allocations: 203.8 kB / 480.7 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/2.956, allocations: 7.984 kB / 480.7 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/2.957, allocations: 27.95 kB / 480.7 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/2.957, allocations: 31.91 kB / 480.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/2.957, allocations: 16 kB / 480.8 MB, free: 9.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0016/2.959, allocations: 0.6559 MB / 481.4 MB, free: 8.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003091/2.962, allocations: 256 kB / 481.7 MB, free: 8.637 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/2.962, allocations: 127.2 kB / 481.8 MB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002613/2.965, allocations: 0.9408 MB / 482.7 MB, free: 7.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.965, allocations: 4.188 kB / 482.7 MB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009123/2.966, allocations: 349.4 kB / 483.1 MB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/2.967, allocations: 133.2 kB / 483.2 MB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/2.974, allocations: 2.093 MB / 485.3 MB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.977, allocations: 1.546 MB / 486.8 MB, free: 3.305 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/2.977, allocations: 0 / 486.8 MB, free: 3.305 MB / 410.7 MB