Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.055e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.09911, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.4998, allocations: 77.43 MB / 399.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/0.5002, allocations: 99.92 kB / 399.4 MB, free: 12.27 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.521, allocations: 4.202 MB / 403.6 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.521, allocations: 4 kB / 403.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.521, allocations: 0 / 403.6 MB, free: 8.074 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006914/0.5217, allocations: 433.9 kB / 404 MB, free: 7.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5218, allocations: 12.03 kB / 404.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.5219, allocations: 46.55 kB / 404.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5231, allocations: 103.7 kB / 404.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.5234, allocations: 218.8 kB / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.5235, allocations: 15.98 kB / 404.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.5235, allocations: 15.98 kB / 404.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.5241, allocations: 209.5 kB / 404.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5242, allocations: 0 / 404.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.5242, allocations: 4 kB / 404.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.5243, allocations: 12 kB / 404.7 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.5248, allocations: 195.9 kB / 404.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.5266, allocations: 0.7439 MB / 405.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5268, allocations: 82.41 kB / 405.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.527, allocations: 36.84 kB / 405.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.527, allocations: 0 / 405.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.5271, allocations: 34.56 kB / 405.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.5271, allocations: 0 / 405.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.5275, allocations: 102.2 kB / 405.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5275, allocations: 51.41 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.5278, allocations: 174.3 kB / 406.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5278, allocations: 25.7 kB / 406.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.528, allocations: 206 kB / 406.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.528, allocations: 35.69 kB / 406.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.528, allocations: 0 / 406.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5282, allocations: 318.8 kB / 406.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5283, allocations: 35.92 kB / 406.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5285, allocations: 78.84 kB / 406.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.5286, allocations: 56.02 kB / 406.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5287, allocations: 0 / 406.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000451/0.5291, allocations: 153.4 kB / 407 MB, free: 4.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5292, allocations: 4 kB / 407 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5292, allocations: 7.938 kB / 407 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5292, allocations: 4 kB / 407 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5308, allocations: 103.8 kB / 407.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.5328, allocations: 1.825 MB / 408.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.5332, allocations: 23.83 kB / 408.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.5333, allocations: 4 kB / 408.9 MB, free: 2.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001262/0.5334, allocations: 116.7 kB / 409 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.5335, allocations: 15.77 kB / 409.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.534, allocations: 159.1 kB / 409.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5341, allocations: 4 kB / 409.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5341, allocations: 0 / 409.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5341, allocations: 0 / 409.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.5345, allocations: 233.6 kB / 409.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5345, allocations: 0 / 409.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.536, allocations: 99.83 kB / 409.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.536, allocations: 0 / 409.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.536, allocations: 3.953 kB / 409.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.5375, allocations: 1.774 MB / 411.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5376, allocations: 0 / 411.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.538, allocations: 219.6 kB / 411.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.5381, allocations: 92.95 kB / 411.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.5381, allocations: 3.953 kB / 411.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.5384, allocations: 15.98 kB / 411.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.5385, allocations: 7.984 kB / 411.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.5385, allocations: 0 / 411.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.5387, allocations: 140.9 kB / 411.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5387, allocations: 4 kB / 411.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004745/0.5392, allocations: 47.84 kB / 411.8 MB, free: 15.32 MB / 346.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.0008638/0.5401, allocations: 0.7829 MB / 412.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.5418, allocations: 164.2 kB / 412.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5419, allocations: 0 / 412.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5429, allocations: 93.22 kB / 412.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.5435, allocations: 39.92 kB / 412.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5445, allocations: 302.7 kB / 413.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.545, allocations: 0.7513 MB / 414 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.5451, allocations: 43.42 kB / 414 MB, free: 13.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5452, allocations: 0 / 414 MB, free: 13.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/3.381, allocations: 5.268 MB / 419.3 MB, free: 7.824 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat