Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",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.36/2.36, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1586/2.518, allocations: 57.23 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/2.789, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/2.958, allocations: 87.16 MB / 441.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/2.958, allocations: 99.91 kB / 441.3 MB, free: 6.043 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.2493/3.208, allocations: 7.752 MB / 449 MB, free: 87.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/3.208, allocations: 9.219 kB / 449 MB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/3.208, allocations: 14.81 kB / 449 MB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/3.208, allocations: 175.8 kB / 449.2 MB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/3.208, allocations: 3.969 kB / 449.2 MB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/3.208, allocations: 7.094 kB / 449.2 MB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004404/3.209, allocations: 109 kB / 449.3 MB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/3.209, allocations: 114.4 kB / 449.4 MB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/3.209, allocations: 0 / 449.4 MB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/3.209, allocations: 3.781 kB / 449.4 MB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/3.209, allocations: 3.938 kB / 449.4 MB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/3.211, allocations: 498.2 kB / 449.9 MB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/3.212, allocations: 80.69 kB / 450 MB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/3.212, allocations: 32.48 kB / 450 MB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/3.212, allocations: 3.906 kB / 450 MB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/3.212, allocations: 33.94 kB / 450.1 MB, free: 86.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 4.709e-06/3.212, allocations: 0 / 450.1 MB, free: 86.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00054/3.212, allocations: 99.75 kB / 450.2 MB, free: 86.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/3.212, allocations: 55.31 kB / 450.2 MB, free: 86.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/3.213, allocations: 100.3 kB / 450.3 MB, free: 86.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/3.213, allocations: 25.7 kB / 450.3 MB, free: 86.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/3.213, allocations: 122 kB / 450.5 MB, free: 86.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/3.213, allocations: 34.5 kB / 450.5 MB, free: 86.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/3.213, allocations: 0 / 450.5 MB, free: 86.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/3.213, allocations: 319.6 kB / 450.8 MB, free: 86.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/3.213, allocations: 24.38 kB / 450.8 MB, free: 86.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/3.213, allocations: 68.25 kB / 450.9 MB, free: 85.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/3.214, allocations: 27.42 kB / 450.9 MB, free: 85.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/3.214, allocations: 0 / 450.9 MB, free: 85.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005463/3.214, allocations: 126.3 kB / 451.1 MB, free: 85.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/3.214, allocations: 6.75 kB / 451.1 MB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.214, allocations: 2.938 kB / 451.1 MB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/3.214, allocations: 3.5 kB / 451.1 MB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/3.215, allocations: 46.75 kB / 451.1 MB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/3.215, allocations: 0.6021 MB / 451.7 MB, free: 85.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/3.216, allocations: 18.84 kB / 451.7 MB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/3.216, allocations: 9.719 kB / 451.7 MB, free: 85.33 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.0001293/3.216, allocations: 108.8 kB / 451.8 MB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/3.216, allocations: 3.906 kB / 451.9 MB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/3.217, allocations: 146.8 kB / 452 MB, free: 85.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/3.217, allocations: 3.188 kB / 452 MB, free: 85.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/3.217, allocations: 0 / 452 MB, free: 85.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/3.217, allocations: 3.906 kB / 452 MB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/3.217, allocations: 178.2 kB / 452.2 MB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/3.217, allocations: 0 / 452.2 MB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/3.218, allocations: 52.23 kB / 452.2 MB, free: 85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/3.218, allocations: 3.906 kB / 452.2 MB, free: 85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/3.218, allocations: 6.25 kB / 452.2 MB, free: 85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004248/3.219, allocations: 0.5906 MB / 452.8 MB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/3.219, allocations: 0 / 452.8 MB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005104/3.219, allocations: 250.8 kB / 453.1 MB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007888/3.22, allocations: 0.6538 MB / 453.7 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/3.22, allocations: 106.9 kB / 453.8 MB, free: 83.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/3.22, allocations: 0 / 453.8 MB, free: 83.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/3.221, allocations: 10.03 kB / 453.8 MB, free: 83.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/3.221, allocations: 12.02 kB / 453.9 MB, free: 83.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/3.221, allocations: 16.62 kB / 453.9 MB, free: 83.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.397e-05/3.221, allocations: 82.72 kB / 453.9 MB, free: 83.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002266/3.223, allocations: 93.25 kB / 454 MB, free: 83.55 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.0007091/3.224, allocations: 204.8 kB / 454.2 MB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006828/3.225, allocations: 96.47 kB / 454.3 MB, free: 83.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/3.225, allocations: 0.625 kB / 454.3 MB, free: 83.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/3.225, allocations: 60.92 kB / 454.4 MB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/3.225, allocations: 6.562 kB / 454.4 MB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/3.226, allocations: 166.7 kB / 454.6 MB, free: 83.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/3.227, allocations: 0.7409 MB / 455.3 MB, free: 82.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/3.227, allocations: 288 / 455.3 MB, free: 82.61 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat