Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.689/2.689, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/2.871, allocations: 57.22 MB / 299.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/3.16, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/3.412, allocations: 87.05 MB / 441.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004338/3.413, allocations: 95.88 kB / 441.2 MB, free: 6.125 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.2769/3.69, allocations: 9.062 MB / 450.3 MB, free: 87.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/3.69, allocations: 9.625 kB / 450.3 MB, free: 87.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/3.69, allocations: 35 kB / 450.3 MB, free: 87.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/3.69, allocations: 228.1 kB / 450.6 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/3.691, allocations: 12.34 kB / 450.6 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/3.691, allocations: 19.22 kB / 450.6 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/3.692, allocations: 386.6 kB / 451 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/3.693, allocations: 423.5 kB / 451.4 MB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/3.693, allocations: 3.906 kB / 451.4 MB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/3.693, allocations: 2.625 kB / 451.4 MB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/3.693, allocations: 24.91 kB / 451.4 MB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/3.695, allocations: 1.14 MB / 452.6 MB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/3.696, allocations: 61.92 kB / 452.6 MB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/3.696, allocations: 27.28 kB / 452.6 MB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/3.696, allocations: 7.25 kB / 452.7 MB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/3.696, allocations: 34.56 kB / 452.7 MB, free: 86.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/3.696, allocations: 0 / 452.7 MB, free: 86.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003913/3.696, allocations: 98.98 kB / 452.8 MB, free: 86.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/3.696, allocations: 55.3 kB / 452.8 MB, free: 86.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/3.697, allocations: 151.4 kB / 453 MB, free: 85.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/3.697, allocations: 25.7 kB / 453 MB, free: 85.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/3.697, allocations: 216.6 kB / 453.2 MB, free: 85.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/3.697, allocations: 27.45 kB / 453.3 MB, free: 85.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/3.697, allocations: 0 / 453.3 MB, free: 85.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/3.697, allocations: 326.4 kB / 453.6 MB, free: 85.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/3.697, allocations: 38.83 kB / 453.6 MB, free: 85.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/3.697, allocations: 154.2 kB / 453.8 MB, free: 85.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/3.698, allocations: 68.19 kB / 453.8 MB, free: 85.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.698, allocations: 0.9688 kB / 453.8 MB, free: 85.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006854/3.698, allocations: 195.1 kB / 454 MB, free: 85.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/3.698, allocations: 5.219 kB / 454 MB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/3.698, allocations: 4.156 kB / 454 MB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/3.698, allocations: 6.219 kB / 454 MB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/3.699, allocations: 92.05 kB / 454.1 MB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/3.701, allocations: 1.8 MB / 455.9 MB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/3.701, allocations: 24.97 kB / 455.9 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/3.702, allocations: 12.19 kB / 456 MB, free: 83.35 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.0002124/3.702, allocations: 124.6 kB / 456.1 MB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/3.702, allocations: 7.906 kB / 456.1 MB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/3.704, allocations: 226.5 kB / 456.3 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/3.704, allocations: 4.938 kB / 456.3 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/3.704, allocations: 5.156 kB / 456.3 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/3.704, allocations: 0 / 456.3 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/3.704, allocations: 223.3 kB / 456.5 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/3.704, allocations: 0 / 456.5 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/3.705, allocations: 69.92 kB / 456.6 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/3.705, allocations: 1.281 kB / 456.6 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/3.705, allocations: 3.406 kB / 456.6 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/3.706, allocations: 1.786 MB / 458.4 MB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/3.706, allocations: 0 / 458.4 MB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003994/3.707, allocations: 195.4 kB / 458.6 MB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003892/3.707, allocations: 0.569 MB / 459.2 MB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/3.707, allocations: 84.17 kB / 459.2 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/3.707, allocations: 1.156 kB / 459.2 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/3.708, allocations: 9.422 kB / 459.2 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/3.708, allocations: 13.09 kB / 459.3 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/3.708, allocations: 8.188 kB / 459.3 MB, free: 80.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001165/3.708, allocations: 105.9 kB / 459.4 MB, free: 80.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002938/3.711, allocations: 110.1 kB / 459.5 MB, free: 80.25 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.0006351/3.712, allocations: 187.4 kB / 459.7 MB, free: 80.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009757/3.713, allocations: 151.1 kB / 459.8 MB, free: 80.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/3.713, allocations: 1.688 kB / 459.8 MB, free: 80.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/3.713, allocations: 79.72 kB / 459.9 MB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/3.714, allocations: 10.94 kB / 459.9 MB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/3.715, allocations: 293.9 kB / 460.2 MB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/3.715, allocations: 0.828 MB / 461 MB, free: 79.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/3.715, allocations: 0 / 461 MB, free: 79.24 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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat