Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.701/2.701, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1703/2.872, allocations: 57.2 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/3.15, allocations: 54.84 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/3.372, allocations: 89.25 MB / 443.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/3.373, allocations: 79.83 kB / 443.4 MB, free: 3.926 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.9498/4.323, allocations: 141.1 MB / 0.5708 GB, free: 7.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/4.323, allocations: 8 kB / 0.5708 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06239/4.385, allocations: 5.282 MB / 0.576 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/4.406, allocations: 4.276 MB / 0.5802 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000797/4.407, allocations: 223.9 kB / 0.5804 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005796/4.412, allocations: 384 kB / 0.5808 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05087/4.463, allocations: 12.94 MB / 0.5934 GB, free: 360 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2588/4.722, allocations: 17.07 MB / 0.6101 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/4.723, allocations: 38.41 kB / 0.6101 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004766/4.727, allocations: 22.25 kB / 0.6101 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/4.732, allocations: 2.275 MB / 0.6124 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2199/4.952, allocations: 59.2 MB / 0.6702 GB, free: 91.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/4.965, allocations: 6.023 MB / 0.676 GB, free: 89.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005869/4.971, allocations: 2.088 MB / 0.6781 GB, free: 89.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003069/4.974, allocations: 2.288 MB / 0.6803 GB, free: 87.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/4.974, allocations: 55 kB / 0.6804 GB, free: 86.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 1.069e-05/4.974, allocations: 0 / 0.6804 GB, free: 86.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.02569/5, allocations: 5.367 MB / 0.6856 GB, free: 85.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/5, allocations: 104 kB / 0.6857 GB, free: 85.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/5.014, allocations: 4.559 MB / 0.6902 GB, free: 83.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007105/5.015, allocations: 29.67 kB / 0.6902 GB, free: 83.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005562/5.021, allocations: 5.041 MB / 0.6951 GB, free: 80.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002635/5.024, allocations: 1.243 MB / 0.6963 GB, free: 79.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/5.025, allocations: 3.406 kB / 0.6963 GB, free: 79.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009505/5.026, allocations: 0.752 MB / 0.6971 GB, free: 79.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009302/5.035, allocations: 3.194 MB / 0.7002 GB, free: 78.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/5.05, allocations: 9.013 MB / 0.709 GB, free: 69.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/5.065, allocations: 5.599 MB / 0.7145 GB, free: 67.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002714/5.065, allocations: 59.25 kB / 0.7145 GB, free: 67.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03982/5.105, allocations: 11.03 MB / 0.7253 GB, free: 64.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/5.105, allocations: 10.41 kB / 0.7253 GB, free: 64.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006968/5.106, allocations: 205.4 kB / 0.7255 GB, free: 64.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008595/5.107, allocations: 308.8 kB / 0.7258 GB, free: 64.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01885/5.126, allocations: 2.246 MB / 0.728 GB, free: 63.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/5.126, allocations: 411.9 kB / 0.7284 GB, free: 63.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01274/5.139, allocations: 1.1 MB / 0.7295 GB, free: 62.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00304/5.142, allocations: 0.5929 MB / 0.73 GB, free: 62.91 MB / 458.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.004078/5.146, allocations: 0.5927 MB / 0.7306 GB, free: 62.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/5.148, allocations: 467.9 kB / 0.7311 GB, free: 62.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/5.152, allocations: 0.6237 MB / 0.7317 GB, free: 61.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002847/5.152, allocations: 47 kB / 0.7317 GB, free: 61.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/5.152, allocations: 1.25 kB / 0.7317 GB, free: 61.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-05/5.152, allocations: 14.61 kB / 0.7317 GB, free: 61.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0449/5.197, allocations: 13.5 MB / 0.7449 GB, free: 52.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/5.197, allocations: 12 kB / 0.7449 GB, free: 52.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005024/5.202, allocations: 424.6 kB / 0.7453 GB, free: 52.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-05/5.202, allocations: 27.91 kB / 0.7453 GB, free: 52.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/5.203, allocations: 27.66 kB / 0.7454 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.33e-05/5.203, allocations: 26.75 kB / 0.7454 GB, free: 52.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/5.203, allocations: 27.53 kB / 0.7454 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0133/5.216, allocations: 6.689 MB / 0.752 GB, free: 45.25 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01308/5.229, allocations: 7.127 MB / 0.7589 GB, free: 38.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/5.231, allocations: 0.5429 MB / 0.7594 GB, free: 37.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/5.233, allocations: 23.42 kB / 0.7595 GB, free: 37.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004314/5.237, allocations: 55.88 kB / 0.7595 GB, free: 37.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008704/5.238, allocations: 167.4 kB / 0.7597 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/5.239, allocations: 103.3 kB / 0.7598 GB, free: 37.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.008565/5.247, allocations: 2.991 MB / 0.7627 GB, free: 34.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01411/5.261, allocations: 1.831 MB / 0.7645 GB, free: 32.79 MB / 458.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.001073/5.263, allocations: 172.5 kB / 0.7647 GB, free: 32.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01744/5.28, allocations: 7.372 MB / 0.7719 GB, free: 25.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/5.28, allocations: 4 kB / 0.7719 GB, free: 25.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005304/5.285, allocations: 2.171 MB / 0.774 GB, free: 23.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/5.289, allocations: 354.2 kB / 0.7743 GB, free: 23.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/5.335, allocations: 13.2 MB / 0.7872 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02155/5.357, allocations: 6.028 MB / 0.7931 GB, free: 6.992 MB / 458.7 MB Notification: Performance of SimCode: time 2.004e-06/5.357, allocations: 0 / 0.7931 GB, free: 6.992 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat