Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FixedTranslation",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.655/2.655, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1627/2.818, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/3.11, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/3.298, allocations: 87.73 MB / 441.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/3.298, allocations: 71.95 kB / 441.9 MB, free: 5.48 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: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.5919/3.89, allocations: 72.28 MB / 0.5021 GB, free: 30.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/3.89, allocations: 12 kB / 0.5021 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03524/3.926, allocations: 2.713 MB / 0.5048 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008605/3.934, allocations: 2.141 MB / 0.5068 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/3.935, allocations: 124 kB / 0.507 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/3.937, allocations: 215.9 kB / 0.5072 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01961/3.957, allocations: 6.689 MB / 0.5137 GB, free: 18.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/3.989, allocations: 9.079 MB / 0.5226 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/3.989, allocations: 23.75 kB / 0.5226 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/3.992, allocations: 19.98 kB / 0.5226 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/3.994, allocations: 1.167 MB / 0.5237 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07337/4.067, allocations: 30.02 MB / 0.5531 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/4.074, allocations: 2.797 MB / 0.5558 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/4.077, allocations: 0.8678 MB / 0.5566 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.57e-05/4.077, allocations: 9.875 kB / 0.5566 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/4.077, allocations: 43.34 kB / 0.5567 GB, free: 5.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 5.631e-06/4.077, allocations: 0 / 0.5567 GB, free: 5.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=144): time 0.01044/4.088, allocations: 2.285 MB / 0.5589 GB, free: 2.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/4.088, allocations: 93.88 kB / 0.559 GB, free: 2.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/4.095, allocations: 2.427 MB / 0.5614 GB, free: 328 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/4.096, allocations: 25.7 kB / 0.5614 GB, free: 296 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/4.099, allocations: 2.783 MB / 0.5641 GB, free: 13.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/4.101, allocations: 0.5515 MB / 0.5647 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/4.101, allocations: 0 / 0.5647 GB, free: 12.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007602/4.102, allocations: 0.5768 MB / 0.5652 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/4.107, allocations: 1.529 MB / 0.5667 GB, free: 10.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008713/4.116, allocations: 4.706 MB / 0.5713 GB, free: 4.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/4.124, allocations: 2.781 MB / 0.574 GB, free: 1.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/4.124, allocations: 35.94 kB / 0.5741 GB, free: 1.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01992/4.144, allocations: 5.521 MB / 0.5795 GB, free: 12.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/4.144, allocations: 12.03 kB / 0.5795 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/4.144, allocations: 112 kB / 0.5796 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/4.145, allocations: 168 kB / 0.5797 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009031/4.154, allocations: 1.15 MB / 0.5809 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002824/4.154, allocations: 227.1 kB / 0.5811 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/4.161, allocations: 0.5748 MB / 0.5816 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/4.162, allocations: 331.9 kB / 0.582 GB, free: 9.527 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 636 * Array equations: 6 * 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.001509/4.164, allocations: 388.7 kB / 0.5823 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006813/4.165, allocations: 228.9 kB / 0.5825 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/4.166, allocations: 293 kB / 0.5828 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/4.166, allocations: 8 kB / 0.5828 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/4.166, allocations: 4 kB / 0.5828 GB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/4.166, allocations: 3.984 kB / 0.5828 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02608/4.192, allocations: 5.896 MB / 0.5886 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/4.192, allocations: 4 kB / 0.5886 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/4.195, allocations: 159.8 kB / 0.5888 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.666e-05/4.195, allocations: 12 kB / 0.5888 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000359/4.196, allocations: 12 kB / 0.5888 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.743e-05/4.196, allocations: 16.47 kB / 0.5888 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.248e-05/4.196, allocations: 15.84 kB / 0.5888 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008067/4.204, allocations: 2.614 MB / 0.5914 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006364/4.21, allocations: 3.017 MB / 0.5943 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/4.211, allocations: 313.8 kB / 0.5946 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/4.212, allocations: 11.91 kB / 0.5946 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/4.214, allocations: 23.97 kB / 0.5946 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/4.215, allocations: 64.48 kB / 0.5947 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/4.215, allocations: 43.98 kB / 0.5947 GB, free: 11.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005187/4.22, allocations: 1.588 MB / 0.5963 GB, free: 10.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008359/4.229, allocations: 0.9834 MB / 0.5973 GB, free: 9.102 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 6 * 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.0007753/4.229, allocations: 131 kB / 0.5974 GB, free: 8.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/4.24, allocations: 3.515 MB / 0.6008 GB, free: 5.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/4.24, allocations: 4 kB / 0.6008 GB, free: 5.473 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/4.242, allocations: 0.8906 MB / 0.6017 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/4.244, allocations: 172.4 kB / 0.6018 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2077/4.452, allocations: 6.347 MB / 0.608 GB, free: 157.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01064/4.462, allocations: 3.353 MB / 0.6113 GB, free: 156.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.184e-06/4.463, allocations: 0 / 0.6113 GB, free: 156.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat