Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.469/2.469, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.212/2.681, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/2.971, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/3.172, allocations: 90.23 MB / 444.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004323/3.173, allocations: 71.95 kB / 444.3 MB, free: 3.012 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.2906/3.464, allocations: 20.19 MB / 464.5 MB, free: 79.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/3.464, allocations: 8.875 kB / 464.5 MB, free: 79.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/3.466, allocations: 168.3 kB / 464.6 MB, free: 79.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/3.47, allocations: 0.7007 MB / 465.3 MB, free: 78.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/3.47, allocations: 32 kB / 465.4 MB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007429/3.471, allocations: 64 kB / 465.4 MB, free: 78.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006585/3.478, allocations: 1.715 MB / 467.1 MB, free: 77.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/3.485, allocations: 1.975 MB / 469.1 MB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-05/3.485, allocations: 15.83 kB / 469.1 MB, free: 75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/3.486, allocations: 4 kB / 469.1 MB, free: 75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006392/3.486, allocations: 209.8 kB / 469.3 MB, free: 74.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/3.504, allocations: 7.554 MB / 476.9 MB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/3.506, allocations: 381.8 kB / 477.3 MB, free: 66.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/3.506, allocations: 260.8 kB / 477.5 MB, free: 66.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002852/3.509, allocations: 1.753 MB / 479.3 MB, free: 64.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/3.509, allocations: 34.59 kB / 479.3 MB, free: 64.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 5.249e-06/3.509, allocations: 0 / 479.3 MB, free: 64.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02353/3.533, allocations: 2.632 MB / 481.9 MB, free: 61.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/3.533, allocations: 55.91 kB / 482 MB, free: 61.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/3.535, allocations: 0.6593 MB / 482.7 MB, free: 60.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/3.535, allocations: 25.7 kB / 482.7 MB, free: 60.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/3.536, allocations: 0.6132 MB / 483.3 MB, free: 60.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/3.536, allocations: 201.1 kB / 483.5 MB, free: 60.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/3.536, allocations: 4 kB / 483.5 MB, free: 60.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/3.536, allocations: 390.8 kB / 483.9 MB, free: 59.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/3.537, allocations: 358.5 kB / 484.2 MB, free: 59.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/3.539, allocations: 0.9771 MB / 485.2 MB, free: 58.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/3.542, allocations: 0.7467 MB / 485.9 MB, free: 57.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/3.543, allocations: 8 kB / 486 MB, free: 57.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005736/3.548, allocations: 1.418 MB / 487.4 MB, free: 55.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/3.548, allocations: 8 kB / 487.4 MB, free: 55.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/3.548, allocations: 27.97 kB / 487.4 MB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.492e-05/3.549, allocations: 39.91 kB / 487.4 MB, free: 55.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/3.552, allocations: 319.5 kB / 487.8 MB, free: 55.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/3.554, allocations: 1.328 MB / 489.1 MB, free: 54.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/3.556, allocations: 31.92 kB / 489.1 MB, free: 54.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/3.556, allocations: 71.91 kB / 489.2 MB, free: 54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003973/3.556, allocations: 167.7 kB / 489.4 MB, free: 53.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/3.557, allocations: 75.06 kB / 489.4 MB, free: 53.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/3.557, allocations: 103.5 kB / 489.5 MB, free: 53.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/3.557, allocations: 8 kB / 489.5 MB, free: 53.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/3.557, allocations: 0 / 489.5 MB, free: 53.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/3.557, allocations: 3.984 kB / 489.5 MB, free: 53.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008468/3.566, allocations: 2.087 MB / 491.6 MB, free: 51.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/3.566, allocations: 11.94 kB / 491.6 MB, free: 51.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/3.567, allocations: 131.8 kB / 491.8 MB, free: 51.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/3.567, allocations: 8 kB / 491.8 MB, free: 51.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/3.568, allocations: 8.5 kB / 491.8 MB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/3.569, allocations: 1.285 MB / 493.1 MB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/3.569, allocations: 11.94 kB / 493.1 MB, free: 49.88 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00384/3.573, allocations: 1.294 MB / 494.4 MB, free: 48.34 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003834/3.577, allocations: 1.667 MB / 496 MB, free: 46.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/3.578, allocations: 192.1 kB / 496.2 MB, free: 46.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/3.578, allocations: 8 kB / 496.2 MB, free: 46.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/3.579, allocations: 15.98 kB / 496.3 MB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/3.579, allocations: 51.7 kB / 496.3 MB, free: 46.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/3.579, allocations: 24 kB / 496.3 MB, free: 46.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001234/3.581, allocations: 463.1 kB / 496.8 MB, free: 45.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004147/3.585, allocations: 192 kB / 497 MB, free: 45.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/3.585, allocations: 138.7 kB / 497.1 MB, free: 45.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/3.588, allocations: 0.8645 MB / 498 MB, free: 44.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/3.588, allocations: 0 / 498 MB, free: 44.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/3.589, allocations: 306.1 kB / 498.3 MB, free: 44.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/3.591, allocations: 75.83 kB / 498.3 MB, free: 44.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/3.598, allocations: 1.646 MB / 500 MB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/3.6, allocations: 1.323 MB / 0.4896 GB, free: 41.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/3.6, allocations: 0 / 0.4896 GB, free: 41.02 MB / 378.7 MB