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 2.189/2.189, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.392e-05, allocations: 4 kB / 273.2 MB, free: 0.5977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.71 MB / 321.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5265, allocations: 78.65 MB / 400.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.527, allocations: 91.94 kB / 400.6 MB, free: 11.16 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.01687/0.5438, allocations: 3.413 MB / 404 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5439, allocations: 3.938 kB / 404 MB, free: 7.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5439, allocations: 12 kB / 404.1 MB, free: 7.73 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.0006849/0.5446, allocations: 394.2 kB / 404.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5447, allocations: 8.031 kB / 404.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.5448, allocations: 42.56 kB / 404.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.5452, allocations: 35.86 kB / 404.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.5455, allocations: 190.9 kB / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5455, allocations: 8 kB / 404.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.5455, allocations: 11.98 kB / 404.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.546, allocations: 156.2 kB / 404.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.546, allocations: 0 / 404.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.546, allocations: 11.94 kB / 404.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.5461, allocations: 7.984 kB / 404.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.5464, allocations: 104 kB / 405 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.5479, allocations: 0.6523 MB / 405.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.5484, allocations: 98.64 kB / 405.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.5485, allocations: 20.86 kB / 405.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5486, allocations: 0 / 405.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5486, allocations: 38.56 kB / 405.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.5486, allocations: 0 / 405.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003334/0.549, allocations: 85.72 kB / 405.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.549, allocations: 51.41 kB / 405.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.5492, allocations: 117.2 kB / 406.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5492, allocations: 25.7 kB / 406.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5493, allocations: 190.2 kB / 406.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.5494, allocations: 31.58 kB / 406.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5494, allocations: 4 kB / 406.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5496, allocations: 318.8 kB / 406.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.5497, allocations: 27.98 kB / 406.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5498, allocations: 83.59 kB / 406.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5499, allocations: 39.92 kB / 406.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.55, allocations: 0 / 406.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003337/0.5503, allocations: 134 kB / 406.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5503, allocations: 4 kB / 406.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5504, allocations: 8 kB / 406.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5504, allocations: 4 kB / 406.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.5508, allocations: 43.91 kB / 406.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5508, allocations: 0 / 406.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.551, allocations: 28.02 kB / 407 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.551, allocations: 8 kB / 407 MB, free: 4.512 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 0.0001034/0.5511, allocations: 116.9 kB / 407.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.5512, allocations: 4 kB / 407.1 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.5515, allocations: 102.3 kB / 407.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5515, allocations: 4 kB / 407.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5515, allocations: 0 / 407.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5515, allocations: 3.984 kB / 407.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.5519, allocations: 201.5 kB / 407.4 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5519, allocations: 3.953 kB / 407.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.5522, allocations: 27.98 kB / 407.4 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.5522, allocations: 0 / 407.4 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.5522, allocations: 3.984 kB / 407.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5522, allocations: 0 / 407.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5522, allocations: 0 / 407.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.5525, allocations: 195.4 kB / 407.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.5526, allocations: 81.06 kB / 407.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5526, allocations: 0 / 407.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5528, allocations: 11.98 kB / 407.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.5529, allocations: 11.97 kB / 407.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5529, allocations: 4 kB / 407.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.553, allocations: 91.28 kB / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.274e-06/0.553, allocations: 0 / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.5534, allocations: 39.78 kB / 407.9 MB, free: 3.535 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.0006767/0.5541, allocations: 0.7403 MB / 408.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.5544, allocations: 76.16 kB / 408.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5544, allocations: 4.188 kB / 408.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.5545, allocations: 24 kB / 408.7 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5548, allocations: 7.984 kB / 408.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.5555, allocations: 212.8 kB / 408.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.5559, allocations: 0.7121 MB / 409.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.556, allocations: 27.44 kB / 409.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.556, allocations: 4 kB / 409.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.507/3.063, allocations: 1.937 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