Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.534/2.534, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2223/2.757, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/3.104, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/3.548, allocations: 98.44 MB / 452.5 MB, free: 32.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/3.548, allocations: 78.09 kB / 452.6 MB, free: 32.98 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.4566/4.005, allocations: 80.93 MB / 0.521 GB, free: 1.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/4.005, allocations: 8 kB / 0.521 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/4.051, allocations: 2.744 MB / 0.5237 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/4.066, allocations: 2.34 MB / 0.526 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/4.066, allocations: 132 kB / 0.5261 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/4.07, allocations: 228 kB / 0.5263 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03207/4.102, allocations: 6.795 MB / 0.533 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/4.15, allocations: 10.1 MB / 0.5428 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003326/4.15, allocations: 47.56 kB / 0.5429 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003296/4.154, allocations: 28 kB / 0.5429 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003958/4.158, allocations: 1.202 MB / 0.5441 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1319/4.29, allocations: 46.03 MB / 0.589 GB, free: 8.969 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/4.298, allocations: 2.774 MB / 0.5917 GB, free: 5.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/4.303, allocations: 1.045 MB / 0.5927 GB, free: 4.867 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/4.303, allocations: 24.77 kB / 0.5928 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/4.303, allocations: 47.34 kB / 0.5928 GB, free: 4.785 MB / 458.7 MB Notification: Performance of pre-optimization done (n=179): time 8.737e-06/4.303, allocations: 3.938 kB / 0.5928 GB, free: 4.781 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.01417/4.317, allocations: 2.488 MB / 0.5952 GB, free: 2.281 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/4.318, allocations: 175 kB / 0.5954 GB, free: 2.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/4.331, allocations: 3.143 MB / 0.5985 GB, free: 14.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004713/4.332, allocations: 25.7 kB / 0.5985 GB, free: 14.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00539/4.337, allocations: 3.26 MB / 0.6017 GB, free: 11.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002094/4.339, allocations: 0.6983 MB / 0.6024 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/4.34, allocations: 0 / 0.6024 GB, free: 10.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002086/4.343, allocations: 0.663 MB / 0.603 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009537/4.352, allocations: 1.954 MB / 0.6049 GB, free: 8.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.251/4.603, allocations: 6.488 MB / 0.6113 GB, free: 150.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/4.617, allocations: 3.685 MB / 0.6149 GB, free: 150.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002187/4.617, allocations: 49.25 kB / 0.6149 GB, free: 150.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.03304/4.65, allocations: 7.303 MB / 0.622 GB, free: 150.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/4.65, allocations: 3.812 kB / 0.622 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004141/4.651, allocations: 164.5 kB / 0.6222 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/4.651, allocations: 240 kB / 0.6224 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01433/4.666, allocations: 1.595 MB / 0.624 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005338/4.666, allocations: 319.8 kB / 0.6243 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/4.681, allocations: 0.7959 MB / 0.6251 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/4.683, allocations: 442.3 kB / 0.6255 GB, free: 150 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (877): * Single equations (assignments): 871 * 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.00304/4.687, allocations: 499.7 kB / 0.626 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/4.688, allocations: 303.1 kB / 0.6263 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008437/4.696, allocations: 1.931 MB / 0.6281 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002175/4.697, allocations: 28.5 kB / 0.6282 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/4.697, allocations: 3.875 kB / 0.6282 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/4.697, allocations: 10.84 kB / 0.6282 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02709/4.724, allocations: 5.959 MB / 0.634 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/4.724, allocations: 11.31 kB / 0.634 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/4.728, allocations: 223.7 kB / 0.6342 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.592e-05/4.728, allocations: 14.84 kB / 0.6342 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/4.728, allocations: 23.41 kB / 0.6343 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.588e-05/4.728, allocations: 20.06 kB / 0.6343 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/4.728, allocations: 13.59 kB / 0.6343 GB, free: 148.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00917/4.737, allocations: 3.665 MB / 0.6379 GB, free: 146.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009638/4.747, allocations: 4.097 MB / 0.6419 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/4.748, allocations: 376.2 kB / 0.6422 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/4.75, allocations: 14.61 kB / 0.6423 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004052/4.754, allocations: 31.17 kB / 0.6423 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/4.755, allocations: 89.53 kB / 0.6424 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003179/4.755, allocations: 59.89 kB / 0.6424 GB, free: 144.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008857/4.764, allocations: 2.065 MB / 0.6444 GB, free: 144 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01528/4.78, allocations: 1.016 MB / 0.6454 GB, free: 143.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.001011/4.781, allocations: 149.4 kB / 0.6456 GB, free: 143.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01619/4.797, allocations: 4.509 MB / 0.65 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/4.797, allocations: 3.938 kB / 0.65 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003875/4.801, allocations: 1.077 MB / 0.651 GB, free: 143.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/4.805, allocations: 256.9 kB / 0.6513 GB, free: 143.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/4.841, allocations: 7.466 MB / 0.6586 GB, free: 141.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01427/4.856, allocations: 3.648 MB / 0.6621 GB, free: 141 MB / 474.7 MB Notification: Performance of SimCode: time 2.605e-06/4.856, allocations: 5.812 kB / 0.6621 GB, free: 141 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat