Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Damper2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.614/2.614, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1943/2.808, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/3.083, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/3.573, allocations: 100.8 MB / 454.9 MB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/3.574, allocations: 73.5 kB / 454.9 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.7092/4.283, allocations: 146.7 MB / 0.5875 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/4.283, allocations: 12 kB / 0.5875 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03608/4.319, allocations: 3.048 MB / 0.5905 GB, free: 9.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03459/4.354, allocations: 7.734 MB / 0.598 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/4.355, allocations: 256 kB / 0.5983 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005026/4.36, allocations: 475.9 kB / 0.5987 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04138/4.401, allocations: 11.68 MB / 0.6101 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2822/4.683, allocations: 16.89 MB / 0.6266 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005574/4.684, allocations: 91.75 kB / 0.6267 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005715/4.69, allocations: 46.38 kB / 0.6268 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009769/4.699, allocations: 2.039 MB / 0.6288 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1619/4.861, allocations: 77.99 MB / 0.7049 GB, free: 64.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/4.87, allocations: 2.957 MB / 0.7078 GB, free: 63.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006651/4.877, allocations: 2.091 MB / 0.7099 GB, free: 63.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/4.908, allocations: 8.905 MB / 0.7185 GB, free: 59.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007074/4.915, allocations: 2.007 MB / 0.7205 GB, free: 59.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=282): time 1.214e-05/4.915, allocations: 3.938 kB / 0.7205 GB, free: 59.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=312): time 0.1199/5.035, allocations: 18.02 MB / 0.7381 GB, free: 52.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/5.035, allocations: 164.8 kB / 0.7383 GB, free: 52.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01477/5.05, allocations: 4.494 MB / 0.7426 GB, free: 50.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007919/5.051, allocations: 29.48 kB / 0.7427 GB, free: 50.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006236/5.057, allocations: 5.063 MB / 0.7476 GB, free: 46.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/5.059, allocations: 1.167 MB / 0.7488 GB, free: 45.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/5.061, allocations: 2.531 kB / 0.7488 GB, free: 45.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001114/5.062, allocations: 0.7142 MB / 0.7495 GB, free: 45.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009851/5.072, allocations: 2.56 MB / 0.752 GB, free: 44.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01563/5.087, allocations: 8.427 MB / 0.7602 GB, free: 35.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01757/5.105, allocations: 4.625 MB / 0.7647 GB, free: 34.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002473/5.105, allocations: 57.19 kB / 0.7648 GB, free: 34.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.03281/5.138, allocations: 9.624 MB / 0.7742 GB, free: 30.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/5.138, allocations: 5.688 kB / 0.7742 GB, free: 30.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005008/5.139, allocations: 214.5 kB / 0.7744 GB, free: 30.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/5.139, allocations: 309.4 kB / 0.7747 GB, free: 30.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0214/5.161, allocations: 2.443 MB / 0.7771 GB, free: 30.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/5.161, allocations: 415.7 kB / 0.7774 GB, free: 30.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01529/5.177, allocations: 439.3 kB / 0.7779 GB, free: 30.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003053/5.18, allocations: 0.5816 MB / 0.7784 GB, free: 30.36 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.003981/5.184, allocations: 0.6335 MB / 0.7791 GB, free: 29.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/5.185, allocations: 493 kB / 0.7795 GB, free: 29.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/5.197, allocations: 2.941 MB / 0.7824 GB, free: 27.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/5.197, allocations: 28 kB / 0.7824 GB, free: 27.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/5.197, allocations: 3.938 kB / 0.7824 GB, free: 27.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-05/5.197, allocations: 18.56 kB / 0.7824 GB, free: 27.78 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03875/5.236, allocations: 11.06 MB / 0.7932 GB, free: 18.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.449e-05/5.236, allocations: 28 kB / 0.7933 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006023/5.242, allocations: 0.5949 MB / 0.7939 GB, free: 17.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.692e-05/5.242, allocations: 48 kB / 0.7939 GB, free: 17.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/5.243, allocations: 55.78 kB / 0.794 GB, free: 17.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.006e-05/5.243, allocations: 61.62 kB / 0.794 GB, free: 17.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-05/5.243, allocations: 43.81 kB / 0.7941 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01479/5.257, allocations: 9.905 MB / 0.8037 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2302/5.488, allocations: 11.88 MB / 0.8153 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/5.491, allocations: 0.7531 MB / 0.8161 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/5.493, allocations: 42.5 kB / 0.8161 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006626/5.5, allocations: 172.8 kB / 0.8163 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009933/5.501, allocations: 246.4 kB / 0.8165 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/5.501, allocations: 129.1 kB / 0.8166 GB, free: 103.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00984/5.511, allocations: 2.955 MB / 0.8195 GB, free: 103.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01489/5.526, allocations: 1.312 MB / 0.8208 GB, free: 103.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.001349/5.527, allocations: 206.8 kB / 0.821 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/5.545, allocations: 5.888 MB / 0.8267 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-05/5.545, allocations: 3.469 kB / 0.8267 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006596/5.551, allocations: 1.657 MB / 0.8284 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/5.557, allocations: 0.5145 MB / 0.8289 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05597/5.613, allocations: 12.7 MB / 0.8413 GB, free: 99.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02642/5.64, allocations: 5.713 MB / 0.8468 GB, free: 98.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/5.64, allocations: 0 / 0.8468 GB, free: 98.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat