Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper",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.916/1.916, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2547/2.17, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/2.28, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/2.648, allocations: 93.86 MB / 409.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/2.648, allocations: 85.56 kB / 409.9 MB, free: 15.08 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.9012/3.55, allocations: 146.1 MB / 0.543 GB, free: 49.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/3.55, allocations: 7.844 kB / 0.543 GB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/3.588, allocations: 3.044 MB / 0.5459 GB, free: 48.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03921/3.627, allocations: 7.721 MB / 0.5535 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006741/3.628, allocations: 255.3 kB / 0.5537 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004807/3.633, allocations: 464.4 kB / 0.5542 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04291/3.676, allocations: 11.67 MB / 0.5656 GB, free: 45.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0541/3.73, allocations: 16.88 MB / 0.5821 GB, free: 31.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004787/3.73, allocations: 95.14 kB / 0.5821 GB, free: 31.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004041/3.734, allocations: 48 kB / 0.5822 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00592/3.74, allocations: 2.038 MB / 0.5842 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.331/4.071, allocations: 77.9 MB / 0.6603 GB, free: 97.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/4.081, allocations: 2.943 MB / 0.6631 GB, free: 96.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005814/4.087, allocations: 2.083 MB / 0.6652 GB, free: 96.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02481/4.112, allocations: 8.882 MB / 0.6738 GB, free: 93.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/4.112, allocations: 66.44 kB / 0.6739 GB, free: 93.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=279): time 7.083e-06/4.112, allocations: 2.531 kB / 0.6739 GB, free: 93.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=309): time 0.09012/4.202, allocations: 17.96 MB / 0.6914 GB, free: 88.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/4.202, allocations: 159.2 kB / 0.6916 GB, free: 88.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/4.214, allocations: 4.483 MB / 0.696 GB, free: 88.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000934/4.215, allocations: 27.92 kB / 0.696 GB, free: 88.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005231/4.221, allocations: 4.953 MB / 0.7008 GB, free: 84.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/4.223, allocations: 1.151 MB / 0.702 GB, free: 84.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/4.225, allocations: 3.469 kB / 0.702 GB, free: 84.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001015/4.226, allocations: 0.718 MB / 0.7027 GB, free: 83.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00795/4.234, allocations: 2.544 MB / 0.7052 GB, free: 83.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/4.245, allocations: 8.406 MB / 0.7134 GB, free: 76.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/4.257, allocations: 4.623 MB / 0.7179 GB, free: 76.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/4.258, allocations: 60.59 kB / 0.7179 GB, free: 76.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.03161/4.289, allocations: 9.595 MB / 0.7273 GB, free: 73.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/4.289, allocations: 9.125 kB / 0.7273 GB, free: 73.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001088/4.29, allocations: 210.3 kB / 0.7275 GB, free: 73.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/4.291, allocations: 311.4 kB / 0.7278 GB, free: 73.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02266/4.314, allocations: 2.421 MB / 0.7302 GB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004451/4.315, allocations: 417.9 kB / 0.7306 GB, free: 72.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/4.327, allocations: 409.2 kB / 0.731 GB, free: 72.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002713/4.33, allocations: 0.5856 MB / 0.7315 GB, free: 71.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[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],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1261): * Single equations (assignments): 1258 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004074/4.334, allocations: 0.6279 MB / 0.7321 GB, free: 71.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/4.336, allocations: 493.6 kB / 0.7326 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/4.347, allocations: 2.913 MB / 0.7355 GB, free: 68.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001345/4.347, allocations: 28 kB / 0.7355 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/4.347, allocations: 0 / 0.7355 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-05/4.347, allocations: 21.45 kB / 0.7355 GB, free: 68.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03827/4.385, allocations: 11.06 MB / 0.7463 GB, free: 58.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.603e-05/4.385, allocations: 32 kB / 0.7463 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004989/4.39, allocations: 0.5691 MB / 0.7469 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/4.39, allocations: 48 kB / 0.7469 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006356/4.391, allocations: 59.12 kB / 0.747 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.171e-05/4.391, allocations: 64.94 kB / 0.7471 GB, free: 57.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-05/4.391, allocations: 47.81 kB / 0.7471 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01327/4.404, allocations: 10.07 MB / 0.7569 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01598/4.42, allocations: 12.05 MB / 0.7687 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002988/4.424, allocations: 0.752 MB / 0.7694 GB, free: 33.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/4.425, allocations: 46.75 kB / 0.7695 GB, free: 33.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005448/4.431, allocations: 144 kB / 0.7696 GB, free: 33.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008163/4.432, allocations: 241.8 kB / 0.7699 GB, free: 33.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/4.432, allocations: 123.5 kB / 0.77 GB, free: 33.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.009148/4.441, allocations: 2.942 MB / 0.7728 GB, free: 30.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01323/4.454, allocations: 1.301 MB / 0.7741 GB, free: 29.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 287 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/4.456, allocations: 220.9 kB / 0.7743 GB, free: 29.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01513/4.471, allocations: 5.839 MB / 0.78 GB, free: 23.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.318e-05/4.471, allocations: 4.625 kB / 0.78 GB, free: 23.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/4.475, allocations: 1.397 MB / 0.7814 GB, free: 22.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/4.48, allocations: 0.5116 MB / 0.7819 GB, free: 22.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04828/4.528, allocations: 12.67 MB / 0.7943 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01784/4.546, allocations: 5.69 MB / 0.7998 GB, free: 6.004 MB / 442.7 MB Notification: Performance of SimCode: time 2.335e-06/4.546, allocations: 4 kB / 0.7998 GB, free: 6 MB / 442.7 MB