Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.529e-05/4.547e-05, allocations: 8 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.491, allocations: 54.86 MB / 359.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.6905, allocations: 105.2 MB / 465.1 MB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/0.691, allocations: 95.94 kB / 465.2 MB, free: 7.559 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.8424, allocations: 27.8 MB / 493 MB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.8425, allocations: 0 / 493 MB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.8426, allocations: 8 kB / 493 MB, free: 11.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003594/0.8462, allocations: 0.904 MB / 493.9 MB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.8463, allocations: 8.031 kB / 493.9 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004085/0.8467, allocations: 147.9 kB / 494 MB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.847, allocations: 79.06 kB / 494.1 MB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.8481, allocations: 346 kB / 494.4 MB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/0.8482, allocations: 58 kB / 494.5 MB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.8485, allocations: 79.98 kB / 494.6 MB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.8524, allocations: 1.143 MB / 495.7 MB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.8525, allocations: 0 / 495.7 MB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.8527, allocations: 32 kB / 495.8 MB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.8529, allocations: 73.95 kB / 495.8 MB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005503/0.8584, allocations: 1.656 MB / 497.5 MB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.8688, allocations: 2.969 MB / 0.4887 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.8707, allocations: 407.5 kB / 0.4891 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.8712, allocations: 133.3 kB / 0.4892 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.8713, allocations: 12.25 kB / 0.4892 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.8714, allocations: 42.84 kB / 0.4893 GB, free: 3.129 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.409e-06/0.8714, allocations: 0 / 0.4893 GB, free: 3.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001336/0.8727, allocations: 323.7 kB / 0.4896 GB, free: 2.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.8728, allocations: 55.41 kB / 0.4896 GB, free: 2.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.8731, allocations: 189.5 kB / 0.4898 GB, free: 2.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.8732, allocations: 29.7 kB / 0.4899 GB, free: 2.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.8735, allocations: 452.6 kB / 0.4903 GB, free: 2.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.8737, allocations: 126.2 kB / 0.4904 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.8738, allocations: 16 kB / 0.4904 GB, free: 1.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8739, allocations: 326.8 kB / 0.4907 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.8743, allocations: 129.1 kB / 0.4909 GB, free: 1.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.8749, allocations: 325.8 kB / 0.4912 GB, free: 1.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.8755, allocations: 203.9 kB / 0.4914 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8755, allocations: 0 / 0.4914 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001355/0.8769, allocations: 0.4927 MB / 0.4918 GB, free: 368 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.8769, allocations: 8 kB / 0.4919 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.877, allocations: 11.98 kB / 0.4919 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.877, allocations: 8.812 kB / 0.4919 GB, free: 340 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8786, allocations: 215.7 kB / 0.4921 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.8812, allocations: 2.989 MB / 0.495 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.8818, allocations: 63.84 kB / 0.4951 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.8819, allocations: 28 kB / 0.4951 GB, free: 12.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.8821, allocations: 140.7 kB / 0.4952 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.8822, allocations: 23.8 kB / 0.4952 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.8842, allocations: 0.5269 MB / 0.4958 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8843, allocations: 4 kB / 0.4958 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8843, allocations: 7.953 kB / 0.4958 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.8843, allocations: 3.984 kB / 0.4958 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.8871, allocations: 1.141 MB / 0.4969 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8872, allocations: 0 / 0.4969 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.8885, allocations: 180.1 kB / 0.4971 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.8885, allocations: 4 kB / 0.4971 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.8886, allocations: 15.98 kB / 0.4971 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.8906, allocations: 2.961 MB / 0.5 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.8907, allocations: 4 kB / 0.5 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.8918, allocations: 0.5546 MB / 0.5005 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.8919, allocations: 104.7 kB / 0.5006 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.892, allocations: 19.92 kB / 0.5006 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.8924, allocations: 16 kB / 0.5006 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8925, allocations: 31.95 kB / 0.5007 GB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.8926, allocations: 23.98 kB / 0.5007 GB, free: 6.859 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.8927, allocations: 140.5 kB / 0.5008 GB, free: 6.723 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8927, allocations: 0 / 0.5008 GB, free: 6.723 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001715/0.8945, allocations: 386.6 kB / 0.5012 GB, free: 6.344 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002907/0.8974, allocations: 1.937 MB / 0.5031 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.8992, allocations: 409.1 kB / 0.5035 GB, free: 3.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.8993, allocations: 3.938 kB / 0.5035 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000964/0.9003, allocations: 215.7 kB / 0.5037 GB, free: 3.715 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.9007, allocations: 27.92 kB / 0.5037 GB, free: 3.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.9042, allocations: 1.137 MB / 0.5048 GB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.9051, allocations: 0.9914 MB / 0.5058 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.9056, allocations: 215.3 kB / 0.506 GB, free: 1.242 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9056, allocations: 0 / 0.506 GB, free: 1.242 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.367/4.273, allocations: 24.08 MB / 0.5295 GB, free: 135.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat