Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.441/2.441, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/2.615, allocations: 57.22 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/2.889, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/3.057, allocations: 84.32 MB / 438.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/3.057, allocations: 95.92 kB / 438.5 MB, free: 8.875 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.03601/3.093, allocations: 5.945 MB / 444.5 MB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/3.093, allocations: 15.98 kB / 444.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/3.096, allocations: 159.5 kB / 444.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/3.097, allocations: 258.6 kB / 444.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/3.097, allocations: 8 kB / 444.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/3.097, allocations: 15.91 kB / 444.9 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/3.098, allocations: 340.8 kB / 445.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/3.099, allocations: 393.1 kB / 445.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/3.099, allocations: 0 / 445.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/3.099, allocations: 4 kB / 445.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/3.099, allocations: 20.48 kB / 445.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/3.292, allocations: 1.651 MB / 447.3 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/3.292, allocations: 84.95 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/3.293, allocations: 37.78 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/3.293, allocations: 5.656 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/3.293, allocations: 32.69 kB / 447.4 MB, free: 131.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 4.959e-06/3.293, allocations: 0 / 447.4 MB, free: 131.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001053/3.294, allocations: 111.8 kB / 447.6 MB, free: 131.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/3.294, allocations: 54.97 kB / 447.6 MB, free: 131.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/3.295, allocations: 198.7 kB / 447.8 MB, free: 131 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/3.295, allocations: 25.7 kB / 447.8 MB, free: 131 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/3.295, allocations: 184.2 kB / 448 MB, free: 130.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/3.295, allocations: 23.67 kB / 448 MB, free: 130.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/3.295, allocations: 0 / 448 MB, free: 130.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/3.295, allocations: 326.5 kB / 448.4 MB, free: 130.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/3.295, allocations: 53.59 kB / 448.4 MB, free: 130.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/3.295, allocations: 104.8 kB / 448.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/3.296, allocations: 71.59 kB / 448.6 MB, free: 130.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/3.296, allocations: 0 / 448.6 MB, free: 130.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006563/3.296, allocations: 194.9 kB / 448.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/3.296, allocations: 3.562 kB / 448.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.296, allocations: 3.5 kB / 448.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/3.296, allocations: 6.766 kB / 448.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/3.301, allocations: 125.9 kB / 448.9 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/3.304, allocations: 1.872 MB / 450.8 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008476/3.305, allocations: 31.95 kB / 450.8 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/3.305, allocations: 3.844 kB / 450.8 MB, free: 128.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/3.305, allocations: 111.6 kB / 450.9 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/3.305, allocations: 14.25 kB / 450.9 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/3.306, allocations: 171.6 kB / 451.1 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/3.306, allocations: 0 / 451.1 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/3.306, allocations: 0 / 451.1 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/3.306, allocations: 3.844 kB / 451.1 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/3.306, allocations: 238.3 kB / 451.3 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/3.306, allocations: 3.812 kB / 451.3 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/3.309, allocations: 96.11 kB / 451.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/3.309, allocations: 0 / 451.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/3.309, allocations: 2.875 kB / 451.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/3.311, allocations: 1.81 MB / 453.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/3.311, allocations: 7.188 kB / 453.3 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004795/3.312, allocations: 217.6 kB / 453.5 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005676/3.312, allocations: 0.595 MB / 454.1 MB, free: 126 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/3.312, allocations: 98.62 kB / 454.2 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/3.312, allocations: 0 / 454.2 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/3.313, allocations: 10.89 kB / 454.2 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/3.313, allocations: 7.391 kB / 454.2 MB, free: 125.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/3.313, allocations: 6.938 kB / 454.2 MB, free: 125.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003333/3.313, allocations: 159.1 kB / 454.3 MB, free: 125.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00303/3.316, allocations: 81.64 kB / 454.4 MB, free: 125.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004911/3.317, allocations: 144.6 kB / 454.6 MB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005971/3.323, allocations: 193.1 kB / 454.7 MB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/3.323, allocations: 0 / 454.7 MB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/3.327, allocations: 101.2 kB / 454.8 MB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/3.327, allocations: 12.12 kB / 454.9 MB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/3.329, allocations: 326.6 kB / 455.2 MB, free: 125.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/3.33, allocations: 0.8095 MB / 456 MB, free: 124.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/3.33, allocations: 0 / 456 MB, free: 124.9 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.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat