Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUSP",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.521/2.521, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/2.714, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/3.016, allocations: 54.84 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/3.479, allocations: 99.34 MB / 453.4 MB, free: 33.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/3.479, allocations: 81.55 kB / 453.5 MB, free: 33.3 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.3365/3.816, allocations: 75.43 MB / 0.5165 GB, free: 5.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/3.816, allocations: 8 kB / 0.5165 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/3.823, allocations: 0.6193 MB / 0.5171 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008776/3.832, allocations: 2.189 MB / 0.5193 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/3.832, allocations: 131.9 kB / 0.5194 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/3.834, allocations: 220 kB / 0.5196 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01674/3.851, allocations: 5.336 MB / 0.5248 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/3.886, allocations: 6.984 MB / 0.5316 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003146/3.886, allocations: 15.88 kB / 0.5317 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00254/3.889, allocations: 12 kB / 0.5317 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004903/3.894, allocations: 0.8114 MB / 0.5325 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08557/3.979, allocations: 25.99 MB / 0.5578 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/3.984, allocations: 1.11 MB / 0.5589 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/3.986, allocations: 0.755 MB / 0.5597 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0178/4.004, allocations: 5.995 MB / 0.5655 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/4.004, allocations: 43 kB / 0.5656 GB, free: 2.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 7.093e-06/4.004, allocations: 0 / 0.5656 GB, free: 2.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.02476/4.029, allocations: 4.754 MB / 0.5702 GB, free: 13.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/4.029, allocations: 137.2 kB / 0.5703 GB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006608/4.036, allocations: 1.944 MB / 0.5722 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000206/4.036, allocations: 29.64 kB / 0.5723 GB, free: 11.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002859/4.039, allocations: 2.346 MB / 0.5745 GB, free: 8.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007428/4.04, allocations: 320.1 kB / 0.5748 GB, free: 8.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/4.04, allocations: 0 / 0.5748 GB, free: 8.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004464/4.041, allocations: 466.1 kB / 0.5753 GB, free: 7.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/4.044, allocations: 0.8587 MB / 0.5761 GB, free: 7.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008511/4.053, allocations: 3.225 MB / 0.5793 GB, free: 2.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/4.061, allocations: 1.651 MB / 0.5809 GB, free: 1.004 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/4.061, allocations: 24 kB / 0.5809 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01315/4.074, allocations: 3.515 MB / 0.5843 GB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/4.074, allocations: 4 kB / 0.5844 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/4.074, allocations: 84.84 kB / 0.5844 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/4.075, allocations: 128 kB / 0.5846 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008586/4.083, allocations: 0.9046 MB / 0.5854 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002638/4.083, allocations: 167.4 kB / 0.5856 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/4.089, allocations: 99.73 kB / 0.5857 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009656/4.09, allocations: 232 kB / 0.5859 GB, free: 11.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (488): * Single equations (assignments): 488 * 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.000812/4.091, allocations: 325.9 kB / 0.5862 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/4.091, allocations: 201.4 kB / 0.5864 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/4.094, allocations: 0.9273 MB / 0.5873 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/4.094, allocations: 12 kB / 0.5873 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/4.094, allocations: 0 / 0.5873 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/4.094, allocations: 7.984 kB / 0.5873 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/4.109, allocations: 4.382 MB / 0.5916 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/4.109, allocations: 16 kB / 0.5916 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/4.11, allocations: 204.4 kB / 0.5918 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-05/4.111, allocations: 27.94 kB / 0.5919 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-05/4.111, allocations: 28 kB / 0.5919 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/4.111, allocations: 31.86 kB / 0.5919 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-05/4.111, allocations: 27.88 kB / 0.5919 GB, free: 5.34 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004563/4.115, allocations: 2.853 MB / 0.5947 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004739/4.12, allocations: 3.263 MB / 0.5979 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/4.121, allocations: 286.3 kB / 0.5982 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/4.122, allocations: 23.98 kB / 0.5982 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/4.124, allocations: 19.98 kB / 0.5982 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/4.125, allocations: 107.5 kB / 0.5983 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/4.125, allocations: 51.98 kB / 0.5984 GB, free: 13.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005811/4.131, allocations: 1.289 MB / 0.5996 GB, free: 11.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01012/4.141, allocations: 0.5469 MB / 0.6002 GB, free: 11.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.000687/4.141, allocations: 178.7 kB / 0.6003 GB, free: 11.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006295/4.148, allocations: 2.044 MB / 0.6023 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.363e-05/4.148, allocations: 5 kB / 0.6023 GB, free: 9.043 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/4.149, allocations: 466.3 kB / 0.6028 GB, free: 8.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/4.151, allocations: 212.8 kB / 0.603 GB, free: 8.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/4.173, allocations: 5.31 MB / 0.6082 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2161/4.39, allocations: 2.974 MB / 0.6111 GB, free: 161.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/4.39, allocations: 1.938 kB / 0.6111 GB, free: 161.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat