Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",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.063/2.063, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2282/2.291, allocations: 51.02 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/2.404, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/2.792, allocations: 94.3 MB / 410.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.792, allocations: 75.14 kB / 410.4 MB, free: 14.68 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.953/3.745, allocations: 146.7 MB / 0.544 GB, free: 78.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/3.745, allocations: 8.906 kB / 0.544 GB, free: 78.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0389/3.784, allocations: 3.044 MB / 0.5469 GB, free: 77.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03919/3.824, allocations: 7.729 MB / 0.5545 GB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008123/3.824, allocations: 261.7 kB / 0.5547 GB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005346/3.83, allocations: 467.8 kB / 0.5552 GB, free: 73.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03508/3.865, allocations: 11.67 MB / 0.5666 GB, free: 62.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06227/3.927, allocations: 16.89 MB / 0.5831 GB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001069/3.928, allocations: 99.06 kB / 0.5832 GB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006105/3.935, allocations: 51.94 kB / 0.5832 GB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009197/3.944, allocations: 2.034 MB / 0.5852 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3576/4.302, allocations: 78 MB / 0.6614 GB, free: 79.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/4.31, allocations: 2.956 MB / 0.6643 GB, free: 78.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005587/4.315, allocations: 2.091 MB / 0.6663 GB, free: 78.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02538/4.341, allocations: 8.909 MB / 0.675 GB, free: 75.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005607/4.346, allocations: 2.009 MB / 0.677 GB, free: 75.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 7.624e-06/4.346, allocations: 0 / 0.677 GB, free: 75.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=312): time 0.08944/4.436, allocations: 18.01 MB / 0.6946 GB, free: 71.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/4.436, allocations: 166.2 kB / 0.6947 GB, free: 70.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/4.449, allocations: 4.501 MB / 0.6991 GB, free: 70.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007003/4.45, allocations: 25.7 kB / 0.6991 GB, free: 70.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006196/4.456, allocations: 5.06 MB / 0.7041 GB, free: 67.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001857/4.458, allocations: 1.162 MB / 0.7052 GB, free: 66.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/4.46, allocations: 0 / 0.7052 GB, free: 66.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009095/4.461, allocations: 0.7202 MB / 0.7059 GB, free: 66.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007842/4.468, allocations: 2.563 MB / 0.7084 GB, free: 65.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/4.48, allocations: 8.426 MB / 0.7166 GB, free: 56.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/4.492, allocations: 4.626 MB / 0.7212 GB, free: 55.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002745/4.492, allocations: 60.47 kB / 0.7212 GB, free: 55.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.03456/4.527, allocations: 9.63 MB / 0.7306 GB, free: 52.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/4.527, allocations: 3.938 kB / 0.7306 GB, free: 52.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007803/4.528, allocations: 211.1 kB / 0.7308 GB, free: 52.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008125/4.528, allocations: 309.4 kB / 0.7311 GB, free: 52.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02414/4.553, allocations: 2.44 MB / 0.7335 GB, free: 52.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/4.553, allocations: 418.5 kB / 0.7339 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/4.566, allocations: 431.4 kB / 0.7343 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002839/4.569, allocations: 0.5807 MB / 0.7349 GB, free: 52.06 MB / 426.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: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1265): * Single equations (assignments): 1261 * Array equations: 3 * Algorithm blocks: 1 * 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.005351/4.575, allocations: 0.6364 MB / 0.7355 GB, free: 51.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/4.577, allocations: 496.4 kB / 0.736 GB, free: 51.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/4.59, allocations: 2.939 MB / 0.7389 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/4.591, allocations: 32 kB / 0.7389 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/4.591, allocations: 4 kB / 0.7389 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/4.591, allocations: 12.61 kB / 0.7389 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/4.624, allocations: 11.05 MB / 0.7497 GB, free: 39.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/4.624, allocations: 35.88 kB / 0.7497 GB, free: 38.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004998/4.629, allocations: 0.5938 MB / 0.7503 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.149e-05/4.629, allocations: 48 kB / 0.7503 GB, free: 38.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005727/4.63, allocations: 66.7 kB / 0.7504 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/4.63, allocations: 58.47 kB / 0.7505 GB, free: 38.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.937e-05/4.63, allocations: 47.81 kB / 0.7505 GB, free: 38.28 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01246/4.642, allocations: 9.894 MB / 0.7602 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01638/4.659, allocations: 11.87 MB / 0.7718 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003/4.662, allocations: 0.7547 MB / 0.7725 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/4.664, allocations: 49.52 kB / 0.7726 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005833/4.67, allocations: 166.6 kB / 0.7727 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009083/4.671, allocations: 253.2 kB / 0.773 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003385/4.671, allocations: 130 kB / 0.7731 GB, free: 13.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00869/4.68, allocations: 2.963 MB / 0.776 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01347/4.693, allocations: 1.302 MB / 0.7772 GB, free: 10.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (293): * Single equations (assignments): 288 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001058/4.694, allocations: 220.2 kB / 0.7775 GB, free: 9.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01597/4.71, allocations: 5.879 MB / 0.7832 GB, free: 4.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.904e-05/4.711, allocations: 4 kB / 0.7832 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005348/4.716, allocations: 1.66 MB / 0.7848 GB, free: 2.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/4.721, allocations: 0.518 MB / 0.7853 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05567/4.777, allocations: 12.71 MB / 0.7977 GB, free: 6.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01849/4.796, allocations: 5.703 MB / 0.8033 GB, free: 2.406 MB / 442.7 MB Notification: Performance of SimCode: time 1.974e-06/4.796, allocations: 4 kB / 0.8033 GB, free: 2.402 MB / 442.7 MB