Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_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.194/2.194, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1605/2.355, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/2.612, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/3.017, allocations: 99.03 MB / 453 MB, free: 33.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/3.018, allocations: 79.16 kB / 453.1 MB, free: 33.39 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.4023/3.42, allocations: 77.36 MB / 0.518 GB, free: 4.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/3.42, allocations: 8 kB / 0.518 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03189/3.452, allocations: 3.923 MB / 0.5218 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/3.474, allocations: 4.526 MB / 0.5263 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/3.475, allocations: 116 kB / 0.5264 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003187/3.478, allocations: 219.8 kB / 0.5266 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01745/3.495, allocations: 5.296 MB / 0.5318 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/3.52, allocations: 8.358 MB / 0.5399 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/3.52, allocations: 63.41 kB / 0.54 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001107/3.521, allocations: 28 kB / 0.54 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001998/3.523, allocations: 0.9464 MB / 0.5409 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08792/3.611, allocations: 44.21 MB / 0.5841 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/3.617, allocations: 2.602 MB / 0.5866 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/3.621, allocations: 1.654 MB / 0.5883 GB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01615/3.637, allocations: 5.538 MB / 0.5937 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/3.637, allocations: 47.34 kB / 0.5937 GB, free: 3.855 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 7.574e-06/3.637, allocations: 0 / 0.5937 GB, free: 3.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.08965/3.727, allocations: 17.37 MB / 0.6107 GB, free: 2.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/3.727, allocations: 197.2 kB / 0.6109 GB, free: 2.109 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1984/3.926, allocations: 2.917 MB / 0.6137 GB, free: 157 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007092/3.927, allocations: 29.45 kB / 0.6137 GB, free: 157 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004347/3.931, allocations: 2.685 MB / 0.6164 GB, free: 156.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/3.933, allocations: 0.6878 MB / 0.617 GB, free: 155.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/3.934, allocations: 0 / 0.617 GB, free: 155.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001032/3.935, allocations: 0.5569 MB / 0.6176 GB, free: 155.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007742/3.943, allocations: 1.963 MB / 0.6195 GB, free: 155.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/3.954, allocations: 5.611 MB / 0.625 GB, free: 150.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/3.965, allocations: 3.671 MB / 0.6286 GB, free: 150.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/3.965, allocations: 37.62 kB / 0.6286 GB, free: 150.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.03512/4.001, allocations: 8.763 MB / 0.6372 GB, free: 150.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/4.001, allocations: 5.953 kB / 0.6372 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/4.001, allocations: 130.9 kB / 0.6373 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/4.011, allocations: 1.504 MB / 0.6388 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008637/4.02, allocations: 1.323 MB / 0.6401 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/4.049, allocations: 9.302 MB / 0.6491 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007306/4.057, allocations: 180.9 kB / 0.6493 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/4.058, allocations: 388 kB / 0.6497 GB, free: 148.6 MB / 474.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.002541/4.061, allocations: 425 kB / 0.6501 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/4.062, allocations: 307.7 kB / 0.6504 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/4.083, allocations: 4.151 MB / 0.6544 GB, free: 148 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-05/4.084, allocations: 25.34 kB / 0.6545 GB, free: 148 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/4.084, allocations: 7.688 kB / 0.6545 GB, free: 148 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.139e-05/4.084, allocations: 7.266 kB / 0.6545 GB, free: 148 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03934/4.123, allocations: 7.793 MB / 0.6621 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/4.123, allocations: 0 / 0.6621 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/4.126, allocations: 226.9 kB / 0.6623 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009444/4.135, allocations: 1.236 MB / 0.6635 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/4.136, allocations: 13.91 kB / 0.6635 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/4.161, allocations: 7.991 MB / 0.6713 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/4.161, allocations: 0.5 kB / 0.6713 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02576/4.187, allocations: 6.648 MB / 0.6778 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0304/4.217, allocations: 8.927 MB / 0.6865 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/4.22, allocations: 0.5778 MB / 0.6871 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/4.221, allocations: 1.344 kB / 0.6871 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005632/4.227, allocations: 47.47 kB / 0.6871 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/4.228, allocations: 87.39 kB / 0.6872 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008141/4.229, allocations: 57.66 kB / 0.6873 GB, free: 136.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008737/4.238, allocations: 1.952 MB / 0.6892 GB, free: 135.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009489/4.247, allocations: 0.8384 MB / 0.69 GB, free: 135.6 MB / 474.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.001005/4.248, allocations: 161.9 kB / 0.6902 GB, free: 135.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/4.261, allocations: 4.8 MB / 0.6948 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/4.261, allocations: 0.9375 kB / 0.6948 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004046/4.265, allocations: 1.568 MB / 0.6964 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/4.268, allocations: 282.9 kB / 0.6966 GB, free: 130.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/4.292, allocations: 6.939 MB / 0.7034 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008442/4.3, allocations: 3.27 MB / 0.7066 GB, free: 122 MB / 474.7 MB Notification: Performance of SimCode: time 1.322e-06/4.3, allocations: 0 / 0.7066 GB, free: 122 MB / 474.7 MB