Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.054/2.054, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2398/2.294, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/2.414, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/2.794, allocations: 92.44 MB / 408.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/2.794, allocations: 78.09 kB / 408.5 MB, free: 464 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.4042/3.198, allocations: 77.31 MB / 485.8 MB, free: 6.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/3.198, allocations: 16 kB / 485.8 MB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04839/3.247, allocations: 3.922 MB / 489.7 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2129/3.46, allocations: 4.507 MB / 494.2 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/3.46, allocations: 116.9 kB / 494.4 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/3.462, allocations: 213.6 kB / 494.6 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0133/3.475, allocations: 5.301 MB / 499.9 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/3.501, allocations: 8.358 MB / 0.4963 GB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/3.501, allocations: 63.83 kB / 0.4964 GB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/3.502, allocations: 33.92 kB / 0.4964 GB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/3.504, allocations: 0.9423 MB / 0.4973 GB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08001/3.584, allocations: 44.21 MB / 0.5405 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/3.589, allocations: 2.59 MB / 0.543 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/3.593, allocations: 1.647 MB / 0.5446 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/3.608, allocations: 5.536 MB / 0.55 GB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/3.608, allocations: 50.28 kB / 0.5501 GB, free: 98.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 6.101e-06/3.608, allocations: 0 / 0.5501 GB, free: 98.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=184): time 0.08428/3.692, allocations: 17.35 MB / 0.567 GB, free: 91.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/3.692, allocations: 201.2 kB / 0.5672 GB, free: 91.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007259/3.699, allocations: 2.93 MB / 0.5701 GB, free: 88.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/3.7, allocations: 25.7 kB / 0.5701 GB, free: 88.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/3.702, allocations: 2.678 MB / 0.5727 GB, free: 86.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/3.704, allocations: 0.6874 MB / 0.5734 GB, free: 85.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008245/3.705, allocations: 0 / 0.5734 GB, free: 85.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005476/3.705, allocations: 0.5507 MB / 0.5739 GB, free: 85.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/3.71, allocations: 1.963 MB / 0.5759 GB, free: 83.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007517/3.718, allocations: 5.621 MB / 0.5813 GB, free: 76.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009598/3.728, allocations: 3.667 MB / 0.5849 GB, free: 73.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/3.728, allocations: 36 kB / 0.585 GB, free: 73.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.03347/3.761, allocations: 8.76 MB / 0.5935 GB, free: 66.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/3.761, allocations: 7.938 kB / 0.5935 GB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/3.761, allocations: 128 kB / 0.5936 GB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/3.772, allocations: 1.513 MB / 0.5951 GB, free: 64.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008544/3.781, allocations: 1.318 MB / 0.5964 GB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02945/3.81, allocations: 9.314 MB / 0.6055 GB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00709/3.817, allocations: 181.7 kB / 0.6057 GB, free: 55.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/3.819, allocations: 384.3 kB / 0.606 GB, free: 55.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.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 (718): * Single equations (assignments): 714 * 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%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001498/3.82, allocations: 428.7 kB / 0.6065 GB, free: 54.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009413/3.821, allocations: 313.9 kB / 0.6068 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/3.842, allocations: 4.143 MB / 0.6108 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002001/3.843, allocations: 16.66 kB / 0.6108 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/3.843, allocations: 8 kB / 0.6108 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/3.843, allocations: 15.64 kB / 0.6108 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/3.874, allocations: 7.794 MB / 0.6185 GB, free: 43.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-05/3.874, allocations: 7.984 kB / 0.6185 GB, free: 43.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/3.877, allocations: 219.7 kB / 0.6187 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009898/3.887, allocations: 1.246 MB / 0.6199 GB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004305/3.887, allocations: 15.97 kB / 0.6199 GB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03124/3.918, allocations: 7.984 MB / 0.6277 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/3.918, allocations: 0 / 0.6277 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02379/3.942, allocations: 6.645 MB / 0.6342 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02784/3.97, allocations: 8.916 MB / 0.6429 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/3.972, allocations: 0.5828 MB / 0.6435 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/3.974, allocations: 7.938 kB / 0.6435 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/3.977, allocations: 52 kB / 0.6435 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/3.977, allocations: 77.19 kB / 0.6436 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/3.978, allocations: 66.48 kB / 0.6437 GB, free: 17.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004612/3.982, allocations: 1.954 MB / 0.6456 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008053/3.99, allocations: 0.835 MB / 0.6464 GB, free: 14.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 121 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007992/3.991, allocations: 158 kB / 0.6465 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/4.003, allocations: 4.8 MB / 0.6512 GB, free: 9.969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/4.003, allocations: 4 kB / 0.6512 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006497/4.009, allocations: 1.558 MB / 0.6527 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/4.014, allocations: 301.1 kB / 0.653 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/4.037, allocations: 6.929 MB / 0.6598 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1684/4.206, allocations: 3.266 MB / 0.663 GB, free: 123.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/4.206, allocations: 0 / 0.663 GB, free: 123.6 MB / 410.7 MB