Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",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.407/2.407, allocations: 235.1 MB / 242 MB, free: 11.26 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2759/2.683, allocations: 57.2 MB / 299.2 MB, free: 5.965 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/2.814, allocations: 54.86 MB / 354.1 MB, free: 14.99 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.754/4.568, allocations: 0.6031 GB / 0.9489 GB, free: 147 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/4.569, allocations: 84.69 kB / 0.949 GB, free: 147 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.4205/4.989, allocations: 102.7 MB / 1.049 GB, free: 83.84 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/4.989, allocations: 12 kB / 1.049 GB, free: 83.82 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/4.99, allocations: 71.33 kB / 1.049 GB, free: 83.75 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/4.991, allocations: 415.3 kB / 1.05 GB, free: 83.31 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/4.992, allocations: 50.47 kB / 1.05 GB, free: 83.25 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/4.992, allocations: 23.91 kB / 1.05 GB, free: 83.23 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/4.993, allocations: 301.5 kB / 1.05 GB, free: 82.93 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/4.994, allocations: 449.5 kB / 1.051 GB, free: 82.45 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/4.994, allocations: 4 kB / 1.051 GB, free: 82.45 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/4.994, allocations: 0 / 1.051 GB, free: 82.45 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/4.994, allocations: 16.66 kB / 1.051 GB, free: 82.43 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005342/5, allocations: 2.469 MB / 1.053 GB, free: 79.82 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/5, allocations: 161.8 kB / 1.053 GB, free: 79.66 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/5, allocations: 112.9 kB / 1.053 GB, free: 79.54 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/5.001, allocations: 4 kB / 1.053 GB, free: 79.54 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/5.001, allocations: 185.9 kB / 1.053 GB, free: 79.34 MB / 482.8 MB Notification: Performance of pre-optimization done (n=32): time 4.408e-06/5.001, allocations: 7.938 kB / 1.053 GB, free: 79.33 MB / 482.8 MB Notification: Performance of matching and sorting (n=44): time 0.01311/5.014, allocations: 1.94 MB / 1.055 GB, free: 77.27 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/5.014, allocations: 144.4 kB / 1.055 GB, free: 77.09 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/5.015, allocations: 320.6 kB / 1.056 GB, free: 76.78 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/5.015, allocations: 25.7 kB / 1.056 GB, free: 76.75 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/5.015, allocations: 223.8 kB / 1.056 GB, free: 76.52 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/5.015, allocations: 145.9 kB / 1.056 GB, free: 76.38 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/5.015, allocations: 0 / 1.056 GB, free: 76.38 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001109/5.015, allocations: 358.7 kB / 1.057 GB, free: 76.02 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/5.016, allocations: 149.3 kB / 1.057 GB, free: 75.87 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/5.017, allocations: 333.5 kB / 1.057 GB, free: 75.46 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/5.018, allocations: 224.7 kB / 1.057 GB, free: 75.24 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.018, allocations: 0 / 1.057 GB, free: 75.24 MB / 482.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001925/5.02, allocations: 0.5734 MB / 1.058 GB, free: 74.66 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/5.02, allocations: 8 kB / 1.058 GB, free: 74.65 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/5.02, allocations: 4 kB / 1.058 GB, free: 74.65 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/5.02, allocations: 105.4 kB / 1.058 GB, free: 74.54 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/5.022, allocations: 155.8 kB / 1.058 GB, free: 74.39 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009583/5.023, allocations: 0.7006 MB / 1.059 GB, free: 73.66 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/5.024, allocations: 75.84 kB / 1.059 GB, free: 73.59 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/5.024, allocations: 40 kB / 1.059 GB, free: 73.55 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002522/5.025, allocations: 124.8 kB / 1.059 GB, free: 73.42 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/5.025, allocations: 51.42 kB / 1.059 GB, free: 73.37 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/5.028, allocations: 0.5517 MB / 1.06 GB, free: 72.81 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/5.028, allocations: 8 kB / 1.06 GB, free: 72.8 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/5.028, allocations: 0 / 1.06 GB, free: 72.8 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/5.028, allocations: 3.984 kB / 1.06 GB, free: 72.8 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/5.031, allocations: 1.018 MB / 1.061 GB, free: 71.71 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/5.031, allocations: 8.125 kB / 1.061 GB, free: 71.71 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/5.033, allocations: 123.8 kB / 1.061 GB, free: 71.59 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/5.034, allocations: 100.8 kB / 1.061 GB, free: 71.48 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.442e-05/5.034, allocations: 15.98 kB / 1.061 GB, free: 71.47 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/5.036, allocations: 1.6 MB / 1.062 GB, free: 69.75 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/5.036, allocations: 3.938 kB / 1.062 GB, free: 69.75 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002406/5.039, allocations: 0.7801 MB / 1.063 GB, free: 68.91 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003128/5.042, allocations: 1.368 MB / 1.064 GB, free: 67.49 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/5.042, allocations: 160.4 kB / 1.065 GB, free: 67.31 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/5.043, allocations: 8 kB / 1.065 GB, free: 67.3 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/5.044, allocations: 63.94 kB / 1.065 GB, free: 67.24 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/5.044, allocations: 55.86 kB / 1.065 GB, free: 67.19 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-05/5.044, allocations: 31.98 kB / 1.065 GB, free: 67.16 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0004103/5.045, allocations: 235.2 kB / 1.065 GB, free: 66.93 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002882/5.047, allocations: 351.8 kB / 1.065 GB, free: 66.59 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/5.05, allocations: 0.927 MB / 1.066 GB, free: 65.66 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.001476/5.051, allocations: 440.3 kB / 1.067 GB, free: 65.22 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/5.051, allocations: 3.938 kB / 1.067 GB, free: 65.21 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/5.052, allocations: 305.3 kB / 1.067 GB, free: 64.91 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/5.054, allocations: 158.4 kB / 1.067 GB, free: 64.75 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/5.066, allocations: 2.264 MB / 1.069 GB, free: 62.45 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/5.067, allocations: 0.968 MB / 1.07 GB, free: 61.45 MB / 482.8 MB Notification: Performance of SimCode: time 2.295e-06/5.067, allocations: 0 / 1.07 GB, free: 61.45 MB / 482.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat