Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_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.468/2.468, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1954/2.663, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/2.983, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/3.375, allocations: 100.8 MB / 454.8 MB, free: 34.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/3.376, allocations: 81.66 kB / 454.8 MB, free: 34.18 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.7488/4.124, allocations: 146.7 MB / 0.5874 GB, free: 12.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/4.124, allocations: 15.98 kB / 0.5874 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/4.153, allocations: 3.044 MB / 0.5904 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03103/4.184, allocations: 7.734 MB / 0.5979 GB, free: 1.969 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006353/4.185, allocations: 256 kB / 0.5982 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00458/4.189, allocations: 471.8 kB / 0.5986 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03721/4.227, allocations: 11.68 MB / 0.61 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2457/4.472, allocations: 16.89 MB / 0.6265 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000497/4.473, allocations: 88.91 kB / 0.6266 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00406/4.477, allocations: 48.22 kB / 0.6267 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006005/4.483, allocations: 2.04 MB / 0.6287 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1501/4.633, allocations: 77.99 MB / 0.7048 GB, free: 64.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/4.64, allocations: 2.956 MB / 0.7077 GB, free: 63.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005354/4.646, allocations: 2.093 MB / 0.7098 GB, free: 63.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02495/4.671, allocations: 8.905 MB / 0.7184 GB, free: 59.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005606/4.676, allocations: 2.005 MB / 0.7204 GB, free: 59.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=282): time 1.005e-05/4.676, allocations: 0 / 0.7204 GB, free: 59.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=312): time 0.09742/4.774, allocations: 18.01 MB / 0.738 GB, free: 52.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/4.774, allocations: 161.6 kB / 0.7382 GB, free: 52.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/4.786, allocations: 4.5 MB / 0.7425 GB, free: 50.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007019/4.787, allocations: 25.7 kB / 0.7426 GB, free: 50.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005872/4.793, allocations: 5.063 MB / 0.7475 GB, free: 46.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001941/4.795, allocations: 1.166 MB / 0.7487 GB, free: 46.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/4.796, allocations: 0 / 0.7487 GB, free: 46.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00126/4.798, allocations: 0.7259 MB / 0.7494 GB, free: 45.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007619/4.805, allocations: 2.558 MB / 0.7519 GB, free: 44.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/4.817, allocations: 8.425 MB / 0.7601 GB, free: 35.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/4.83, allocations: 4.634 MB / 0.7646 GB, free: 34.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002552/4.83, allocations: 61.56 kB / 0.7647 GB, free: 34.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.03082/4.861, allocations: 9.608 MB / 0.7741 GB, free: 31.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/4.861, allocations: 7.875 kB / 0.7741 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00053/4.861, allocations: 219 kB / 0.7743 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/4.862, allocations: 310.2 kB / 0.7746 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01816/4.88, allocations: 2.453 MB / 0.777 GB, free: 30.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/4.881, allocations: 415.4 kB / 0.7774 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/4.895, allocations: 423.3 kB / 0.7778 GB, free: 30.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00331/4.898, allocations: 0.5872 MB / 0.7783 GB, free: 30.58 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: 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.004726/4.903, allocations: 0.631 MB / 0.779 GB, free: 30.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/4.904, allocations: 496.3 kB / 0.7794 GB, free: 29.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/4.914, allocations: 2.939 MB / 0.7823 GB, free: 28.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/4.915, allocations: 31.89 kB / 0.7823 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/4.915, allocations: 3.125 kB / 0.7823 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.084e-05/4.915, allocations: 18.72 kB / 0.7823 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/4.949, allocations: 11.05 MB / 0.7931 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-05/4.949, allocations: 36.06 kB / 0.7932 GB, free: 18.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005096/4.954, allocations: 0.5942 MB / 0.7938 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-05/4.954, allocations: 48 kB / 0.7938 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004808/4.955, allocations: 51.75 kB / 0.7939 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.269e-05/4.955, allocations: 62.89 kB / 0.7939 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.76e-05/4.955, allocations: 47.81 kB / 0.794 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01283/4.967, allocations: 9.907 MB / 0.8036 GB, free: 7.156 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2259/5.193, allocations: 12.05 MB / 0.8154 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003586/5.197, allocations: 0.7513 MB / 0.8161 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003208/5.2, allocations: 50.39 kB / 0.8162 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009299/5.21, allocations: 167 kB / 0.8163 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/5.211, allocations: 248 kB / 0.8166 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000731/5.212, allocations: 121 kB / 0.8167 GB, free: 105.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009737/5.222, allocations: 2.963 MB / 0.8196 GB, free: 105.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01325/5.235, allocations: 1.308 MB / 0.8209 GB, free: 105.1 MB / 474.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.001285/5.236, allocations: 220.9 kB / 0.8211 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/5.251, allocations: 5.88 MB / 0.8268 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.957e-05/5.251, allocations: 3.562 kB / 0.8268 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005136/5.257, allocations: 1.659 MB / 0.8284 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007148/5.264, allocations: 0.516 MB / 0.8289 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05302/5.317, allocations: 12.7 MB / 0.8413 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02252/5.339, allocations: 5.706 MB / 0.8469 GB, free: 100.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.785e-06/5.339, allocations: 3.875 kB / 0.8469 GB, free: 100.6 MB / 474.7 MB