Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.77/2.77, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.466e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.5667, allocations: 84.37 MB / 442.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/0.5672, allocations: 103.9 kB / 442.6 MB, free: 10.26 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.0159/0.5831, allocations: 3.403 MB / 446 MB, free: 6.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.5832, allocations: 3.984 kB / 446 MB, free: 6.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5832, allocations: 4 kB / 446 MB, free: 6.832 MB / 378.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.0006775/0.5839, allocations: 400.2 kB / 446.4 MB, free: 6.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5839, allocations: 11.97 kB / 446.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.5844, allocations: 47.81 kB / 446.5 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5846, allocations: 179 kB / 446.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.5847, allocations: 4 kB / 446.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.5847, allocations: 4 kB / 446.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003222/0.585, allocations: 95.88 kB / 446.8 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.5854, allocations: 156 kB / 446.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5854, allocations: 0 / 446.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5855, allocations: 0 / 446.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.5855, allocations: 19.95 kB / 446.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.5868, allocations: 0.6061 MB / 447.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.5872, allocations: 90.64 kB / 447.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.5873, allocations: 32.84 kB / 447.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.5873, allocations: 4 kB / 447.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5874, allocations: 30.72 kB / 447.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.095e-06/0.5874, allocations: 0 / 447.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002842/0.5877, allocations: 81.56 kB / 447.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5877, allocations: 51.41 kB / 447.8 MB, free: 4.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.5879, allocations: 113.2 kB / 447.9 MB, free: 4.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.5879, allocations: 25.7 kB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.588, allocations: 198.2 kB / 448.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.5881, allocations: 27.66 kB / 448.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.5881, allocations: 0 / 448.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5882, allocations: 322.8 kB / 448.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.5883, allocations: 19.98 kB / 448.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5884, allocations: 80.92 kB / 448.6 MB, free: 4.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.5885, allocations: 31.98 kB / 448.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5886, allocations: 3.938 kB / 448.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002903/0.5889, allocations: 117.5 kB / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5889, allocations: 8 kB / 448.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5889, allocations: 0 / 448.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5889, allocations: 4 kB / 448.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.5893, allocations: 47.91 kB / 448.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5894, allocations: 4.156 kB / 448.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.5895, allocations: 16.2 kB / 448.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.5896, allocations: 12 kB / 448.8 MB, free: 3.773 MB / 378.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.603e-05/0.5897, allocations: 108.9 kB / 448.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002076/0.5899, allocations: 89.48 kB / 449 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.5899, allocations: 7.906 kB / 449 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.5902, allocations: 90.27 kB / 449.1 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5902, allocations: 4 kB / 449.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5902, allocations: 7.938 kB / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.5903, allocations: 0 / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.5905, allocations: 170.1 kB / 449.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5906, allocations: 0 / 449.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.5908, allocations: 35.92 kB / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5908, allocations: 0 / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.5909, allocations: 0 / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5909, allocations: 0 / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5909, allocations: 0 / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.5911, allocations: 187.4 kB / 449.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.5912, allocations: 81.02 kB / 449.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.5912, allocations: 4 kB / 449.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5914, allocations: 7.984 kB / 449.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.5915, allocations: 4 kB / 449.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.5915, allocations: 0 / 449.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.5916, allocations: 99.2 kB / 449.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5916, allocations: 4 kB / 449.7 MB, free: 2.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000386/0.592, allocations: 23.84 kB / 449.7 MB, free: 2.781 MB / 378.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.0006258/0.5926, allocations: 0.7384 MB / 450.5 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5929, allocations: 67.92 kB / 450.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5929, allocations: 0 / 450.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.593, allocations: 31.92 kB / 450.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5932, allocations: 5.125 kB / 450.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.5939, allocations: 199.9 kB / 450.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5942, allocations: 0.7085 MB / 451.5 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.5944, allocations: 35.42 kB / 451.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5944, allocations: 0 / 451.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/3.211, allocations: 1.921 MB / 453.4 MB, free: 14.99 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat