Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Bodies",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.533/2.533, allocations: 235 MB / 242 MB, free: 13.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1943/2.728, allocations: 57.2 MB / 299.2 MB, free: 3.766 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/3.018, allocations: 54.85 MB / 354.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/3.261, allocations: 94.4 MB / 448.5 MB, free: 2.652 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/3.262, allocations: 75.91 kB / 448.5 MB, free: 2.578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.7358/3.998, allocations: 96.98 MB / 0.5327 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/3.998, allocations: 8 kB / 0.5327 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04996/4.048, allocations: 5.719 MB / 0.5383 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04744/4.095, allocations: 9.108 MB / 0.5472 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/4.096, allocations: 107.9 kB / 0.5473 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/4.098, allocations: 219.8 kB / 0.5475 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02337/4.122, allocations: 4.423 MB / 0.5519 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/4.144, allocations: 6.181 MB / 0.5579 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005902/4.145, allocations: 59.45 kB / 0.558 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/4.147, allocations: 20 kB / 0.558 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/4.15, allocations: 0.6539 MB / 0.5586 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07289/4.223, allocations: 29.62 MB / 0.5875 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/4.224, allocations: 325.2 kB / 0.5878 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/4.224, allocations: 168.3 kB / 0.588 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/4.225, allocations: 11.98 kB / 0.588 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/4.225, allocations: 46.5 kB / 0.5881 GB, free: 12.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.218e-06/4.225, allocations: 0 / 0.5881 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.01351/4.238, allocations: 1.593 MB / 0.5896 GB, free: 10.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/4.238, allocations: 243.3 kB / 0.5898 GB, free: 10.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/4.251, allocations: 3.463 MB / 0.5932 GB, free: 6.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/4.251, allocations: 29.7 kB / 0.5933 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003474/4.255, allocations: 2.261 MB / 0.5955 GB, free: 4.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/4.255, allocations: 158.6 kB / 0.5956 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/4.255, allocations: 0 / 0.5956 GB, free: 4.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005093/4.256, allocations: 449.4 kB / 0.596 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/4.259, allocations: 0.7018 MB / 0.5967 GB, free: 3.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/4.265, allocations: 3.26 MB / 0.5999 GB, free: 14.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/4.27, allocations: 1.478 MB / 0.6014 GB, free: 13.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.553e-05/4.27, allocations: 28 kB / 0.6014 GB, free: 13.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01346/4.284, allocations: 3.345 MB / 0.6047 GB, free: 9.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/4.284, allocations: 4.938 kB / 0.6047 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/4.284, allocations: 92 kB / 0.6047 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/4.284, allocations: 136 kB / 0.6049 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/4.291, allocations: 0.8461 MB / 0.6057 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002962/4.291, allocations: 183.2 kB / 0.6059 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008202/4.299, allocations: 0.4913 MB / 0.6064 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009201/4.3, allocations: 228 kB / 0.6066 GB, free: 7.793 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001307/4.301, allocations: 352 kB / 0.6069 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/4.303, allocations: 335.7 kB / 0.6072 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/4.305, allocations: 349.1 kB / 0.6076 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/4.305, allocations: 7.938 kB / 0.6076 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/4.305, allocations: 0 / 0.6076 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/4.305, allocations: 7.984 kB / 0.6076 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/4.318, allocations: 3.482 MB / 0.611 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/4.318, allocations: 15.91 kB / 0.611 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/4.319, allocations: 75.84 kB / 0.6111 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.292e-05/4.319, allocations: 23.92 kB / 0.6111 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/4.319, allocations: 12 kB / 0.6111 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/4.319, allocations: 16.56 kB / 0.6111 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-05/4.319, allocations: 19.88 kB / 0.6111 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002831/4.322, allocations: 2.057 MB / 0.6131 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2112/4.533, allocations: 2.494 MB / 0.6156 GB, free: 139.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/4.535, allocations: 418.4 kB / 0.616 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/4.536, allocations: 15.45 kB / 0.616 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00408/4.541, allocations: 50.58 kB / 0.616 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/4.541, allocations: 51.73 kB / 0.6161 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/4.541, allocations: 22.94 kB / 0.6161 GB, free: 139.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 0.01087/4.552, allocations: 2.455 MB / 0.6185 GB, free: 139.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01086/4.563, allocations: 0.8423 MB / 0.6193 GB, free: 139.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005077/4.563, allocations: 129.1 kB / 0.6195 GB, free: 139.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006383/4.57, allocations: 1.624 MB / 0.621 GB, free: 139.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-05/4.57, allocations: 7.719 kB / 0.621 GB, free: 139.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/4.57, allocations: 167.2 kB / 0.6212 GB, free: 139.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008533/4.579, allocations: 0.5173 MB / 0.6217 GB, free: 139.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/4.608, allocations: 5.507 MB / 0.6271 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01221/4.621, allocations: 3.145 MB / 0.6302 GB, free: 136.9 MB / 462.1 MB Notification: Performance of SimCode: time 3.466e-06/4.621, allocations: 3.312 kB / 0.6302 GB, free: 136.9 MB / 462.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat