Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_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 1.909/1.909, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2192/2.128, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/2.277, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/2.65, allocations: 102.2 MB / 418.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/2.65, allocations: 83.78 kB / 418.3 MB, free: 6.805 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.8828/3.533, allocations: 156 MB / 0.5608 GB, free: 58.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/3.533, allocations: 8 kB / 0.5608 GB, free: 58.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05422/3.588, allocations: 5.805 MB / 0.5665 GB, free: 52.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/3.62, allocations: 8.443 MB / 0.5748 GB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000492/3.621, allocations: 232 kB / 0.575 GB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004822/3.626, allocations: 423.8 kB / 0.5754 GB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03278/3.659, allocations: 12.05 MB / 0.5871 GB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04751/3.706, allocations: 16.22 MB / 0.603 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005428/3.707, allocations: 91.17 kB / 0.6031 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004078/3.711, allocations: 36 kB / 0.6031 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/3.715, allocations: 1.839 MB / 0.6049 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.318/4.033, allocations: 72.11 MB / 0.6753 GB, free: 96.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/4.042, allocations: 3.93 MB / 0.6792 GB, free: 96.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006726/4.048, allocations: 2.931 MB / 0.682 GB, free: 96.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04673/4.095, allocations: 15.49 MB / 0.6972 GB, free: 90.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/4.095, allocations: 65.81 kB / 0.6972 GB, free: 90.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 1.102e-05/4.095, allocations: 0 / 0.6972 GB, free: 90.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=352): time 0.1275/4.223, allocations: 17.87 MB / 0.7147 GB, free: 86.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/4.223, allocations: 193.2 kB / 0.7149 GB, free: 86.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01827/4.241, allocations: 4.658 MB / 0.7194 GB, free: 85.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/4.242, allocations: 32.88 kB / 0.7194 GB, free: 85.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00607/4.249, allocations: 4.727 MB / 0.7241 GB, free: 81.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002766/4.251, allocations: 1.273 MB / 0.7253 GB, free: 80.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/4.253, allocations: 0 / 0.7253 GB, free: 80.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001957/4.255, allocations: 0.7286 MB / 0.726 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01292/4.268, allocations: 3.201 MB / 0.7291 GB, free: 79.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01824/4.287, allocations: 8.876 MB / 0.7378 GB, free: 70.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/4.308, allocations: 5.674 MB / 0.7433 GB, free: 68.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003045/4.308, allocations: 58.56 kB / 0.7434 GB, free: 68.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.06244/4.371, allocations: 12.1 MB / 0.7552 GB, free: 65.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/4.371, allocations: 5 kB / 0.7552 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004945/4.371, allocations: 203.1 kB / 0.7554 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009147/4.381, allocations: 1.312 MB / 0.7567 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/4.396, allocations: 2.247 MB / 0.7589 GB, free: 63.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03421/4.43, allocations: 7.222 MB / 0.7659 GB, free: 56.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/4.444, allocations: 336.2 kB / 0.7663 GB, free: 56.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002924/4.447, allocations: 0.5778 MB / 0.7668 GB, free: 55.88 MB / 442.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.004847/4.452, allocations: 0.5926 MB / 0.7674 GB, free: 55.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002696/4.454, allocations: 0.4974 MB / 0.7679 GB, free: 54.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03466/4.489, allocations: 5.377 MB / 0.7731 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002702/4.49, allocations: 32 kB / 0.7732 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/4.49, allocations: 4 kB / 0.7732 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/4.49, allocations: 18.62 kB / 0.7732 GB, free: 50.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07091/4.561, allocations: 12.67 MB / 0.7856 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.299e-05/4.561, allocations: 15.94 kB / 0.7856 GB, free: 39.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005368/4.566, allocations: 0.4999 MB / 0.7861 GB, free: 39.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007152/4.573, allocations: 0.8587 MB / 0.7869 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007578/4.574, allocations: 27.84 kB / 0.7869 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/4.589, allocations: 5.01 MB / 0.7918 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/4.589, allocations: 15.94 kB / 0.7918 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02747/4.616, allocations: 10.32 MB / 0.8019 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04559/4.662, allocations: 19.2 MB / 0.8207 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003936/4.666, allocations: 0.9184 MB / 0.8216 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/4.668, allocations: 19.94 kB / 0.8216 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005779/4.674, allocations: 98.45 kB / 0.8217 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/4.675, allocations: 181.6 kB / 0.8219 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004148/4.675, allocations: 103.9 kB / 0.822 GB, free: 5.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.008915/4.684, allocations: 3.115 MB / 0.825 GB, free: 2.336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01379/4.698, allocations: 1.432 MB / 0.8264 GB, free: 0.9219 MB / 442.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.001505/4.7, allocations: 233 kB / 0.8266 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2091/4.909, allocations: 7.853 MB / 0.8343 GB, free: 132.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.43e-05/4.909, allocations: 3.25 kB / 0.8343 GB, free: 132.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007192/4.916, allocations: 2.345 MB / 0.8366 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005206/4.922, allocations: 0.4948 MB / 0.8371 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04383/4.965, allocations: 12.92 MB / 0.8497 GB, free: 129.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01801/4.983, allocations: 5.752 MB / 0.8553 GB, free: 128.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.555e-06/4.984, allocations: 0 / 0.8553 GB, free: 128.5 MB / 442.7 MB