Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS",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.454/2.454, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1559/2.61, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/2.895, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/3.082, allocations: 91.28 MB / 445.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/3.082, allocations: 79.89 kB / 445.4 MB, free: 1.91 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.422/3.504, allocations: 35.41 MB / 480.8 MB, free: 64.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/3.504, allocations: 11.98 kB / 480.9 MB, free: 64.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/3.508, allocations: 356.7 kB / 481.2 MB, free: 64.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/3.513, allocations: 1.131 MB / 482.3 MB, free: 63.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/3.513, allocations: 60 kB / 482.4 MB, free: 63.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009852/3.514, allocations: 112 kB / 482.5 MB, free: 63.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007696/3.522, allocations: 2.801 MB / 485.3 MB, free: 60.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/3.533, allocations: 3.82 MB / 489.1 MB, free: 56.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-05/3.533, allocations: 11.94 kB / 489.1 MB, free: 56.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007379/3.534, allocations: 8 kB / 489.1 MB, free: 56.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/3.536, allocations: 0.5268 MB / 489.7 MB, free: 55.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/3.58, allocations: 15.62 MB / 0.4935 GB, free: 39.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/3.583, allocations: 0.841 MB / 0.4943 GB, free: 38.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/3.584, allocations: 0.6677 MB / 0.4949 GB, free: 38.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008252/3.593, allocations: 3.608 MB / 0.4984 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/3.593, allocations: 38.56 kB / 0.4985 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 5.761e-06/3.593, allocations: 0 / 0.4985 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.007531/3.6, allocations: 1.108 MB / 0.4996 GB, free: 33.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/3.6, allocations: 110.8 kB / 0.4997 GB, free: 32.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/3.603, allocations: 1.282 MB / 0.5009 GB, free: 31.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/3.603, allocations: 25.7 kB / 0.501 GB, free: 31.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/3.604, allocations: 1.409 MB / 0.5023 GB, free: 30.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/3.604, allocations: 142.6 kB / 0.5025 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/3.605, allocations: 0 / 0.5025 GB, free: 29.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/3.605, allocations: 447.6 kB / 0.5029 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/3.606, allocations: 492.6 kB / 0.5034 GB, free: 29.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/3.608, allocations: 2.073 MB / 0.5054 GB, free: 26.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/3.611, allocations: 0.9752 MB / 0.5063 GB, free: 25.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/3.611, allocations: 16 kB / 0.5064 GB, free: 25.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.005845/3.617, allocations: 2.142 MB / 0.5084 GB, free: 23.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/3.617, allocations: 5 kB / 0.5084 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.3e-05/3.617, allocations: 60 kB / 0.5085 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/3.617, allocations: 88 kB / 0.5086 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003865/3.621, allocations: 0.5653 MB / 0.5091 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.294e-05/3.621, allocations: 115.6 kB / 0.5093 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/3.624, allocations: 280.5 kB / 0.5095 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/3.624, allocations: 148 kB / 0.5097 GB, free: 21.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 307 * Array equations: 0 * 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.0003811/3.624, allocations: 266.1 kB / 0.5099 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/3.625, allocations: 118.4 kB / 0.51 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/3.625, allocations: 139.6 kB / 0.5102 GB, free: 21.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/3.625, allocations: 0 / 0.5102 GB, free: 21.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.046e-06/3.625, allocations: 4 kB / 0.5102 GB, free: 21.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/3.625, allocations: 0 / 0.5102 GB, free: 21.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/3.631, allocations: 2.559 MB / 0.5127 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/3.631, allocations: 8 kB / 0.5127 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/3.632, allocations: 75.84 kB / 0.5127 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/3.632, allocations: 15.98 kB / 0.5128 GB, free: 18.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/3.632, allocations: 12 kB / 0.5128 GB, free: 18.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/3.632, allocations: 15.94 kB / 0.5128 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/3.632, allocations: 15.94 kB / 0.5128 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001234/3.633, allocations: 1.207 MB / 0.514 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0012/3.634, allocations: 1.597 MB / 0.5155 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/3.635, allocations: 199.4 kB / 0.5157 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/3.635, allocations: 15.98 kB / 0.5157 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/3.636, allocations: 12.09 kB / 0.5158 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/3.636, allocations: 51.7 kB / 0.5158 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/3.636, allocations: 24 kB / 0.5158 GB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001768/3.638, allocations: 0.8393 MB / 0.5166 GB, free: 13.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003825/3.642, allocations: 457.7 kB / 0.5171 GB, free: 13.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0002353/3.642, allocations: 127 kB / 0.5172 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/3.645, allocations: 1.16 MB / 0.5183 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/3.645, allocations: 4 kB / 0.5183 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/3.645, allocations: 188 kB / 0.5185 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/3.646, allocations: 121.1 kB / 0.5186 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/3.653, allocations: 2.698 MB / 0.5213 GB, free: 8.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/3.656, allocations: 1.826 MB / 0.5231 GB, free: 6.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/3.656, allocations: 0 / 0.5231 GB, free: 6.832 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat