Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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 1.929/1.929, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2548/2.184, allocations: 51.02 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/2.313, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/2.699, allocations: 103.6 MB / 419.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/2.7, allocations: 83.38 kB / 419.6 MB, free: 5.473 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 1.024/3.724, allocations: 174 MB / 0.5797 GB, free: 51.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/3.724, allocations: 12 kB / 0.5797 GB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05968/3.784, allocations: 6.077 MB / 0.5857 GB, free: 45.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03639/3.82, allocations: 9.908 MB / 0.5953 GB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005917/3.821, allocations: 248 kB / 0.5956 GB, free: 35.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005328/3.826, allocations: 463.7 kB / 0.596 GB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03518/3.862, allocations: 13.58 MB / 0.6093 GB, free: 21.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05135/3.913, allocations: 18.02 MB / 0.6269 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006006/3.914, allocations: 95.12 kB / 0.627 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004638/3.918, allocations: 40 kB / 0.627 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005082/3.924, allocations: 2.082 MB / 0.629 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3516/4.275, allocations: 80.6 MB / 0.7077 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/4.287, allocations: 5.141 MB / 0.7128 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/4.298, allocations: 4.27 MB / 0.7169 GB, free: 67.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06092/4.359, allocations: 20.09 MB / 0.7366 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/4.359, allocations: 71 kB / 0.7366 GB, free: 57.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=340): time 6.823e-06/4.359, allocations: 0 / 0.7366 GB, free: 57.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=432): time 0.1366/4.496, allocations: 25.91 MB / 0.7619 GB, free: 48.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/4.496, allocations: 195.4 kB / 0.7621 GB, free: 47.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/4.516, allocations: 5.134 MB / 0.7671 GB, free: 46.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001128/4.517, allocations: 27.05 kB / 0.7672 GB, free: 46.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004761/4.522, allocations: 5.08 MB / 0.7721 GB, free: 42.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003614/4.525, allocations: 1.533 MB / 0.7736 GB, free: 41.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002917/4.528, allocations: 0 / 0.7736 GB, free: 41.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.002211/4.531, allocations: 0.7719 MB / 0.7744 GB, free: 40.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01729/4.548, allocations: 4.125 MB / 0.7784 GB, free: 38.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01627/4.564, allocations: 10.17 MB / 0.7883 GB, free: 25.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/4.582, allocations: 6.552 MB / 0.7947 GB, free: 20.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002453/4.582, allocations: 67.47 kB / 0.7948 GB, free: 20.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=1437) (initialization): time 0.05407/4.636, allocations: 14.9 MB / 0.8093 GB, free: 7.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/4.636, allocations: 4 kB / 0.8093 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004231/4.637, allocations: 216 kB / 0.8095 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/4.652, allocations: 2.228 MB / 0.8117 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/4.67, allocations: 2.495 MB / 0.8142 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2514/4.922, allocations: 10.72 MB / 0.8246 GB, free: 99.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/4.937, allocations: 431.1 kB / 0.825 GB, free: 99.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/4.94, allocations: 0.6137 MB / 0.8256 GB, free: 99.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1336): * Single equations (assignments): 1329 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004153/4.944, allocations: 0.6225 MB / 0.8262 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/4.946, allocations: 0.5694 MB / 0.8268 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03477/4.981, allocations: 8.105 MB / 0.8347 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001965/4.981, allocations: 53.11 kB / 0.8348 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/4.981, allocations: 12.12 kB / 0.8348 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/4.981, allocations: 19.44 kB / 0.8348 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07801/5.059, allocations: 17.44 MB / 0.8518 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-05/5.06, allocations: 15.22 kB / 0.8518 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006705/5.066, allocations: 0.6174 MB / 0.8524 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01398/5.08, allocations: 1.745 MB / 0.8542 GB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001077/5.081, allocations: 26.52 kB / 0.8542 GB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/5.11, allocations: 8.995 MB / 0.863 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/5.11, allocations: 15.19 kB / 0.863 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04101/5.151, allocations: 14.38 MB / 0.877 GB, free: 88.67 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07647/5.227, allocations: 27.39 MB / 0.9038 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005039/5.232, allocations: 1.147 MB / 0.9049 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002656/5.235, allocations: 24.73 kB / 0.9049 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007222/5.243, allocations: 134.7 kB / 0.905 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/5.244, allocations: 217 kB / 0.9052 GB, free: 75.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006782/5.245, allocations: 115.8 kB / 0.9054 GB, free: 75.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01186/5.257, allocations: 3.441 MB / 0.9087 GB, free: 74.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01614/5.273, allocations: 1.677 MB / 0.9104 GB, free: 73.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 336 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/5.275, allocations: 223.8 kB / 0.9106 GB, free: 73.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02448/5.299, allocations: 9.616 MB / 0.92 GB, free: 64.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/5.299, allocations: 0 / 0.92 GB, free: 64.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009866/5.309, allocations: 3.297 MB / 0.9232 GB, free: 61.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007163/5.316, allocations: 0.5574 MB / 0.9237 GB, free: 61.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06813/5.384, allocations: 15.06 MB / 0.9384 GB, free: 47.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02001/5.405, allocations: 6.233 MB / 0.9445 GB, free: 43.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/5.405, allocations: 0 / 0.9445 GB, free: 43.06 MB / 426.7 MB