Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.011/2.011, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2343/2.246, allocations: 51.06 MB / 267.3 MB, free: 5.113 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/2.377, allocations: 48.69 MB / 316 MB, free: 4.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/2.748, allocations: 80.86 MB / 396.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/2.748, allocations: 102.2 kB / 397 MB, free: 11.78 MB / 330.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.0509/2.799, allocations: 7.746 MB / 404.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.799, allocations: 8 kB / 404.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/2.799, allocations: 15.81 kB / 404.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/2.799, allocations: 167 kB / 404.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/2.799, allocations: 4 kB / 404.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/2.799, allocations: 8 kB / 404.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003241/2.8, allocations: 118 kB / 405 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/2.8, allocations: 109.9 kB / 405.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/2.8, allocations: 3.984 kB / 405.1 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/2.8, allocations: 3.906 kB / 405.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/2.8, allocations: 4 kB / 405.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/2.801, allocations: 0.4921 MB / 405.6 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/2.802, allocations: 72.81 kB / 405.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/2.802, allocations: 36.23 kB / 405.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/2.802, allocations: 3.984 kB / 405.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/2.802, allocations: 34.56 kB / 405.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 4.969e-06/2.802, allocations: 4 kB / 405.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003481/2.802, allocations: 91.05 kB / 405.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/2.802, allocations: 59.34 kB / 405.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/2.802, allocations: 102.8 kB / 406 MB, free: 3.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/2.802, allocations: 25.7 kB / 406.1 MB, free: 3.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/2.803, allocations: 116.7 kB / 406.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/2.803, allocations: 40.95 kB / 406.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/2.803, allocations: 0 / 406.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/2.803, allocations: 321.7 kB / 406.5 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/2.803, allocations: 24.81 kB / 406.5 MB, free: 3.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/2.803, allocations: 59.64 kB / 406.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/2.803, allocations: 39.22 kB / 406.6 MB, free: 3.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/2.803, allocations: 0 / 406.6 MB, free: 3.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003175/2.803, allocations: 119.2 kB / 406.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/2.803, allocations: 7.938 kB / 406.8 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/2.803, allocations: 4 kB / 406.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/2.804, allocations: 0 / 406.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/2.804, allocations: 52.06 kB / 406.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/2.805, allocations: 0.5967 MB / 407.4 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/2.805, allocations: 19.88 kB / 407.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/2.805, allocations: 16.08 kB / 407.5 MB, free: 2.367 MB / 330.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.0001128/2.805, allocations: 104.9 kB / 407.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/2.805, allocations: 7.906 kB / 407.6 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/2.806, allocations: 143.8 kB / 407.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/2.806, allocations: 7.906 kB / 407.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.806, allocations: 0 / 407.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/2.806, allocations: 0 / 407.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/2.806, allocations: 188 kB / 407.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.806, allocations: 7.984 kB / 407.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/2.806, allocations: 39.97 kB / 407.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/2.806, allocations: 0 / 407.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/2.806, allocations: 3.984 kB / 407.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004273/2.807, allocations: 0.6013 MB / 408.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.807, allocations: 0 / 408.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004142/2.807, allocations: 247.4 kB / 408.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007434/2.808, allocations: 0.6562 MB / 409.4 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/2.808, allocations: 96.92 kB / 409.5 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/2.808, allocations: 4.219 kB / 409.5 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/2.808, allocations: 11.98 kB / 409.6 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/2.809, allocations: 7.984 kB / 409.6 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/2.809, allocations: 7.688 kB / 409.6 MB, free: 272 kB / 330.7 MB Notification: Performance of sort global known variables: time 6.568e-05/2.809, allocations: 86.28 kB / 409.7 MB, free: 188 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001466/2.81, allocations: 93.2 kB / 409.7 MB, free: 104 kB / 330.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.0005412/2.811, allocations: 203.2 kB / 409.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004409/2.811, allocations: 97.36 kB / 410 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/2.811, allocations: 4.062 kB / 410 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/2.811, allocations: 61.72 kB / 410.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/2.812, allocations: 7.562 kB / 410.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/2.812, allocations: 170.9 kB / 410.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/2.813, allocations: 0.727 MB / 411 MB, free: 14.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/2.813, allocations: 7.938 kB / 411 MB, free: 14.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat