Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",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(Modelica): time 3.206/3.206, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.291/3.497, allocations: 46.83 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/3.603, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/4.007, allocations: 87.34 MB / 381.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004786/4.008, allocations: 86.8 kB / 381.3 MB, free: 5.586 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.4569/4.465, allocations: 68.05 MB / 449.4 MB, free: 5.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/4.465, allocations: 8 kB / 449.4 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/4.485, allocations: 1.625 MB / 451 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009943/4.495, allocations: 2.069 MB / 453.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/4.496, allocations: 112 kB / 453.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/4.498, allocations: 192 kB / 453.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01731/4.515, allocations: 4.526 MB / 457.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02619/4.541, allocations: 7.586 MB / 465.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002177/4.542, allocations: 47.56 kB / 465.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001377/4.543, allocations: 28 kB / 465.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/4.545, allocations: 0.8285 MB / 466.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2755/4.821, allocations: 38.28 MB / 0.4928 GB, free: 109.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/4.825, allocations: 1.356 MB / 0.4942 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/4.826, allocations: 441.8 kB / 0.4946 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/4.827, allocations: 341.7 kB / 0.4949 GB, free: 108.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/4.827, allocations: 46.95 kB / 0.495 GB, free: 108.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 6.783e-06/4.827, allocations: 0 / 0.495 GB, free: 108.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.008116/4.835, allocations: 1.269 MB / 0.4962 GB, free: 108.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/4.836, allocations: 190 kB / 0.4964 GB, free: 108.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01301/4.849, allocations: 3.124 MB / 0.4994 GB, free: 108.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002303/4.849, allocations: 29.48 kB / 0.4995 GB, free: 108.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003912/4.853, allocations: 2.702 MB / 0.5021 GB, free: 107 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/4.854, allocations: 392.5 kB / 0.5025 GB, free: 106.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008414/4.855, allocations: 1.969 kB / 0.5025 GB, free: 106.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007079/4.856, allocations: 0.5217 MB / 0.503 GB, free: 106.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005622/4.861, allocations: 1.212 MB / 0.5042 GB, free: 106.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009488/4.871, allocations: 4.879 MB / 0.5089 GB, free: 101.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009788/4.881, allocations: 2.489 MB / 0.5114 GB, free: 101.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002368/4.881, allocations: 39.28 kB / 0.5114 GB, free: 101.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.02522/4.906, allocations: 5.128 MB / 0.5164 GB, free: 101.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/4.906, allocations: 4 kB / 0.5164 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003769/4.907, allocations: 134.2 kB / 0.5165 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/4.907, allocations: 191.9 kB / 0.5167 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/4.919, allocations: 1.219 MB / 0.5179 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/4.92, allocations: 260.3 kB / 0.5182 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/4.932, allocations: 0.6275 MB / 0.5188 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/4.935, allocations: 352.8 kB / 0.5191 GB, free: 100.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (661): * Single equations (assignments): 658 * Array equations: 3 * 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.002296/4.937, allocations: 418.1 kB / 0.5195 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/4.938, allocations: 300.6 kB / 0.5198 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/4.942, allocations: 0.5033 MB / 0.5203 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/4.942, allocations: 5.75 kB / 0.5203 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/4.942, allocations: 3.969 kB / 0.5203 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/4.942, allocations: 10.64 kB / 0.5203 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/4.958, allocations: 2.977 MB / 0.5232 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/4.958, allocations: 3.906 kB / 0.5232 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/4.96, allocations: 111.7 kB / 0.5233 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.091e-05/4.96, allocations: 11.66 kB / 0.5233 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/4.96, allocations: 14.12 kB / 0.5234 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/4.96, allocations: 3.906 kB / 0.5234 GB, free: 99.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/4.96, allocations: 7.812 kB / 0.5234 GB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006324/4.967, allocations: 2.468 MB / 0.5258 GB, free: 98.38 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008416/4.975, allocations: 3.407 MB / 0.5291 GB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/4.978, allocations: 441.6 kB / 0.5295 GB, free: 96.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/4.979, allocations: 7.625 kB / 0.5295 GB, free: 96.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/4.983, allocations: 22.16 kB / 0.5295 GB, free: 96.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/4.983, allocations: 50.31 kB / 0.5296 GB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/4.984, allocations: 26.78 kB / 0.5296 GB, free: 96.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.009268/4.993, allocations: 2.145 MB / 0.5317 GB, free: 96.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01416/5.007, allocations: 0.8188 MB / 0.5325 GB, free: 96.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 3 * 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.0008099/5.008, allocations: 139.5 kB / 0.5326 GB, free: 96.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01069/5.019, allocations: 2.797 MB / 0.5354 GB, free: 95.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/5.019, allocations: 3.969 kB / 0.5354 GB, free: 95.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/5.02, allocations: 428.5 kB / 0.5358 GB, free: 95.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/5.026, allocations: 334.5 kB / 0.5361 GB, free: 95.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/5.056, allocations: 5.79 MB / 0.5418 GB, free: 94.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01423/5.07, allocations: 3.166 MB / 0.5449 GB, free: 92.94 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/5.07, allocations: 1.188 kB / 0.5449 GB, free: 92.94 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat