Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_BodyShape",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.673/2.673, allocations: 235 MB / 242 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1961/2.869, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/3.176, allocations: 54.86 MB / 354.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/3.602, allocations: 98.73 MB / 452.8 MB, free: 33.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/3.602, allocations: 73.39 kB / 452.9 MB, free: 33.11 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.4265/4.029, allocations: 83.17 MB / 0.5235 GB, free: 14.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/4.029, allocations: 15.98 kB / 0.5235 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/4.051, allocations: 1.956 MB / 0.5254 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/4.076, allocations: 5.257 MB / 0.5305 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/4.077, allocations: 140 kB / 0.5307 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/4.08, allocations: 243.9 kB / 0.5309 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02449/4.104, allocations: 6.178 MB / 0.5369 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/4.137, allocations: 9.448 MB / 0.5462 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/4.137, allocations: 67.41 kB / 0.5462 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/4.139, allocations: 32 kB / 0.5463 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002984/4.142, allocations: 1.053 MB / 0.5473 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/4.25, allocations: 48.21 MB / 0.5944 GB, free: 3.188 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007631/4.258, allocations: 2.493 MB / 0.5968 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005056/4.263, allocations: 1.603 MB / 0.5984 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/4.282, allocations: 5.153 MB / 0.6034 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/4.282, allocations: 51.28 kB / 0.6034 GB, free: 9.574 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 6.923e-06/4.282, allocations: 0 / 0.6034 GB, free: 9.574 MB / 474.7 MB Notification: Performance of matching and sorting (n=157): time 0.2507/4.533, allocations: 12.84 MB / 0.616 GB, free: 152.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/4.533, allocations: 144 kB / 0.6161 GB, free: 152 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009134/4.542, allocations: 3.109 MB / 0.6192 GB, free: 151.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004766/4.543, allocations: 25.7 kB / 0.6192 GB, free: 151.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00272/4.545, allocations: 2.991 MB / 0.6221 GB, free: 150.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/4.547, allocations: 0.6205 MB / 0.6227 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007358/4.547, allocations: 0 / 0.6227 GB, free: 149.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005487/4.548, allocations: 0.5756 MB / 0.6233 GB, free: 149.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006154/4.554, allocations: 1.972 MB / 0.6252 GB, free: 149.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009273/4.564, allocations: 5.879 MB / 0.6309 GB, free: 144.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/4.574, allocations: 3.404 MB / 0.6343 GB, free: 144.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/4.574, allocations: 39.69 kB / 0.6343 GB, free: 144.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.03082/4.605, allocations: 7.641 MB / 0.6418 GB, free: 143.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/4.605, allocations: 3.969 kB / 0.6418 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0115/4.616, allocations: 2.51 MB / 0.6442 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008354/4.625, allocations: 1.075 MB / 0.6453 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/4.636, allocations: 1.418 MB / 0.6467 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/4.645, allocations: 4.497 MB / 0.6511 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008585/4.654, allocations: 226.6 kB / 0.6513 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/4.656, allocations: 389.3 kB / 0.6516 GB, free: 141 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (776): * Single equations (assignments): 767 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001762/4.657, allocations: 459.6 kB / 0.6521 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009308/4.658, allocations: 316.8 kB / 0.6524 GB, free: 140.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/4.671, allocations: 2.876 MB / 0.6552 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/4.681, allocations: 2.411 MB / 0.6575 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/4.681, allocations: 2.812 kB / 0.6575 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/4.681, allocations: 3.797 kB / 0.6575 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03252/4.714, allocations: 8.491 MB / 0.6658 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/4.714, allocations: 3.562 kB / 0.6658 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/4.717, allocations: 242.2 kB / 0.6661 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007366/4.724, allocations: 0.936 MB / 0.667 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/4.725, allocations: 29.31 kB / 0.667 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/4.735, allocations: 4.609 MB / 0.6715 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001278/4.736, allocations: 1.365 MB / 0.6729 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01702/4.753, allocations: 5.606 MB / 0.6783 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02669/4.78, allocations: 7.657 MB / 0.6858 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/4.782, allocations: 370.6 kB / 0.6862 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009777/4.783, allocations: 11.7 kB / 0.6862 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/4.786, allocations: 74.8 kB / 0.6862 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/4.787, allocations: 86.58 kB / 0.6863 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/4.787, allocations: 43.84 kB / 0.6864 GB, free: 128.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006681/4.794, allocations: 2.067 MB / 0.6884 GB, free: 127.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01063/4.805, allocations: 0.9045 MB / 0.6893 GB, free: 127.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009513/4.806, allocations: 155.9 kB / 0.6894 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02119/4.827, allocations: 5.298 MB / 0.6946 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/4.827, allocations: 0 / 0.6946 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008975/4.836, allocations: 1.976 MB / 0.6965 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/4.84, allocations: 346.5 kB / 0.6968 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/4.87, allocations: 7.881 MB / 0.7045 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01624/4.886, allocations: 3.599 MB / 0.7081 GB, free: 115.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/4.887, allocations: 4 kB / 0.7081 GB, free: 115.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat