Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_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.106/2.106, allocations: 209.3 MB / 216.3 MB, free: 6.777 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.248/2.354, allocations: 51.04 MB / 267.3 MB, free: 4.805 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/2.465, allocations: 48.67 MB / 316 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/2.868, allocations: 83.72 MB / 399.7 MB, free: 9.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/2.868, allocations: 77.59 kB / 399.8 MB, free: 9.164 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.1214/2.99, allocations: 20.19 MB / 420 MB, free: 7.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/2.99, allocations: 12 kB / 420 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/2.991, allocations: 170.3 kB / 420.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/2.994, allocations: 0.6994 MB / 420.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/2.994, allocations: 36 kB / 420.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/2.994, allocations: 56 kB / 420.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005056/2.999, allocations: 1.721 MB / 422.6 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005925/3.005, allocations: 1.986 MB / 424.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-05/3.005, allocations: 7.938 kB / 424.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/3.006, allocations: 4 kB / 424.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005255/3.006, allocations: 209.8 kB / 424.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/3.02, allocations: 7.559 MB / 432.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/3.021, allocations: 385.7 kB / 432.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/3.022, allocations: 260.8 kB / 433 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/3.025, allocations: 1.753 MB / 434.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/3.025, allocations: 38.5 kB / 434.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.226e-06/3.025, allocations: 0 / 434.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.01728/3.042, allocations: 2.633 MB / 437.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/3.042, allocations: 59.91 kB / 437.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/3.044, allocations: 0.6477 MB / 438.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/3.044, allocations: 25.7 kB / 438.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/3.044, allocations: 0.617 MB / 438.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/3.045, allocations: 201.1 kB / 439 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/3.045, allocations: 0 / 439 MB, free: 4.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/3.045, allocations: 390.8 kB / 439.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/3.046, allocations: 358.5 kB / 439.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/3.048, allocations: 0.981 MB / 440.7 MB, free: 2.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/3.051, allocations: 0.7389 MB / 441.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/3.051, allocations: 8 kB / 441.5 MB, free: 1.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004808/3.055, allocations: 1.43 MB / 442.9 MB, free: 220 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/3.056, allocations: 7.984 kB / 442.9 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/3.056, allocations: 24.12 kB / 442.9 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.357e-05/3.056, allocations: 36 kB / 443 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/3.059, allocations: 323.5 kB / 443.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/3.061, allocations: 1.308 MB / 444.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/3.063, allocations: 35.83 kB / 444.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/3.063, allocations: 72.16 kB / 444.7 MB, free: 14.3 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.0004209/3.063, allocations: 175 kB / 444.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/3.064, allocations: 71.06 kB / 444.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/3.064, allocations: 103.4 kB / 445 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/3.064, allocations: 4 kB / 445 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/3.064, allocations: 3.906 kB / 445 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/3.064, allocations: 7.984 kB / 445 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008631/3.073, allocations: 2.096 MB / 447.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/3.073, allocations: 4 kB / 447.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/3.075, allocations: 135.7 kB / 447.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.651e-05/3.075, allocations: 8 kB / 447.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/3.075, allocations: 12 kB / 447.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/3.077, allocations: 1.285 MB / 448.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-05/3.077, allocations: 11.94 kB / 448.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004177/3.081, allocations: 1.287 MB / 449.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004469/3.086, allocations: 1.67 MB / 451.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/3.086, allocations: 192.1 kB / 451.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/3.087, allocations: 15.89 kB / 451.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/3.088, allocations: 8 kB / 451.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/3.088, allocations: 47.86 kB / 451.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/3.088, allocations: 28 kB / 451.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001342/3.089, allocations: 467.1 kB / 452.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003648/3.093, allocations: 187.9 kB / 452.5 MB, free: 5.762 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.000487/3.093, allocations: 135 kB / 452.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/3.096, allocations: 0.8647 MB / 453.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/3.097, allocations: 0 / 453.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/3.098, allocations: 305.6 kB / 453.8 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/3.099, allocations: 79.41 kB / 453.9 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/3.106, allocations: 1.642 MB / 455.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/3.109, allocations: 1.312 MB / 456.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/3.109, allocations: 0 / 456.8 MB, free: 1.305 MB / 378.7 MB