Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",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.525/2.525, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1947/2.719, allocations: 57.22 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/3.018, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/3.207, allocations: 87.17 MB / 441.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004914/3.207, allocations: 95.88 kB / 441.4 MB, free: 6.004 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.2717/3.479, allocations: 7.753 MB / 449.1 MB, free: 87.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/3.479, allocations: 7.594 kB / 449.1 MB, free: 87.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/3.479, allocations: 11.59 kB / 449.1 MB, free: 87.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/3.479, allocations: 177.6 kB / 449.3 MB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/3.48, allocations: 7.531 kB / 449.3 MB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/3.48, allocations: 3.781 kB / 449.3 MB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003055/3.48, allocations: 103.5 kB / 449.4 MB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/3.48, allocations: 114.5 kB / 449.5 MB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/3.48, allocations: 0 / 449.5 MB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/3.48, allocations: 0 / 449.5 MB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/3.48, allocations: 4.969 kB / 449.5 MB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/3.482, allocations: 0.4915 MB / 450 MB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/3.482, allocations: 80.59 kB / 450.1 MB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/3.482, allocations: 38.36 kB / 450.1 MB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/3.482, allocations: 6.938 kB / 450.1 MB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/3.482, allocations: 33.25 kB / 450.2 MB, free: 86.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/3.482, allocations: 0 / 450.2 MB, free: 86.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003466/3.482, allocations: 97.22 kB / 450.3 MB, free: 86.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/3.482, allocations: 55.38 kB / 450.3 MB, free: 86.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/3.482, allocations: 101.4 kB / 450.4 MB, free: 86.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/3.483, allocations: 29.45 kB / 450.5 MB, free: 86.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/3.483, allocations: 118 kB / 450.6 MB, free: 86.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/3.483, allocations: 34.88 kB / 450.6 MB, free: 86.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/3.483, allocations: 0 / 450.6 MB, free: 86.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/3.483, allocations: 321.6 kB / 450.9 MB, free: 85.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/3.483, allocations: 25.19 kB / 450.9 MB, free: 85.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/3.483, allocations: 67.19 kB / 451 MB, free: 85.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/3.483, allocations: 28.06 kB / 451 MB, free: 85.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/3.483, allocations: 0 / 451 MB, free: 85.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003211/3.483, allocations: 127.8 kB / 451.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/3.483, allocations: 7.562 kB / 451.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/3.483, allocations: 0 / 451.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/3.483, allocations: 11.56 kB / 451.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/3.484, allocations: 45.41 kB / 451.2 MB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005943/3.485, allocations: 0.5928 MB / 451.8 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/3.485, allocations: 22.05 kB / 451.8 MB, free: 85.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/3.485, allocations: 10.88 kB / 451.8 MB, free: 85.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/3.485, allocations: 103 kB / 451.9 MB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/3.486, allocations: 7.688 kB / 452 MB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/3.486, allocations: 143 kB / 452.1 MB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/3.486, allocations: 3.844 kB / 452.1 MB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/3.486, allocations: 0 / 452.1 MB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/3.486, allocations: 7.797 kB / 452.1 MB, free: 85.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/3.487, allocations: 175.2 kB / 452.3 MB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/3.487, allocations: 0 / 452.3 MB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/3.488, allocations: 50.17 kB / 452.3 MB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/3.488, allocations: 3.906 kB / 452.3 MB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/3.488, allocations: 3.703 kB / 452.3 MB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005936/3.488, allocations: 0.5858 MB / 452.9 MB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/3.488, allocations: 0 / 452.9 MB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006601/3.489, allocations: 255.4 kB / 453.2 MB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006529/3.49, allocations: 0.6562 MB / 453.8 MB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/3.49, allocations: 97.47 kB / 453.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/3.49, allocations: 2.469 kB / 453.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/3.49, allocations: 17.22 kB / 453.9 MB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/3.49, allocations: 11.53 kB / 454 MB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/3.49, allocations: 8.375 kB / 454 MB, free: 83.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.202e-05/3.49, allocations: 90.59 kB / 454 MB, free: 83.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003171/3.494, allocations: 90.84 kB / 454.1 MB, free: 83.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008607/3.495, allocations: 200.1 kB / 454.3 MB, free: 83.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008629/3.496, allocations: 96.23 kB / 454.4 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/3.496, allocations: 3.906 kB / 454.4 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/3.496, allocations: 56.95 kB / 454.5 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/3.497, allocations: 5.375 kB / 454.5 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/3.498, allocations: 173.8 kB / 454.7 MB, free: 83.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/3.498, allocations: 0.7425 MB / 455.4 MB, free: 82.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.023e-06/3.498, allocations: 0 / 455.4 MB, free: 82.55 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat