Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_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 2.15/2.15, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1447/2.295, allocations: 57.21 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/2.574, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/3.022, allocations: 100.3 MB / 454.3 MB, free: 33.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/3.022, allocations: 78.03 kB / 454.4 MB, free: 33.95 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.7827/3.805, allocations: 146.1 MB / 0.5864 GB, free: 13.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.99e-05/3.805, allocations: 8 kB / 0.5864 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04209/3.847, allocations: 3.047 MB / 0.5894 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0444/3.891, allocations: 7.73 MB / 0.5969 GB, free: 3.062 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/3.892, allocations: 259.9 kB / 0.5971 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006059/3.899, allocations: 467.8 kB / 0.5976 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04968/3.948, allocations: 11.67 MB / 0.609 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2796/4.228, allocations: 16.87 MB / 0.6255 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006965/4.229, allocations: 95.28 kB / 0.6256 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005772/4.235, allocations: 47.81 kB / 0.6256 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008969/4.244, allocations: 2.04 MB / 0.6276 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1814/4.425, allocations: 77.89 MB / 0.7037 GB, free: 64.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/4.436, allocations: 2.946 MB / 0.7065 GB, free: 63.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007368/4.443, allocations: 2.093 MB / 0.7086 GB, free: 63.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/4.476, allocations: 8.874 MB / 0.7172 GB, free: 60.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/4.476, allocations: 68.52 kB / 0.7173 GB, free: 60.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=279): time 7.263e-06/4.476, allocations: 0 / 0.7173 GB, free: 60.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=309): time 0.09713/4.573, allocations: 17.95 MB / 0.7348 GB, free: 53.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/4.573, allocations: 159.2 kB / 0.735 GB, free: 53.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/4.586, allocations: 4.492 MB / 0.7394 GB, free: 51.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007408/4.587, allocations: 25.7 kB / 0.7394 GB, free: 51.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006377/4.594, allocations: 4.951 MB / 0.7442 GB, free: 48.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002639/4.596, allocations: 1.147 MB / 0.7454 GB, free: 47.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/4.598, allocations: 0 / 0.7454 GB, free: 47.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001964/4.6, allocations: 0.7237 MB / 0.7461 GB, free: 46.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009271/4.61, allocations: 2.543 MB / 0.7485 GB, free: 45.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/4.622, allocations: 8.417 MB / 0.7568 GB, free: 37.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/4.634, allocations: 4.611 MB / 0.7613 GB, free: 35.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/4.634, allocations: 60.97 kB / 0.7613 GB, free: 35.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.03325/4.668, allocations: 9.601 MB / 0.7707 GB, free: 32.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/4.668, allocations: 6.438 kB / 0.7707 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005626/4.668, allocations: 210.8 kB / 0.7709 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/4.669, allocations: 309.4 kB / 0.7712 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02392/4.693, allocations: 2.421 MB / 0.7736 GB, free: 31.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007505/4.694, allocations: 415.4 kB / 0.774 GB, free: 31.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01998/4.714, allocations: 407.1 kB / 0.7744 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003768/4.718, allocations: 0.5816 MB / 0.7749 GB, free: 31.73 MB / 474.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.005344/4.723, allocations: 0.6309 MB / 0.7755 GB, free: 31.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/4.725, allocations: 491.6 kB / 0.776 GB, free: 30.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/4.742, allocations: 2.93 MB / 0.7789 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001613/4.742, allocations: 27.72 kB / 0.7789 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/4.742, allocations: 1.156 kB / 0.7789 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/4.742, allocations: 19.42 kB / 0.7789 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04885/4.791, allocations: 11.05 MB / 0.7897 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001699/4.792, allocations: 35.94 kB / 0.7897 GB, free: 21.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007042/4.799, allocations: 0.5724 MB / 0.7903 GB, free: 21.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/4.799, allocations: 59.03 kB / 0.7904 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008896/4.8, allocations: 55 kB / 0.7904 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.743e-05/4.8, allocations: 62.38 kB / 0.7905 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.62e-05/4.8, allocations: 47.81 kB / 0.7905 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01842/4.818, allocations: 10.07 MB / 0.8003 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2649/5.083, allocations: 12.46 MB / 0.8125 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003324/5.087, allocations: 0.7564 MB / 0.8133 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/5.089, allocations: 47 kB / 0.8133 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006329/5.095, allocations: 147.1 kB / 0.8134 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009914/5.096, allocations: 234.3 kB / 0.8137 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004055/5.096, allocations: 121.8 kB / 0.8138 GB, free: 105.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01138/5.108, allocations: 2.948 MB / 0.8167 GB, free: 105.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01401/5.122, allocations: 1.305 MB / 0.8179 GB, free: 105.8 MB / 474.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.001263/5.123, allocations: 213.9 kB / 0.8181 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01514/5.138, allocations: 5.839 MB / 0.8238 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.248e-05/5.138, allocations: 3.75 kB / 0.8238 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003729/5.142, allocations: 1.396 MB / 0.8252 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/5.148, allocations: 0.5092 MB / 0.8257 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05602/5.204, allocations: 12.67 MB / 0.8381 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02046/5.225, allocations: 5.696 MB / 0.8436 GB, free: 101.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.334e-06/5.225, allocations: 0 / 0.8436 GB, free: 101.4 MB / 474.7 MB