Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSP",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.694/2.694, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1788/2.873, allocations: 57.19 MB / 299.2 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/3.189, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/3.632, allocations: 98.17 MB / 452.3 MB, free: 32.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/3.633, allocations: 79.12 kB / 452.3 MB, free: 32.97 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.2578/3.89, allocations: 54.99 MB / 0.4954 GB, free: 19.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/3.89, allocations: 11.88 kB / 0.4954 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/3.895, allocations: 428.9 kB / 0.4958 GB, free: 19.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/3.902, allocations: 1.532 MB / 0.4973 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/3.902, allocations: 92.59 kB / 0.4974 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/3.904, allocations: 165.2 kB / 0.4976 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01195/3.916, allocations: 3.458 MB / 0.501 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/3.933, allocations: 4.699 MB / 0.5056 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/3.934, allocations: 18.53 kB / 0.5056 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/3.935, allocations: 8.844 kB / 0.5056 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/3.936, allocations: 0.4893 MB / 0.5061 GB, free: 16.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/3.977, allocations: 18.34 MB / 0.524 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/3.979, allocations: 0.6183 MB / 0.5246 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/3.98, allocations: 331.1 kB / 0.5249 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002708/3.983, allocations: 1.754 MB / 0.5266 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/3.983, allocations: 47 kB / 0.5266 GB, free: 10.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 4.178e-06/3.983, allocations: 4 kB / 0.5267 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.0307/4.014, allocations: 3.985 MB / 0.5305 GB, free: 6.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/4.014, allocations: 93.83 kB / 0.5306 GB, free: 6.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/4.019, allocations: 1.373 MB / 0.532 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/4.019, allocations: 25.7 kB / 0.532 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001888/4.021, allocations: 1.6 MB / 0.5336 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/4.022, allocations: 339.4 kB / 0.5339 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/4.022, allocations: 0 / 0.5339 GB, free: 3.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000547/4.023, allocations: 472.5 kB / 0.5343 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/4.026, allocations: 0.7083 MB / 0.535 GB, free: 1.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/4.03, allocations: 2.272 MB / 0.5372 GB, free: 14.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/4.035, allocations: 1.44 MB / 0.5387 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.953e-05/4.035, allocations: 16 kB / 0.5387 GB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.01066/4.046, allocations: 2.847 MB / 0.5414 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/4.046, allocations: 7.984 kB / 0.5415 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/4.046, allocations: 56 kB / 0.5415 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/4.046, allocations: 84 kB / 0.5416 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/4.051, allocations: 0.6472 MB / 0.5422 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/4.051, allocations: 107.6 kB / 0.5423 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/4.055, allocations: 68.02 kB / 0.5424 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/4.056, allocations: 172 kB / 0.5426 GB, free: 9.344 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (356): * Single equations (assignments): 356 * 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.0008519/4.057, allocations: 262.6 kB / 0.5428 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/4.057, allocations: 146.1 kB / 0.5429 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/4.062, allocations: 1.199 MB / 0.5441 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/4.062, allocations: 15.91 kB / 0.5441 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/4.062, allocations: 3.938 kB / 0.5441 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/4.062, allocations: 3.984 kB / 0.5441 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/4.077, allocations: 4.611 MB / 0.5486 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/4.077, allocations: 12 kB / 0.5486 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/4.079, allocations: 176.5 kB / 0.5488 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.751e-05/4.079, allocations: 24 kB / 0.5488 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/4.079, allocations: 23.98 kB / 0.5489 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-05/4.079, allocations: 27.88 kB / 0.5489 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-05/4.079, allocations: 27.86 kB / 0.5489 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004772/4.084, allocations: 2.39 MB / 0.5513 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005657/4.09, allocations: 2.778 MB / 0.554 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/4.091, allocations: 227.2 kB / 0.5542 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/4.091, allocations: 19.98 kB / 0.5542 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/4.093, allocations: 23.89 kB / 0.5542 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/4.093, allocations: 79.69 kB / 0.5543 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/4.093, allocations: 51.92 kB / 0.5543 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002819/4.096, allocations: 0.9241 MB / 0.5552 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005612/4.101, allocations: 439.9 kB / 0.5557 GB, free: 10.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0007854/4.102, allocations: 174.8 kB / 0.5558 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005287/4.108, allocations: 1.65 MB / 0.5574 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/4.108, allocations: 4 kB / 0.5575 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/4.109, allocations: 429.9 kB / 0.5579 GB, free: 8.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/4.111, allocations: 178.2 kB / 0.558 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/4.126, allocations: 3.934 MB / 0.5619 GB, free: 3.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006778/4.133, allocations: 2.354 MB / 0.5642 GB, free: 1.344 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/4.133, allocations: 0 / 0.5642 GB, free: 1.344 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat