Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.405/2.405, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1615/2.567, allocations: 57.24 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/2.858, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/3.04, allocations: 87.04 MB / 441 MB, free: 6.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/3.04, allocations: 95.94 kB / 441.1 MB, free: 6.164 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.2502/3.291, allocations: 9.063 MB / 450.2 MB, free: 87.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/3.291, allocations: 6.531 kB / 450.2 MB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/3.291, allocations: 36.19 kB / 450.2 MB, free: 87.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/3.294, allocations: 228.7 kB / 450.5 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/3.294, allocations: 11.34 kB / 450.5 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/3.294, allocations: 17.91 kB / 450.5 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008489/3.295, allocations: 397.6 kB / 450.9 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/3.296, allocations: 412.9 kB / 451.3 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/3.296, allocations: 5.219 kB / 451.3 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/3.296, allocations: 0 / 451.3 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/3.296, allocations: 24.59 kB / 451.3 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/3.298, allocations: 1.142 MB / 452.5 MB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/3.298, allocations: 58.16 kB / 452.5 MB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/3.298, allocations: 30.89 kB / 452.5 MB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/3.298, allocations: 3.688 kB / 452.5 MB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/3.298, allocations: 41.69 kB / 452.6 MB, free: 86.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/3.298, allocations: 0 / 452.6 MB, free: 86.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003277/3.299, allocations: 90.36 kB / 452.7 MB, free: 86.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/3.299, allocations: 51.41 kB / 452.7 MB, free: 86.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/3.299, allocations: 152.3 kB / 452.9 MB, free: 86.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/3.299, allocations: 25.7 kB / 452.9 MB, free: 86.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/3.299, allocations: 221.9 kB / 453.1 MB, free: 85.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/3.299, allocations: 27.41 kB / 453.1 MB, free: 85.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/3.299, allocations: 0 / 453.1 MB, free: 85.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/3.299, allocations: 330.7 kB / 453.5 MB, free: 85.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/3.299, allocations: 34.44 kB / 453.5 MB, free: 85.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/3.3, allocations: 164.6 kB / 453.7 MB, free: 85.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/3.3, allocations: 64.67 kB / 453.7 MB, free: 85.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/3.3, allocations: 0 / 453.7 MB, free: 85.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004987/3.3, allocations: 197.7 kB / 453.9 MB, free: 85.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/3.3, allocations: 5.312 kB / 453.9 MB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/3.3, allocations: 3.969 kB / 453.9 MB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/3.3, allocations: 6.219 kB / 453.9 MB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/3.301, allocations: 90.84 kB / 454 MB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/3.302, allocations: 1.791 MB / 455.8 MB, free: 83.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/3.302, allocations: 24.2 kB / 455.8 MB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/3.302, allocations: 17.47 kB / 455.9 MB, free: 83.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.00014/3.303, allocations: 120.8 kB / 456 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/3.303, allocations: 12.41 kB / 456 MB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/3.304, allocations: 227.5 kB / 456.2 MB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/3.304, allocations: 1.031 kB / 456.2 MB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/3.304, allocations: 3.906 kB / 456.2 MB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/3.304, allocations: 1.156 kB / 456.2 MB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/3.304, allocations: 231.6 kB / 456.4 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/3.304, allocations: 0.8125 kB / 456.4 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/3.305, allocations: 63.3 kB / 456.5 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/3.305, allocations: 0 / 456.5 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/3.305, allocations: 3.469 kB / 456.5 MB, free: 83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008741/3.306, allocations: 1.794 MB / 458.3 MB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/3.306, allocations: 0 / 458.3 MB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002877/3.306, allocations: 192.7 kB / 458.5 MB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003426/3.306, allocations: 0.5644 MB / 459 MB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/3.306, allocations: 86.92 kB / 459.1 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/3.306, allocations: 0.9688 kB / 459.1 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/3.307, allocations: 11.34 kB / 459.1 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/3.307, allocations: 11.69 kB / 459.2 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/3.307, allocations: 8.344 kB / 459.2 MB, free: 80.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001177/3.307, allocations: 113.9 kB / 459.3 MB, free: 80.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001686/3.309, allocations: 105.9 kB / 459.4 MB, free: 80.32 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 (7): * Single equations (assignments): 4 * 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.0005312/3.309, allocations: 168.4 kB / 459.5 MB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008875/3.31, allocations: 160 kB / 459.7 MB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/3.31, allocations: 4 kB / 459.7 MB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/3.311, allocations: 73.5 kB / 459.8 MB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/3.311, allocations: 15.17 kB / 459.8 MB, free: 80.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/3.312, allocations: 291.2 kB / 460.1 MB, free: 80.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/3.312, allocations: 0.8268 MB / 460.9 MB, free: 79.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/3.312, allocations: 0 / 460.9 MB, free: 79.31 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat