Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque2",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.773/2.773, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.224/2.997, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/3.305, allocations: 54.84 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/3.73, allocations: 95.21 MB / 449.3 MB, free: 31.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/3.73, allocations: 78.28 kB / 449.4 MB, free: 31.65 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.3224/4.053, allocations: 57.52 MB / 0.495 GB, free: 18.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/4.053, allocations: 8.781 kB / 0.495 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/4.07, allocations: 1.502 MB / 0.4965 GB, free: 18.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/4.078, allocations: 1.762 MB / 0.4982 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/4.078, allocations: 96.72 kB / 0.4983 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/4.08, allocations: 172.5 kB / 0.4985 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01474/4.095, allocations: 4.556 MB / 0.5029 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/4.124, allocations: 6.298 MB / 0.5091 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/4.124, allocations: 15.81 kB / 0.5091 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/4.126, allocations: 12 kB / 0.5091 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/4.127, allocations: 0.7365 MB / 0.5098 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05961/4.187, allocations: 23.59 MB / 0.5328 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/4.191, allocations: 1.522 MB / 0.5343 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/4.192, allocations: 0.5892 MB / 0.5349 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/4.193, allocations: 24.98 kB / 0.5349 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/4.193, allocations: 43.34 kB / 0.535 GB, free: 1.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.479e-06/4.193, allocations: 0 / 0.535 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.007671/4.2, allocations: 1.574 MB / 0.5365 GB, free: 40 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/4.2, allocations: 60.19 kB / 0.5366 GB, free: 15.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/4.205, allocations: 1.646 MB / 0.5382 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/4.206, allocations: 29.7 kB / 0.5382 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002498/4.208, allocations: 1.955 MB / 0.5401 GB, free: 12.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/4.209, allocations: 414.5 kB / 0.5405 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/4.21, allocations: 0 / 0.5405 GB, free: 11.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001287/4.211, allocations: 0.4945 MB / 0.541 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/4.215, allocations: 0.9673 MB / 0.5419 GB, free: 10.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005374/4.22, allocations: 3.089 MB / 0.5449 GB, free: 6.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/4.226, allocations: 1.782 MB / 0.5467 GB, free: 4.469 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.857e-05/4.226, allocations: 20 kB / 0.5467 GB, free: 4.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.0115/4.237, allocations: 3.582 MB / 0.5502 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/4.237, allocations: 4 kB / 0.5502 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/4.237, allocations: 80 kB / 0.5503 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/4.238, allocations: 112.8 kB / 0.5504 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005467/4.243, allocations: 0.7837 MB / 0.5511 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/4.243, allocations: 147.4 kB / 0.5513 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/4.248, allocations: 391.2 kB / 0.5517 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/4.249, allocations: 218 kB / 0.5519 GB, free: 15.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (432): * Single equations (assignments): 429 * 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.0009624/4.25, allocations: 305 kB / 0.5522 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/4.251, allocations: 169.8 kB / 0.5523 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/4.255, allocations: 1.39 MB / 0.5537 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/4.255, allocations: 11.94 kB / 0.5537 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/4.255, allocations: 0 / 0.5537 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/4.255, allocations: 3.984 kB / 0.5537 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/4.271, allocations: 5.27 MB / 0.5588 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/4.271, allocations: 12 kB / 0.5589 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/4.273, allocations: 151.7 kB / 0.559 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.931e-05/4.273, allocations: 19.91 kB / 0.559 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/4.273, allocations: 19.98 kB / 0.559 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.597e-05/4.273, allocations: 19.94 kB / 0.5591 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/4.273, allocations: 15.94 kB / 0.5591 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00481/4.278, allocations: 2.479 MB / 0.5615 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005505/4.283, allocations: 2.874 MB / 0.5643 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008247/4.284, allocations: 254.6 kB / 0.5645 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008807/4.285, allocations: 27.92 kB / 0.5646 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/4.288, allocations: 19.92 kB / 0.5646 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/4.288, allocations: 75.69 kB / 0.5647 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/4.289, allocations: 43.98 kB / 0.5647 GB, free: 0.832 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005253/4.294, allocations: 1.106 MB / 0.5658 GB, free: 15.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009685/4.304, allocations: 0.7228 MB / 0.5665 GB, free: 15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.001054/4.305, allocations: 144.1 kB / 0.5666 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006984/4.312, allocations: 2.279 MB / 0.5689 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.553e-05/4.312, allocations: 4 kB / 0.5689 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/4.315, allocations: 0.6213 MB / 0.5695 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/4.317, allocations: 178.7 kB / 0.5696 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/4.344, allocations: 4.884 MB / 0.5744 GB, free: 6.711 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01127/4.355, allocations: 2.678 MB / 0.577 GB, free: 4.008 MB / 442.7 MB Notification: Performance of SimCode: time 2.425e-06/4.355, allocations: 0 / 0.577 GB, free: 4.008 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat