Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.007e-05, allocations: 0 / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5139, allocations: 78.65 MB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004254/0.5144, allocations: 99.92 kB / 400.6 MB, free: 10.88 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.01665/0.5311, allocations: 3.406 MB / 404 MB, free: 7.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.5312, allocations: 0 / 404 MB, free: 7.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5312, allocations: 7.938 kB / 404 MB, free: 7.461 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.0006856/0.5319, allocations: 402.2 kB / 404.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.532, allocations: 12.03 kB / 404.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.532, allocations: 46.55 kB / 404.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.5325, allocations: 31.88 kB / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.5327, allocations: 183 kB / 404.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5328, allocations: 12 kB / 404.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.5328, allocations: 19.91 kB / 404.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.5333, allocations: 156.2 kB / 404.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5333, allocations: 0 / 404.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.5333, allocations: 7.984 kB / 404.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.5334, allocations: 8 kB / 404.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.5337, allocations: 111.9 kB / 405 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.535, allocations: 0.6523 MB / 405.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5355, allocations: 98.64 kB / 405.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.5356, allocations: 20.86 kB / 405.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.5356, allocations: 4 kB / 405.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5357, allocations: 43.48 kB / 405.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.5357, allocations: 0 / 405.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002898/0.536, allocations: 77.73 kB / 405.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.536, allocations: 55.39 kB / 405.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.5362, allocations: 113.2 kB / 406.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5362, allocations: 29.64 kB / 406.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.5363, allocations: 127.9 kB / 406.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.5364, allocations: 23.66 kB / 406.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.5364, allocations: 7.938 kB / 406.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5366, allocations: 318.8 kB / 406.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.5366, allocations: 23.94 kB / 406.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5368, allocations: 87.64 kB / 406.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5369, allocations: 39.94 kB / 406.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5369, allocations: 0 / 406.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003337/0.5373, allocations: 134 kB / 406.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5373, allocations: 4 kB / 406.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5373, allocations: 4 kB / 406.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.5374, allocations: 11.92 kB / 406.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.5377, allocations: 35.98 kB / 406.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.5378, allocations: 8.141 kB / 406.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.538, allocations: 24.05 kB / 406.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.538, allocations: 8 kB / 406.9 MB, free: 4.281 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.0001051/0.5381, allocations: 116.8 kB / 407 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.5382, allocations: 7.906 kB / 407 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.5385, allocations: 102.2 kB / 407.1 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5385, allocations: 3.938 kB / 407.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5385, allocations: 0 / 407.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5385, allocations: 0 / 407.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.5389, allocations: 197.6 kB / 407.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5389, allocations: 3.953 kB / 407.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.5391, allocations: 31.97 kB / 407.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5392, allocations: 0 / 407.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5392, allocations: 0 / 407.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5392, allocations: 0 / 407.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5392, allocations: 4 kB / 407.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.5395, allocations: 187.4 kB / 407.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.5396, allocations: 92.95 kB / 407.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.5396, allocations: 0 / 407.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5398, allocations: 4 kB / 407.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.5399, allocations: 11.92 kB / 407.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5399, allocations: 8 kB / 407.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.411e-05/0.54, allocations: 91.27 kB / 407.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.54, allocations: 4 kB / 407.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.5404, allocations: 27.94 kB / 407.8 MB, free: 3.312 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.0007192/0.5411, allocations: 0.759 MB / 408.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.5414, allocations: 72.11 kB / 408.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5414, allocations: 0 / 408.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.5415, allocations: 31.98 kB / 408.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.5417, allocations: 7.938 kB / 408.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.5425, allocations: 191.2 kB / 408.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5429, allocations: 0.716 MB / 409.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.5431, allocations: 32.64 kB / 409.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.5432, allocations: 27.42 kB / 409.6 MB, free: 1.391 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5432, allocations: 0 / 409.6 MB, free: 1.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.5711, allocations: 2.386 MB / 412 MB, free: 15.11 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.5715, allocations: 206 kB / 412.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/2.984, allocations: 0 / 412.2 MB, free: 14.88 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat