Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",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.06/2.06, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2161/2.277, allocations: 51.02 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/2.401, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/2.769, allocations: 82.91 MB / 398.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/2.769, allocations: 77.61 kB / 399 MB, free: 9.922 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.8862/3.655, allocations: 141.2 MB / 0.5275 GB, free: 83.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/3.655, allocations: 7.812 kB / 0.5275 GB, free: 83.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06292/3.718, allocations: 5.279 MB / 0.5326 GB, free: 82.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/3.735, allocations: 4.27 MB / 0.5368 GB, free: 81.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007269/3.736, allocations: 217.6 kB / 0.537 GB, free: 81.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005073/3.741, allocations: 387.5 kB / 0.5374 GB, free: 81.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03804/3.779, allocations: 12.95 MB / 0.55 GB, free: 78.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/3.834, allocations: 17.07 MB / 0.5667 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000482/3.834, allocations: 39.62 kB / 0.5667 GB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/3.839, allocations: 20 kB / 0.5667 GB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003928/3.843, allocations: 2.271 MB / 0.569 GB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1714/4.015, allocations: 59.21 MB / 0.6268 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/4.029, allocations: 6.017 MB / 0.6327 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005884/4.035, allocations: 2.084 MB / 0.6347 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003488/4.038, allocations: 2.281 MB / 0.6369 GB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.218e-05/4.038, allocations: 60.56 kB / 0.637 GB, free: 4.461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=341): time 9.077e-06/4.038, allocations: 0 / 0.637 GB, free: 4.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=341): time 0.1848/4.223, allocations: 5.366 MB / 0.6422 GB, free: 137.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/4.223, allocations: 102.1 kB / 0.6423 GB, free: 137.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/4.234, allocations: 4.556 MB / 0.6468 GB, free: 137.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006031/4.234, allocations: 25.7 kB / 0.6468 GB, free: 137.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003918/4.238, allocations: 5.042 MB / 0.6517 GB, free: 135 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/4.24, allocations: 1.247 MB / 0.6529 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/4.242, allocations: 0 / 0.6529 GB, free: 134.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007992/4.242, allocations: 0.7471 MB / 0.6537 GB, free: 133.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008092/4.25, allocations: 3.204 MB / 0.6568 GB, free: 133.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/4.264, allocations: 9.009 MB / 0.6656 GB, free: 126.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/4.279, allocations: 5.609 MB / 0.6711 GB, free: 126.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006484/4.28, allocations: 59.97 kB / 0.6711 GB, free: 126.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03997/4.32, allocations: 11.02 MB / 0.6819 GB, free: 125.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/4.32, allocations: 10.06 kB / 0.6819 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004696/4.32, allocations: 210.2 kB / 0.6821 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/4.321, allocations: 308 kB / 0.6824 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01845/4.339, allocations: 2.238 MB / 0.6846 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007672/4.34, allocations: 406.4 kB / 0.685 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/4.352, allocations: 1.105 MB / 0.686 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/4.355, allocations: 0.5919 MB / 0.6866 GB, free: 124.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.004158/4.359, allocations: 0.6 MB / 0.6872 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/4.36, allocations: 462.5 kB / 0.6876 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/4.363, allocations: 0.6237 MB / 0.6883 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002535/4.364, allocations: 41.19 kB / 0.6883 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/4.364, allocations: 3.781 kB / 0.6883 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-05/4.364, allocations: 12.23 kB / 0.6883 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04473/4.408, allocations: 13.5 MB / 0.7015 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/4.409, allocations: 16 kB / 0.7015 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004983/4.414, allocations: 422.4 kB / 0.7019 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-05/4.414, allocations: 28.2 kB / 0.7019 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007534/4.414, allocations: 22.97 kB / 0.702 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.175e-05/4.415, allocations: 30.12 kB / 0.702 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/4.415, allocations: 18.59 kB / 0.702 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02075/4.435, allocations: 6.689 MB / 0.7085 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01793/4.453, allocations: 7.119 MB / 0.7155 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/4.455, allocations: 0.5571 MB / 0.716 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/4.457, allocations: 19.8 kB / 0.7161 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005094/4.462, allocations: 56.25 kB / 0.7161 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/4.464, allocations: 161.8 kB / 0.7163 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001256/4.465, allocations: 107.7 kB / 0.7164 GB, free: 107.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01214/4.477, allocations: 2.998 MB / 0.7193 GB, free: 105 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01509/4.493, allocations: 1.834 MB / 0.7211 GB, free: 103.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.001261/4.494, allocations: 161 kB / 0.7212 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02196/4.516, allocations: 7.372 MB / 0.7284 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.908e-05/4.516, allocations: 6.438 kB / 0.7284 GB, free: 96.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006218/4.522, allocations: 2.17 MB / 0.7306 GB, free: 94.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/4.527, allocations: 359.6 kB / 0.7309 GB, free: 94.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0611/4.588, allocations: 13.2 MB / 0.7438 GB, free: 82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02646/4.615, allocations: 6.018 MB / 0.7497 GB, free: 77.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/4.615, allocations: 1.203 kB / 0.7497 GB, free: 77.41 MB / 426.7 MB