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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.473/2.473, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.968e-05, allocations: 0 / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4132, allocations: 54.85 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.6057, allocations: 85.04 MB / 449.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/0.6061, allocations: 91.94 kB / 449.8 MB, free: 11.24 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.01663/0.6227, allocations: 3.455 MB / 453.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6228, allocations: 3.938 kB / 453.2 MB, free: 7.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.6228, allocations: 0 / 453.2 MB, free: 7.793 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.0006465/0.6235, allocations: 396.6 kB / 453.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6235, allocations: 12.03 kB / 453.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.6236, allocations: 50.52 kB / 453.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.624, allocations: 35.86 kB / 453.7 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.6243, allocations: 185.7 kB / 453.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6243, allocations: 8 kB / 453.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.6243, allocations: 11.98 kB / 453.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.6248, allocations: 171.8 kB / 454.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6248, allocations: 4 kB / 454.1 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.6248, allocations: 4.75 kB / 454.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.6249, allocations: 15.94 kB / 454.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.6252, allocations: 111.9 kB / 454.2 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.6265, allocations: 0.6445 MB / 454.9 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.6269, allocations: 98.7 kB / 455 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.627, allocations: 21.83 kB / 455 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.627, allocations: 4 kB / 455 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6271, allocations: 38.5 kB / 455 MB, free: 5.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.6271, allocations: 1.031 kB / 455 MB, free: 5.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002788/0.6274, allocations: 81.72 kB / 455.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6274, allocations: 55.36 kB / 455.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.6276, allocations: 118.7 kB / 455.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.6276, allocations: 25.7 kB / 455.3 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.6277, allocations: 190.2 kB / 455.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.6278, allocations: 27.64 kB / 455.5 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.6278, allocations: 8 kB / 455.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6279, allocations: 310.8 kB / 455.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.628, allocations: 27.98 kB / 455.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6282, allocations: 88.62 kB / 455.9 MB, free: 4.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.6283, allocations: 35.97 kB / 456 MB, free: 4.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.6283, allocations: 4 kB / 456 MB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003184/0.6286, allocations: 137.4 kB / 456.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6287, allocations: 4 kB / 456.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.6287, allocations: 4 kB / 456.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6287, allocations: 0 / 456.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.6291, allocations: 52.16 kB / 456.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6291, allocations: 0 / 456.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.6293, allocations: 23.84 kB / 456.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.6293, allocations: 8 kB / 456.2 MB, free: 4.551 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.776e-05/0.6294, allocations: 117.8 kB / 456.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.6295, allocations: 4 kB / 456.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.6298, allocations: 98.19 kB / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.6298, allocations: 0 / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6298, allocations: 0 / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6298, allocations: 4 kB / 456.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.6301, allocations: 200.6 kB / 456.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6301, allocations: 0 / 456.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.6304, allocations: 31.92 kB / 456.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6304, allocations: 8 kB / 456.7 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6304, allocations: 3.938 kB / 456.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.6304, allocations: 3.984 kB / 456.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6305, allocations: 0 / 456.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.6307, allocations: 187.6 kB / 456.8 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.6308, allocations: 81.02 kB / 456.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6308, allocations: 4 kB / 456.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.631, allocations: 15.98 kB / 456.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.6311, allocations: 4 kB / 456.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.6311, allocations: 3.984 kB / 457 MB, free: 3.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.332e-05/0.6312, allocations: 92.78 kB / 457 MB, free: 3.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6312, allocations: 3.938 kB / 457 MB, free: 3.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.6316, allocations: 27.94 kB / 457.1 MB, free: 3.582 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.0006715/0.6322, allocations: 0.7584 MB / 457.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.6325, allocations: 75.84 kB / 457.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6325, allocations: 4 kB / 457.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.6326, allocations: 24 kB / 457.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.6328, allocations: 8.5 kB / 457.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.6335, allocations: 208.9 kB / 458.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.6339, allocations: 0.716 MB / 458.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.634, allocations: 31.44 kB / 458.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.166e-06/0.634, allocations: 0 / 458.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/3.235, allocations: 1.932 MB / 460.8 MB, free: 15.75 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