Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.069/2.069, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.742e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5144, allocations: 81.35 MB / 403.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/0.5149, allocations: 95.92 kB / 403.3 MB, free: 8.457 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05213/0.567, allocations: 10.17 MB / 413.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5671, allocations: 0 / 413.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.5671, allocations: 11.94 kB / 413.5 MB, free: 14.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001328/0.5684, allocations: 0.6619 MB / 414.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.5685, allocations: 12.02 kB / 414.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.5687, allocations: 102.5 kB / 414.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.5689, allocations: 51.34 kB / 414.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.5695, allocations: 314.3 kB / 414.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.5696, allocations: 44.98 kB / 414.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5697, allocations: 43.98 kB / 414.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5713, allocations: 0.6485 MB / 415.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5713, allocations: 0 / 415.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.5714, allocations: 20 kB / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.5715, allocations: 53.17 kB / 415.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.5731, allocations: 0.6922 MB / 416.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.5773, allocations: 1.735 MB / 417.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.5783, allocations: 343.4 kB / 418.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.5787, allocations: 125.2 kB / 418.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.5788, allocations: 16.22 kB / 418.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.5788, allocations: 34.8 kB / 418.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/0.5788, allocations: 0 / 418.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001038/0.5799, allocations: 343.6 kB / 418.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.58, allocations: 51.41 kB / 418.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.5807, allocations: 407.4 kB / 419.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.5808, allocations: 29.7 kB / 419.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.581, allocations: 306 kB / 419.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5812, allocations: 106.6 kB / 419.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5812, allocations: 8 kB / 419.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5814, allocations: 322.8 kB / 419.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.5817, allocations: 123.9 kB / 420 MB, free: 7.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.5822, allocations: 237.4 kB / 420.2 MB, free: 7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.5827, allocations: 168 kB / 420.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5827, allocations: 3.938 kB / 420.4 MB, free: 6.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001167/0.5839, allocations: 425 kB / 420.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5839, allocations: 8 kB / 420.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5839, allocations: 4 kB / 420.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.584, allocations: 4 kB / 420.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.5853, allocations: 160.3 kB / 421 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.5878, allocations: 3.617 MB / 424.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.5885, allocations: 67.64 kB / 424.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.5886, allocations: 19.98 kB / 424.7 MB, free: 2.395 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.5887, allocations: 120.9 kB / 424.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5889, allocations: 35.53 kB / 424.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.5906, allocations: 0.5168 MB / 425.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5907, allocations: 4 kB / 425.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5907, allocations: 3.953 kB / 425.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5907, allocations: 3.984 kB / 425.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5918, allocations: 445.1 kB / 425.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5918, allocations: 0 / 425.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.593, allocations: 143.8 kB / 426 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.5931, allocations: 0 / 426 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.5932, allocations: 11.98 kB / 426 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.5958, allocations: 3.611 MB / 429.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.5958, allocations: 3.953 kB / 429.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5974, allocations: 0.6251 MB / 430.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.5979, allocations: 176.4 kB / 430.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.598, allocations: 7.938 kB / 430.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.5984, allocations: 15.98 kB / 430.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5985, allocations: 27.91 kB / 430.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.5986, allocations: 19.94 kB / 430.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000649/0.5993, allocations: 341.2 kB / 430.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5993, allocations: 0 / 430.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009813/0.6003, allocations: 183.5 kB / 431 MB, free: 11.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002398/0.6027, allocations: 1.258 MB / 432.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.6044, allocations: 389 kB / 432.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6045, allocations: 0 / 432.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.6055, allocations: 231.6 kB / 432.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.606, allocations: 25.56 kB / 432.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.6088, allocations: 0.9032 MB / 433.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.6095, allocations: 0.9132 MB / 434.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.61, allocations: 171.4 kB / 434.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.61, allocations: 0 / 434.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.212/3.822, allocations: 19.38 MB / 454.2 MB, free: 4.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat