Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",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(Modelica): time 1.689/1.689, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2099/1.899, allocations: 41.12 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/2.002, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/2.333, allocations: 84.31 MB / 342.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000423/2.333, allocations: 84.77 kB / 342.4 MB, free: 3.859 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.7212/3.055, allocations: 110.1 MB / 452.5 MB, free: 58.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/3.055, allocations: 7.344 kB / 452.5 MB, free: 58.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02611/3.081, allocations: 2.793 MB / 455.3 MB, free: 57.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03464/3.115, allocations: 7.512 MB / 462.8 MB, free: 57.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/3.116, allocations: 173.2 kB / 462.9 MB, free: 57.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/3.119, allocations: 324.3 kB / 463.3 MB, free: 57.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03189/3.151, allocations: 8.694 MB / 472 MB, free: 57.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03979/3.191, allocations: 12.5 MB / 484.5 MB, free: 49.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/3.191, allocations: 72.98 kB / 484.5 MB, free: 49.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/3.194, allocations: 40 kB / 484.6 MB, free: 49.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007128/3.201, allocations: 1.565 MB / 486.1 MB, free: 48.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/3.325, allocations: 64.07 MB / 0.5373 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1548/3.479, allocations: 4.12 MB / 0.5413 GB, free: 119.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009375/3.489, allocations: 3.276 MB / 0.5445 GB, free: 119.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03994/3.529, allocations: 13.42 MB / 0.5576 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.921e-05/3.529, allocations: 65.78 kB / 0.5577 GB, free: 116 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 7.384e-06/3.529, allocations: 0 / 0.5577 GB, free: 116 MB / 362.7 MB Notification: Performance of matching and sorting (n=267): time 0.1002/3.629, allocations: 19.1 MB / 0.5763 GB, free: 113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/3.629, allocations: 157.1 kB / 0.5765 GB, free: 112.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009377/3.639, allocations: 3.702 MB / 0.5801 GB, free: 111.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009442/3.64, allocations: 29.7 kB / 0.5801 GB, free: 111.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003219/3.643, allocations: 3.621 MB / 0.5837 GB, free: 108.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002165/3.645, allocations: 1.03 MB / 0.5847 GB, free: 107.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/3.646, allocations: 2.719 kB / 0.5847 GB, free: 107.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006126/3.647, allocations: 0.6474 MB / 0.5853 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008748/3.656, allocations: 3.203 MB / 0.5884 GB, free: 106.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/3.669, allocations: 7.848 MB / 0.5961 GB, free: 99.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/3.685, allocations: 4.922 MB / 0.6009 GB, free: 97.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002896/3.685, allocations: 51.91 kB / 0.601 GB, free: 97.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1072) (initialization): time 0.04526/3.73, allocations: 11.84 MB / 0.6125 GB, free: 87.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/3.73, allocations: 7.906 kB / 0.6125 GB, free: 87.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02365/3.754, allocations: 5.976 MB / 0.6184 GB, free: 83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/3.769, allocations: 2.444 MB / 0.6207 GB, free: 81.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/3.784, allocations: 1.954 MB / 0.6227 GB, free: 79.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/3.799, allocations: 11.05 MB / 0.6334 GB, free: 68.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/3.812, allocations: 0.5149 MB / 0.6339 GB, free: 68.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/3.815, allocations: 498.3 kB / 0.6344 GB, free: 67.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 757 * Number of states: 0 () * Number of discrete variables: 48 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1015): * Single equations (assignments): 994 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004593/3.819, allocations: 0.5162 MB / 0.6349 GB, free: 67.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/3.821, allocations: 418.5 kB / 0.6353 GB, free: 66.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03316/3.854, allocations: 6.55 MB / 0.6417 GB, free: 61.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03038/3.885, allocations: 5.867 MB / 0.6474 GB, free: 56.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.812e-05/3.885, allocations: 8 kB / 0.6475 GB, free: 56.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/3.885, allocations: 11.95 kB / 0.6475 GB, free: 56.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05607/3.941, allocations: 14.31 MB / 0.6614 GB, free: 42.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.286e-05/3.941, allocations: 8.016 kB / 0.6614 GB, free: 42.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006978/3.948, allocations: 479.3 kB / 0.6619 GB, free: 41.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01724/3.965, allocations: 2.686 MB / 0.6645 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009523/3.966, allocations: 51.92 kB / 0.6646 GB, free: 39.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/3.989, allocations: 13.13 MB / 0.6774 GB, free: 25.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003135/3.992, allocations: 4.151 MB / 0.6815 GB, free: 20.85 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03413/4.027, allocations: 10.79 MB / 0.692 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2261/4.253, allocations: 14.5 MB / 0.7061 GB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/4.255, allocations: 467.3 kB / 0.7066 GB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/4.257, allocations: 29.97 kB / 0.7066 GB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007311/4.264, allocations: 213.5 kB / 0.7068 GB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/4.265, allocations: 131.3 kB / 0.7069 GB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004312/4.266, allocations: 83.89 kB / 0.707 GB, free: 103.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00804/4.274, allocations: 2.454 MB / 0.7094 GB, free: 103.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01157/4.286, allocations: 1.436 MB / 0.7108 GB, free: 103.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/4.287, allocations: 189 kB / 0.711 GB, free: 103.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0299/4.317, allocations: 9.03 MB / 0.7198 GB, free: 102.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/4.317, allocations: 0 / 0.7198 GB, free: 102.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01724/4.334, allocations: 4.545 MB / 0.7243 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/4.341, allocations: 410.9 kB / 0.7247 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03947/4.38, allocations: 12.29 MB / 0.7367 GB, free: 98.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01248/4.393, allocations: 4.545 MB / 0.7411 GB, free: 97.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/4.393, allocations: 0 / 0.7411 GB, free: 97.01 MB / 362.7 MB