Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [: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.203/2.203, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2262/2.429, allocations: 51.02 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/2.538, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/2.912, allocations: 101.4 MB / 417.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/2.912, allocations: 85.55 kB / 417.5 MB, free: 7.664 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.8831/3.796, allocations: 144 MB / 0.5483 GB, free: 76.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/3.796, allocations: 9.875 kB / 0.5483 GB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1007/3.896, allocations: 8.937 MB / 0.5571 GB, free: 71.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.047/3.943, allocations: 9.193 MB / 0.566 GB, free: 63.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/3.944, allocations: 208 kB / 0.5662 GB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/3.949, allocations: 379.8 kB / 0.5666 GB, free: 62.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02801/3.977, allocations: 9.666 MB / 0.576 GB, free: 53.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/4.018, allocations: 13.57 MB / 0.5893 GB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007429/4.019, allocations: 83.25 kB / 0.5894 GB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004305/4.023, allocations: 32 kB / 0.5894 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004551/4.028, allocations: 1.478 MB / 0.5908 GB, free: 36.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.335/4.363, allocations: 63.71 MB / 0.6531 GB, free: 89.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/4.372, allocations: 4.277 MB / 0.6572 GB, free: 89.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007158/4.379, allocations: 3.365 MB / 0.6605 GB, free: 89.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03323/4.412, allocations: 12.37 MB / 0.6726 GB, free: 85.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/4.412, allocations: 58.56 kB / 0.6727 GB, free: 85.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 1.093e-05/4.412, allocations: 2.406 kB / 0.6727 GB, free: 85.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=338): time 0.1563/4.569, allocations: 27.28 MB / 0.6993 GB, free: 80.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/4.569, allocations: 241.4 kB / 0.6995 GB, free: 80.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/4.58, allocations: 4.441 MB / 0.7039 GB, free: 78.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009761/4.581, allocations: 25.7 kB / 0.7039 GB, free: 78.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/4.585, allocations: 4.008 MB / 0.7078 GB, free: 75.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/4.587, allocations: 1.203 MB / 0.709 GB, free: 74.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/4.589, allocations: 2.219 kB / 0.709 GB, free: 74.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000606/4.589, allocations: 0.6543 MB / 0.7096 GB, free: 74.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/4.601, allocations: 3.521 MB / 0.7131 GB, free: 72.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01634/4.618, allocations: 8.153 MB / 0.721 GB, free: 65.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/4.632, allocations: 5.343 MB / 0.7262 GB, free: 63.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/4.632, allocations: 44.34 kB / 0.7263 GB, free: 63.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.06833/4.701, allocations: 13.6 MB / 0.7396 GB, free: 58.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/4.701, allocations: 7.938 kB / 0.7396 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003399/4.701, allocations: 167.6 kB / 0.7397 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0244/4.726, allocations: 3.373 MB / 0.743 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/4.739, allocations: 1.811 MB / 0.7448 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05034/4.789, allocations: 16.06 MB / 0.7605 GB, free: 40.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/4.801, allocations: 274 kB / 0.7607 GB, free: 40.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002441/4.803, allocations: 486.2 kB / 0.7612 GB, free: 40.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 748 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (996): * Single equations (assignments): 992 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004249/4.807, allocations: 0.4968 MB / 0.7617 GB, free: 39.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/4.809, allocations: 0.5002 MB / 0.7622 GB, free: 39.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0466/4.856, allocations: 8.491 MB / 0.7705 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000158/4.856, allocations: 32 kB / 0.7705 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.334e-05/4.856, allocations: 16 kB / 0.7705 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-05/4.856, allocations: 17.39 kB / 0.7705 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0739/4.93, allocations: 17.13 MB / 0.7873 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-05/4.93, allocations: 4 kB / 0.7873 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005057/4.935, allocations: 463.2 kB / 0.7877 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02545/4.961, allocations: 2.966 MB / 0.7906 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/4.962, allocations: 16 kB / 0.7906 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06268/5.025, allocations: 14 MB / 0.8043 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-05/5.025, allocations: 4 kB / 0.8043 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2347/5.259, allocations: 13.93 MB / 0.8179 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08055/5.34, allocations: 27.01 MB / 0.8443 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004652/5.345, allocations: 1.054 MB / 0.8453 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/5.347, allocations: 13.3 kB / 0.8453 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009659/5.357, allocations: 104.9 kB / 0.8454 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/5.359, allocations: 164.5 kB / 0.8456 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009564/5.36, allocations: 89.72 kB / 0.8456 GB, free: 105.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01239/5.372, allocations: 3.047 MB / 0.8486 GB, free: 104.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01374/5.386, allocations: 1.433 MB / 0.85 GB, free: 104.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 250 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/5.388, allocations: 195.5 kB / 0.8502 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02579/5.414, allocations: 8.477 MB / 0.8585 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/5.414, allocations: 5.094 kB / 0.8585 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009138/5.423, allocations: 3.282 MB / 0.8617 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006875/5.43, allocations: 0.5656 MB / 0.8623 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04621/5.476, allocations: 13.07 MB / 0.875 GB, free: 95.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01793/5.494, allocations: 5.325 MB / 0.8802 GB, free: 93.81 MB / 426.7 MB Notification: Performance of SimCode: time 2.154e-06/5.494, allocations: 0 / 0.8802 GB, free: 93.81 MB / 426.7 MB