Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.098/2.098, allocations: 209.4 MB / 216.9 MB, free: 6.734 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.484e-05, allocations: 4 kB / 267.6 MB, free: 5.367 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 48.7 MB / 316.3 MB, free: 4.574 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5404, allocations: 89.48 MB / 405.8 MB, free: 2.883 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004007/0.5409, allocations: 104.8 kB / 405.9 MB, free: 2.82 MB / 330.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1306/0.6715, allocations: 22.34 MB / 428.3 MB, free: 15.98 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6716, allocations: 0 / 428.3 MB, free: 15.98 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.6716, allocations: 7.938 kB / 428.3 MB, free: 15.97 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001546/0.6732, allocations: 0.615 MB / 428.9 MB, free: 15.34 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6732, allocations: 8.031 kB / 428.9 MB, free: 15.33 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.6734, allocations: 39.58 kB / 428.9 MB, free: 15.29 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.6739, allocations: 264.7 kB / 429.2 MB, free: 15 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.6739, allocations: 12 kB / 429.2 MB, free: 14.99 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.674, allocations: 23.94 kB / 429.2 MB, free: 14.96 MB / 362.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000984/0.675, allocations: 436.8 kB / 429.6 MB, free: 14.66 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/0.676, allocations: 432.5 kB / 430.1 MB, free: 14.32 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6761, allocations: 0 / 430.1 MB, free: 14.32 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.6761, allocations: 0 / 430.1 MB, free: 14.32 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.6762, allocations: 48.8 kB / 430.1 MB, free: 14.27 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.6793, allocations: 1.22 MB / 431.3 MB, free: 13.08 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.6805, allocations: 338 kB / 431.7 MB, free: 12.79 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.6808, allocations: 103.5 kB / 431.8 MB, free: 12.71 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.6809, allocations: 11.75 kB / 431.8 MB, free: 12.7 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6809, allocations: 42.59 kB / 431.8 MB, free: 12.65 MB / 362.8 MB Notification: Performance of pre-optimization done (n=26): time 3.166e-06/0.6809, allocations: 0 / 431.8 MB, free: 12.65 MB / 362.8 MB Notification: Performance of matching and sorting (n=26): time 0.0008068/0.6817, allocations: 269.6 kB / 432.1 MB, free: 12.41 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6818, allocations: 51.41 kB / 432.1 MB, free: 12.35 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.682, allocations: 159.5 kB / 432.3 MB, free: 12.21 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.6821, allocations: 29.69 kB / 432.3 MB, free: 12.17 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.6823, allocations: 272.8 kB / 432.6 MB, free: 11.92 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6824, allocations: 95.91 kB / 432.7 MB, free: 11.84 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.6824, allocations: 0 / 432.7 MB, free: 11.84 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6826, allocations: 326.2 kB / 433 MB, free: 11.51 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6829, allocations: 100.5 kB / 433.1 MB, free: 11.43 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.6832, allocations: 131 kB / 433.2 MB, free: 11.29 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.6836, allocations: 133.2 kB / 433.4 MB, free: 11.16 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6836, allocations: 0 / 433.4 MB, free: 11.16 MB / 362.8 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008657/0.6845, allocations: 303.6 kB / 433.6 MB, free: 10.86 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.6845, allocations: 4 kB / 433.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.6845, allocations: 0 / 433.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.6846, allocations: 4 kB / 433.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.6857, allocations: 123.8 kB / 433.8 MB, free: 10.73 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.688, allocations: 3.02 MB / 436.8 MB, free: 7.598 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.6885, allocations: 27.77 kB / 436.8 MB, free: 7.57 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.6885, allocations: 8 kB / 436.8 MB, free: 7.562 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.0001948/0.6887, allocations: 121.1 kB / 436.9 MB, free: 7.438 MB / 362.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007616/0.6895, allocations: 262.4 kB / 437.2 MB, free: 7.176 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.6896, allocations: 15.81 kB / 437.2 MB, free: 7.16 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.691, allocations: 405.6 kB / 437.6 MB, free: 6.758 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.691, allocations: 4 kB / 437.6 MB, free: 6.754 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6911, allocations: 0 / 437.6 MB, free: 6.754 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6911, allocations: 0 / 437.6 MB, free: 6.754 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.6918, allocations: 321.7 kB / 437.9 MB, free: 6.402 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6918, allocations: 0 / 437.9 MB, free: 6.402 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6929, allocations: 115.8 kB / 438 MB, free: 6.289 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.6929, allocations: 0 / 438 MB, free: 6.289 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.693, allocations: 11.98 kB / 438.1 MB, free: 6.277 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6952, allocations: 3.016 MB / 441.1 MB, free: 3.145 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6952, allocations: 0 / 441.1 MB, free: 3.145 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.6961, allocations: 391.6 kB / 441.5 MB, free: 2.746 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6962, allocations: 100.8 kB / 441.6 MB, free: 2.629 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.6963, allocations: 3.953 kB / 441.6 MB, free: 2.625 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.6967, allocations: 11.98 kB / 441.6 MB, free: 2.613 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6968, allocations: 23.97 kB / 441.6 MB, free: 2.59 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.6968, allocations: 11.98 kB / 441.6 MB, free: 2.578 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001675/0.697, allocations: 127.4 kB / 441.7 MB, free: 2.453 MB / 362.8 MB Notification: Performance of sort global known variables: time 4.11e-07/0.697, allocations: 3.938 kB / 441.7 MB, free: 2.449 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.001079/0.6981, allocations: 207.3 kB / 441.9 MB, free: 2.246 MB / 362.8 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 (31): * Single equations (assignments): 26 * 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.002113/0.7003, allocations: 1.105 MB / 443 MB, free: 1.113 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.7017, allocations: 300.2 kB / 443.3 MB, free: 0.8203 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7017, allocations: 0 / 443.3 MB, free: 0.8203 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.7026, allocations: 183.8 kB / 443.5 MB, free: 0.6406 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.7029, allocations: 24.06 kB / 443.5 MB, free: 0.6172 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.7052, allocations: 0.6295 MB / 444.2 MB, free: 15.95 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.7058, allocations: 0.8419 MB / 445 MB, free: 15.07 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.7061, allocations: 111.4 kB / 445.1 MB, free: 14.96 MB / 378.8 MB Notification: Performance of SimCode: time 1.192e-06/0.7061, allocations: 0 / 445.1 MB, free: 14.96 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.08/3.786, allocations: 13.7 MB / 458.8 MB, free: 1.254 MB / 378.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat