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.962/1.962, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.572e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5139, allocations: 78.64 MB / 400.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/0.5143, allocations: 99.17 kB / 400.6 MB, free: 11.18 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.01611/0.5304, allocations: 3.409 MB / 404 MB, free: 7.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5304, allocations: 3.938 kB / 404 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.5305, allocations: 4 kB / 404 MB, free: 7.758 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006715/0.5312, allocations: 398.2 kB / 404.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5312, allocations: 8.031 kB / 404.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.5313, allocations: 50.47 kB / 404.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.5317, allocations: 35.88 kB / 404.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.532, allocations: 186.9 kB / 404.7 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.532, allocations: 8 kB / 404.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.5321, allocations: 11.98 kB / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.5325, allocations: 164.1 kB / 404.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5325, allocations: 0 / 404.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.5326, allocations: 3.984 kB / 404.9 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.5326, allocations: 11.98 kB / 404.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.5329, allocations: 111.9 kB / 405 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.5343, allocations: 0.6445 MB / 405.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.5347, allocations: 98.7 kB / 405.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.5348, allocations: 28.84 kB / 405.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.5349, allocations: 3.938 kB / 405.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5349, allocations: 34.56 kB / 405.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.5349, allocations: 0 / 405.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003011/0.5352, allocations: 85.58 kB / 405.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5353, allocations: 51.41 kB / 405.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.5354, allocations: 109.6 kB / 406 MB, free: 5.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.5355, allocations: 29.7 kB / 406.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5356, allocations: 190.4 kB / 406.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.5356, allocations: 27.59 kB / 406.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5357, allocations: 0 / 406.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5358, allocations: 326.8 kB / 406.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.5359, allocations: 27.98 kB / 406.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.5361, allocations: 83.59 kB / 406.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5362, allocations: 39.94 kB / 406.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5362, allocations: 0 / 406.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003222/0.5365, allocations: 129.4 kB / 406.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5366, allocations: 8.25 kB / 406.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5366, allocations: 7.984 kB / 406.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5366, allocations: 4 kB / 406.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.537, allocations: 39.92 kB / 406.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.537, allocations: 8.531 kB / 406.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.5372, allocations: 19.91 kB / 406.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.5373, allocations: 8 kB / 407 MB, free: 4.527 MB / 330.7 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 9.936e-05/0.5374, allocations: 120.8 kB / 407.1 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.5374, allocations: 8 kB / 407.1 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.5377, allocations: 102.4 kB / 407.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5378, allocations: 0 / 407.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5378, allocations: 0 / 407.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5378, allocations: 0 / 407.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.5381, allocations: 197.5 kB / 407.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5381, allocations: 3.953 kB / 407.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.5384, allocations: 39.91 kB / 407.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5384, allocations: 0 / 407.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.5384, allocations: 4 kB / 407.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5385, allocations: 0 / 407.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5385, allocations: 80 / 407.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.5387, allocations: 191.4 kB / 407.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.5388, allocations: 89.06 kB / 407.7 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5389, allocations: 0 / 407.7 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.539, allocations: 8 kB / 407.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.5391, allocations: 3.984 kB / 407.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.5391, allocations: 8 kB / 407.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.073e-05/0.5392, allocations: 103.3 kB / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.5392, allocations: 0 / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.5396, allocations: 35.78 kB / 407.8 MB, free: 3.539 MB / 330.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 (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.0007145/0.5404, allocations: 0.7435 MB / 408.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.5406, allocations: 75.84 kB / 408.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5406, allocations: 0.5 kB / 408.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.5407, allocations: 35.98 kB / 408.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.541, allocations: 0 / 408.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.5417, allocations: 220.8 kB / 408.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.5421, allocations: 0.7082 MB / 409.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5422, allocations: 31.42 kB / 409.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5423, allocations: 0 / 409.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/3.174, allocations: 1.928 MB / 411.6 MB, free: 15.71 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.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat