Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.4 MB / 216.9 MB, free: 6.742 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.804e-05, allocations: 4 kB / 267.6 MB, free: 5.383 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.7 MB / 316.3 MB, free: 4.586 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5268, allocations: 78.24 MB / 394.6 MB, free: 14.07 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/0.5272, allocations: 93.19 kB / 394.7 MB, free: 14.02 MB / 330.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01657/0.5438, allocations: 3.374 MB / 398 MB, free: 11.15 MB / 330.8 MB Notification: Performance of FrontEnd: time 5.761e-06/0.5439, allocations: 0 / 398 MB, free: 11.15 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5439, allocations: 3.938 kB / 398 MB, free: 11.14 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006564/0.5446, allocations: 398.1 kB / 398.4 MB, free: 10.71 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5446, allocations: 12.03 kB / 398.4 MB, free: 10.7 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.5451, allocations: 39.67 kB / 398.5 MB, free: 10.67 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5453, allocations: 183.9 kB / 398.7 MB, free: 10.45 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5454, allocations: 4 kB / 398.7 MB, free: 10.45 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.5454, allocations: 15.94 kB / 398.7 MB, free: 10.43 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002826/0.5457, allocations: 90.38 kB / 398.8 MB, free: 10.37 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.5461, allocations: 149.9 kB / 398.9 MB, free: 10.23 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5461, allocations: 0 / 398.9 MB, free: 10.23 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.5461, allocations: 0 / 398.9 MB, free: 10.23 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.5462, allocations: 8 kB / 398.9 MB, free: 10.22 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5474, allocations: 0.616 MB / 399.5 MB, free: 9.586 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.5478, allocations: 89.83 kB / 399.6 MB, free: 9.5 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.5479, allocations: 29.41 kB / 399.7 MB, free: 9.477 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.5479, allocations: 4 kB / 399.7 MB, free: 9.473 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5479, allocations: 30.56 kB / 399.7 MB, free: 9.434 MB / 330.8 MB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.5479, allocations: 4 kB / 399.7 MB, free: 9.43 MB / 330.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002698/0.5482, allocations: 77.7 kB / 399.8 MB, free: 9.355 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5483, allocations: 59.34 kB / 399.8 MB, free: 9.285 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5484, allocations: 113.5 kB / 399.9 MB, free: 9.172 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5484, allocations: 25.7 kB / 400 MB, free: 9.141 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5486, allocations: 190 kB / 400.1 MB, free: 8.957 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5486, allocations: 23.64 kB / 400.2 MB, free: 8.934 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.5486, allocations: 0 / 400.2 MB, free: 8.934 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5488, allocations: 322.7 kB / 400.5 MB, free: 8.613 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.5488, allocations: 23.61 kB / 400.5 MB, free: 8.594 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.549, allocations: 87.16 kB / 400.6 MB, free: 8.492 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5491, allocations: 35.73 kB / 400.6 MB, free: 8.461 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5491, allocations: 0 / 400.6 MB, free: 8.461 MB / 330.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002809/0.5494, allocations: 121.2 kB / 400.7 MB, free: 8.348 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5494, allocations: 4 kB / 400.7 MB, free: 8.344 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5495, allocations: 4.25 kB / 400.8 MB, free: 8.34 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5495, allocations: 8 kB / 400.8 MB, free: 8.332 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.5498, allocations: 43.91 kB / 400.8 MB, free: 8.289 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5499, allocations: 4 kB / 400.8 MB, free: 8.285 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.55, allocations: 19.89 kB / 400.8 MB, free: 8.266 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.5501, allocations: 7.75 kB / 400.8 MB, free: 8.262 MB / 330.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5502, allocations: 116.9 kB / 400.9 MB, free: 8.141 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001902/0.5504, allocations: 73.25 kB / 401 MB, free: 8.07 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.5504, allocations: 7.906 kB / 401 MB, free: 8.062 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.5507, allocations: 97 kB / 401.1 MB, free: 7.98 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5507, allocations: 0 / 401.1 MB, free: 7.98 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5507, allocations: 0 / 401.1 MB, free: 7.98 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5507, allocations: 4 kB / 401.1 MB, free: 7.977 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.551, allocations: 165.7 kB / 401.3 MB, free: 7.789 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.551, allocations: 3.938 kB / 401.3 MB, free: 7.785 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.5513, allocations: 35.94 kB / 401.3 MB, free: 7.75 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5514, allocations: 0 / 401.3 MB, free: 7.75 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5514, allocations: 4 kB / 401.3 MB, free: 7.746 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5514, allocations: 0 / 401.3 MB, free: 7.746 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5514, allocations: 3.984 kB / 401.3 MB, free: 7.742 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.5517, allocations: 175.1 kB / 401.5 MB, free: 7.566 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.5518, allocations: 85.02 kB / 401.6 MB, free: 7.465 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.5518, allocations: 3.953 kB / 401.6 MB, free: 7.461 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.552, allocations: 11.98 kB / 401.6 MB, free: 7.449 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.552, allocations: 4 kB / 401.6 MB, free: 7.445 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.5521, allocations: 0 / 401.6 MB, free: 7.445 MB / 330.8 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.5521, allocations: 95.08 kB / 401.7 MB, free: 7.359 MB / 330.8 MB Notification: Performance of sort global known variables: time 3.126e-06/0.5522, allocations: 0 / 401.7 MB, free: 7.359 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0004362/0.5526, allocations: 31.78 kB / 401.7 MB, free: 7.328 MB / 330.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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006443/0.5533, allocations: 0.7352 MB / 402.5 MB, free: 6.578 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.5535, allocations: 71.34 kB / 402.5 MB, free: 6.52 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5535, allocations: 0.5 kB / 402.5 MB, free: 6.52 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.5536, allocations: 23.56 kB / 402.6 MB, free: 6.5 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.5539, allocations: 15.83 kB / 402.6 MB, free: 6.488 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.5546, allocations: 212.3 kB / 402.8 MB, free: 6.246 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.5549, allocations: 0.708 MB / 403.5 MB, free: 5.512 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.5551, allocations: 26.98 kB / 403.5 MB, free: 5.496 MB / 330.8 MB Notification: Performance of SimCode: time 1.092e-06/0.5551, allocations: 0 / 403.5 MB, free: 5.496 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.433/2.988, allocations: 1.924 MB / 405.4 MB, free: 3.586 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat