Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSR",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.456/2.456, allocations: 235 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1678/2.624, allocations: 57.21 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/2.893, allocations: 54.84 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/3.368, allocations: 99.23 MB / 453.3 MB, free: 33.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/3.368, allocations: 76.45 kB / 453.4 MB, free: 33.32 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.2592/3.627, allocations: 56.87 MB / 0.4983 GB, free: 18.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/3.627, allocations: 12.19 kB / 0.4983 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006853/3.634, allocations: 429.9 kB / 0.4987 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009119/3.643, allocations: 1.544 MB / 0.5002 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/3.644, allocations: 90.75 kB / 0.5003 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/3.646, allocations: 163.5 kB / 0.5005 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01692/3.663, allocations: 3.889 MB / 0.5043 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/3.685, allocations: 5.029 MB / 0.5092 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000243/3.685, allocations: 23.86 kB / 0.5092 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/3.687, allocations: 8 kB / 0.5092 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/3.689, allocations: 0.5358 MB / 0.5097 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05935/3.748, allocations: 20.2 MB / 0.5295 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/3.752, allocations: 0.8378 MB / 0.5303 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/3.755, allocations: 0.6479 MB / 0.5309 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/3.774, allocations: 4.662 MB / 0.5355 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/3.774, allocations: 47 kB / 0.5355 GB, free: 1.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 6.282e-06/3.774, allocations: 4 kB / 0.5355 GB, free: 1.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.05934/3.833, allocations: 5.641 MB / 0.541 GB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/3.833, allocations: 85.89 kB / 0.5411 GB, free: 11.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/3.839, allocations: 1.433 MB / 0.5425 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003384/3.84, allocations: 25.7 kB / 0.5425 GB, free: 10.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002582/3.842, allocations: 1.635 MB / 0.5441 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009035/3.843, allocations: 327.6 kB / 0.5444 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/3.844, allocations: 0 / 0.5444 GB, free: 8.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007047/3.845, allocations: 476.7 kB / 0.5449 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004319/3.849, allocations: 0.8725 MB / 0.5457 GB, free: 6.836 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006846/3.856, allocations: 2.496 MB / 0.5482 GB, free: 3.512 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009465/3.865, allocations: 1.682 MB / 0.5498 GB, free: 1.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-05/3.866, allocations: 19.94 kB / 0.5498 GB, free: 1.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01978/3.885, allocations: 3.272 MB / 0.553 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/3.885, allocations: 4.219 kB / 0.553 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/3.886, allocations: 64 kB / 0.5531 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/3.886, allocations: 84 kB / 0.5532 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009465/3.895, allocations: 0.6941 MB / 0.5539 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/3.896, allocations: 115.5 kB / 0.554 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006426/3.902, allocations: 91.77 kB / 0.5541 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/3.903, allocations: 172 kB / 0.5542 GB, free: 13.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 366 * 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.001227/3.905, allocations: 262.5 kB / 0.5545 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/3.906, allocations: 154 kB / 0.5546 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009131/3.915, allocations: 1.5 MB / 0.5561 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/3.915, allocations: 11.94 kB / 0.5561 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/3.915, allocations: 4 kB / 0.5561 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.888e-05/3.915, allocations: 7.969 kB / 0.5561 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/3.939, allocations: 4.121 MB / 0.5601 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/3.939, allocations: 7.938 kB / 0.5601 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/3.943, allocations: 187.7 kB / 0.5603 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.221e-05/3.943, allocations: 8 kB / 0.5603 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/3.943, allocations: 8 kB / 0.5603 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-05/3.943, allocations: 16.27 kB / 0.5603 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-05/3.943, allocations: 8 kB / 0.5604 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008794/3.952, allocations: 1.836 MB / 0.5621 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008147/3.96, allocations: 2.243 MB / 0.5643 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/3.961, allocations: 223 kB / 0.5645 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008496/3.962, allocations: 8 kB / 0.5646 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/3.965, allocations: 23.97 kB / 0.5646 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/3.966, allocations: 56.48 kB / 0.5646 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/3.966, allocations: 32 kB / 0.5647 GB, free: 2.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004535/3.97, allocations: 0.964 MB / 0.5656 GB, free: 1.055 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008687/3.979, allocations: 479.9 kB / 0.5661 GB, free: 0.5859 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.001207/3.98, allocations: 174.9 kB / 0.5662 GB, free: 416 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009176/3.99, allocations: 2.018 MB / 0.5682 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/3.99, allocations: 0 / 0.5682 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/3.992, allocations: 0.5723 MB / 0.5688 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/3.995, allocations: 146.7 kB / 0.5689 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/4.018, allocations: 3.926 MB / 0.5727 GB, free: 9.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01027/4.028, allocations: 2.344 MB / 0.575 GB, free: 7.266 MB / 442.7 MB Notification: Performance of SimCode: time 2.926e-06/4.028, allocations: 0 / 0.575 GB, free: 7.266 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat