Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointSSR",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.428/2.428, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1756/2.604, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/2.859, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/3.301, allocations: 108.7 MB / 462.7 MB, free: 30.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/3.302, allocations: 75.33 kB / 462.8 MB, free: 30.35 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.8249/4.127, allocations: 156 MB / 0.6043 GB, free: 10.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.738e-05/4.127, allocations: 8 kB / 0.6043 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07334/4.2, allocations: 5.812 MB / 0.6099 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.273/4.473, allocations: 8.44 MB / 0.6182 GB, free: 115.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000608/4.474, allocations: 231 kB / 0.6184 GB, free: 115.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/4.479, allocations: 431.9 kB / 0.6188 GB, free: 115.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03475/4.514, allocations: 12.04 MB / 0.6306 GB, free: 115.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04917/4.563, allocations: 16.22 MB / 0.6464 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005616/4.564, allocations: 84.72 kB / 0.6465 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004256/4.568, allocations: 43.05 kB / 0.6465 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004523/4.573, allocations: 1.84 MB / 0.6483 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.152/4.725, allocations: 72.11 MB / 0.7188 GB, free: 68.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/4.737, allocations: 3.929 MB / 0.7226 GB, free: 67.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00926/4.746, allocations: 2.932 MB / 0.7255 GB, free: 65.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04853/4.794, allocations: 15.5 MB / 0.7406 GB, free: 57.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.308e-05/4.795, allocations: 66.22 kB / 0.7407 GB, free: 57.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=292): time 7.504e-06/4.795, allocations: 3.875 kB / 0.7407 GB, free: 57.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=352): time 0.1088/4.903, allocations: 17.86 MB / 0.7581 GB, free: 50.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/4.904, allocations: 198.8 kB / 0.7583 GB, free: 50.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/4.921, allocations: 4.668 MB / 0.7629 GB, free: 46.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008667/4.922, allocations: 29.7 kB / 0.7629 GB, free: 46.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005328/4.927, allocations: 4.72 MB / 0.7675 GB, free: 41.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002243/4.929, allocations: 1.271 MB / 0.7687 GB, free: 40.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00228/4.932, allocations: 0 / 0.7687 GB, free: 40.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001688/4.933, allocations: 0.7292 MB / 0.7694 GB, free: 40.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009556/4.943, allocations: 3.195 MB / 0.7726 GB, free: 37.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/4.957, allocations: 8.876 MB / 0.7812 GB, free: 26.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/4.973, allocations: 5.677 MB / 0.7868 GB, free: 21.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/4.973, allocations: 60 kB / 0.7868 GB, free: 21.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.04355/5.017, allocations: 12.11 MB / 0.7987 GB, free: 10.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/5.017, allocations: 6.5 kB / 0.7987 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003429/5.017, allocations: 208.1 kB / 0.7989 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00972/5.027, allocations: 1.306 MB / 0.8001 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01958/5.047, allocations: 2.239 MB / 0.8023 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/5.069, allocations: 7.227 MB / 0.8094 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/5.083, allocations: 334.8 kB / 0.8097 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003175/5.087, allocations: 0.5813 MB / 0.8103 GB, free: 368 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1209): * Single equations (assignments): 1202 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2206/5.307, allocations: 0.598 MB / 0.8109 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/5.309, allocations: 0.4983 MB / 0.8113 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03155/5.341, allocations: 5.369 MB / 0.8166 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002247/5.341, allocations: 30.66 kB / 0.8166 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/5.341, allocations: 7.406 kB / 0.8166 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.853e-05/5.341, allocations: 14.81 kB / 0.8166 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0548/5.396, allocations: 12.65 MB / 0.829 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.173e-05/5.396, allocations: 10.47 kB / 0.829 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008047/5.404, allocations: 0.4957 MB / 0.8295 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/5.415, allocations: 0.8718 MB / 0.8303 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/5.416, allocations: 24.8 kB / 0.8304 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/5.439, allocations: 5.003 MB / 0.8352 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.95e-05/5.439, allocations: 17.94 kB / 0.8353 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04184/5.481, allocations: 10.33 MB / 0.8454 GB, free: 95.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04931/5.53, allocations: 19.19 MB / 0.8641 GB, free: 92.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/5.534, allocations: 0.9208 MB / 0.865 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002762/5.537, allocations: 20.75 kB / 0.865 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008811/5.546, allocations: 94.94 kB / 0.8651 GB, free: 91.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001422/5.547, allocations: 181.1 kB / 0.8653 GB, free: 91.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/5.549, allocations: 104.8 kB / 0.8654 GB, free: 91.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01243/5.561, allocations: 3.112 MB / 0.8684 GB, free: 91.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01542/5.577, allocations: 1.437 MB / 0.8698 GB, free: 91.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (276): * Single equations (assignments): 268 * Array equations: 7 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/5.578, allocations: 236.2 kB / 0.87 GB, free: 91.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02078/5.599, allocations: 7.566 MB / 0.8774 GB, free: 90.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/5.599, allocations: 6.688 kB / 0.8774 GB, free: 90.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007017/5.606, allocations: 2.335 MB / 0.8797 GB, free: 89.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/5.612, allocations: 497 kB / 0.8802 GB, free: 89.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05296/5.665, allocations: 12.94 MB / 0.8928 GB, free: 84.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02178/5.687, allocations: 5.746 MB / 0.8984 GB, free: 82.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/5.687, allocations: 3.875 kB / 0.8984 GB, free: 82.86 MB / 474.7 MB