Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.684/2.684, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/2.863, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/3.17, allocations: 54.86 MB / 354.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/4.186, allocations: 296.4 MB / 0.6352 GB, free: 123.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/4.187, allocations: 81.38 kB / 0.6353 GB, free: 123.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.6201/4.807, allocations: 150.9 MB / 0.7827 GB, free: 5.656 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/4.807, allocations: 8 kB / 0.7827 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/4.808, allocations: 122.8 kB / 0.7828 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/4.811, allocations: 0.6335 MB / 0.7834 GB, free: 4.852 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/4.811, allocations: 220.2 kB / 0.7836 GB, free: 4.598 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/4.812, allocations: 48 kB / 0.7837 GB, free: 4.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004676/4.816, allocations: 0.8161 MB / 0.7845 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005575/4.822, allocations: 1.165 MB / 0.7856 GB, free: 2.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/4.822, allocations: 7.938 kB / 0.7856 GB, free: 2.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/4.823, allocations: 4 kB / 0.7856 GB, free: 2.426 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/4.823, allocations: 45.23 kB / 0.7857 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2106/5.033, allocations: 6.764 MB / 0.7923 GB, free: 138.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/5.034, allocations: 215.7 kB / 0.7925 GB, free: 138.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/5.034, allocations: 125.9 kB / 0.7926 GB, free: 138.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003597/5.038, allocations: 2.727 MB / 0.7953 GB, free: 136.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/5.038, allocations: 34.38 kB / 0.7953 GB, free: 136.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.445e-06/5.038, allocations: 0 / 0.7953 GB, free: 136.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.002996/5.041, allocations: 0.8044 MB / 0.7961 GB, free: 135.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/5.041, allocations: 55.38 kB / 0.7961 GB, free: 135.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/5.043, allocations: 0.6601 MB / 0.7968 GB, free: 135.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/5.043, allocations: 29.5 kB / 0.7968 GB, free: 135.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/5.043, allocations: 0.5737 MB / 0.7974 GB, free: 135.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/5.043, allocations: 108.7 kB / 0.7975 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/5.043, allocations: 0 / 0.7975 GB, free: 135.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/5.043, allocations: 388.5 kB / 0.7978 GB, free: 135 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/5.044, allocations: 201.2 kB / 0.798 GB, free: 135 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/5.045, allocations: 1.014 MB / 0.799 GB, free: 133.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/5.046, allocations: 442.5 kB / 0.7994 GB, free: 133.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/5.047, allocations: 11 kB / 0.7994 GB, free: 133.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002855/5.049, allocations: 1.054 MB / 0.8005 GB, free: 133.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/5.049, allocations: 3.844 kB / 0.8005 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/5.049, allocations: 33.84 kB / 0.8005 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.941e-05/5.05, allocations: 40.94 kB / 0.8006 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/5.051, allocations: 293.8 kB / 0.8008 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-05/5.051, allocations: 60.11 kB / 0.8009 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/5.053, allocations: 48.59 kB / 0.8009 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/5.053, allocations: 81.88 kB / 0.801 GB, free: 133.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * Array equations: 0 * 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.0002693/5.053, allocations: 176.1 kB / 0.8012 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/5.054, allocations: 76.59 kB / 0.8013 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/5.055, allocations: 355.1 kB / 0.8016 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/5.055, allocations: 3.219 kB / 0.8016 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/5.055, allocations: 0 / 0.8016 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/5.055, allocations: 4.969 kB / 0.8016 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/5.057, allocations: 0.8188 MB / 0.8024 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/5.057, allocations: 3.969 kB / 0.8024 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/5.058, allocations: 54.53 kB / 0.8025 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/5.058, allocations: 3.594 kB / 0.8025 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/5.058, allocations: 7.844 kB / 0.8025 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/5.058, allocations: 3.469 kB / 0.8025 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/5.058, allocations: 0 / 0.8025 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001291/5.059, allocations: 0.5267 MB / 0.803 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001793/5.061, allocations: 1.036 MB / 0.804 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/5.062, allocations: 175.4 kB / 0.8042 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/5.062, allocations: 4.625 kB / 0.8042 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/5.062, allocations: 18.83 kB / 0.8042 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/5.063, allocations: 15.88 kB / 0.8042 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/5.063, allocations: 16 kB / 0.8042 GB, free: 132.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0009136/5.064, allocations: 457.6 kB / 0.8047 GB, free: 132.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00352/5.067, allocations: 294.7 kB / 0.8049 GB, free: 132.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001037/5.068, allocations: 381.3 kB / 0.8053 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/5.07, allocations: 0.5567 MB / 0.8058 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/5.07, allocations: 0 / 0.8058 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/5.07, allocations: 103.5 kB / 0.8059 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/5.073, allocations: 234.1 kB / 0.8062 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/5.076, allocations: 1.003 MB / 0.8071 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/5.077, allocations: 1.098 MB / 0.8082 GB, free: 131.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.114e-06/5.077, allocations: 0 / 0.8082 GB, free: 131.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat