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.199/2.199, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 16 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.4877, allocations: 85.12 MB / 454.5 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.4882, allocations: 107.9 kB / 454.6 MB, free: 5.266 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.01568/0.5039, allocations: 3.464 MB / 458.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5039, allocations: 0 / 458.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5039, allocations: 4 kB / 458.1 MB, free: 1.773 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.000647/0.5046, allocations: 403 kB / 458.5 MB, free: 1.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5046, allocations: 8.031 kB / 458.5 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.5047, allocations: 42.55 kB / 458.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.5051, allocations: 43.83 kB / 458.6 MB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.5054, allocations: 194.8 kB / 458.8 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5054, allocations: 7.984 kB / 458.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.5054, allocations: 12 kB / 458.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.506, allocations: 183.9 kB / 459 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.506, allocations: 0 / 459 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.506, allocations: 4 kB / 459 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.5061, allocations: 15.94 kB / 459 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.5066, allocations: 139.8 kB / 459.1 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.5078, allocations: 0.6487 MB / 459.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.5083, allocations: 114.6 kB / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5084, allocations: 0 / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5084, allocations: 38.56 kB / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.572e-06/0.5084, allocations: 0 / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007054/0.5091, allocations: 157.7 kB / 460.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5092, allocations: 55.39 kB / 460.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5093, allocations: 113.1 kB / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.5094, allocations: 29.7 kB / 460.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5095, allocations: 190.3 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.5095, allocations: 23.7 kB / 460.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.5095, allocations: 0 / 460.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5097, allocations: 322.8 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5099, allocations: 43.91 kB / 460.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.5101, allocations: 99.69 kB / 460.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.5104, allocations: 55.91 kB / 461 MB, free: 14.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5104, allocations: 7.938 kB / 461 MB, free: 14.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005628/0.511, allocations: 169.3 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5111, allocations: 8.25 kB / 461.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5111, allocations: 4 kB / 461.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5111, allocations: 4 kB / 461.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.5114, allocations: 39.97 kB / 461.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5115, allocations: 4 kB / 461.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.5116, allocations: 23.83 kB / 461.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.5117, allocations: 7.984 kB / 461.2 MB, free: 14.32 MB / 394.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 () * Number of clocked 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.0001462/0.5118, allocations: 137.7 kB / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.5119, allocations: 7.906 kB / 461.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.5124, allocations: 129.9 kB / 461.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5125, allocations: 4 kB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5125, allocations: 4 kB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5125, allocations: 3.984 kB / 461.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.5128, allocations: 201.6 kB / 461.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5128, allocations: 3.938 kB / 461.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.5131, allocations: 27.98 kB / 461.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5131, allocations: 0 / 461.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5131, allocations: 3.984 kB / 461.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5131, allocations: 4 kB / 461.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5132, allocations: 0 / 461.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.5137, allocations: 219.3 kB / 462 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.5138, allocations: 89.02 kB / 462.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5138, allocations: 7.984 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.514, allocations: 4 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.514, allocations: 7.984 kB / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5141, allocations: 4 kB / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.5142, allocations: 95.77 kB / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5142, allocations: 0 / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.5146, allocations: 27.94 kB / 462.2 MB, free: 13.26 MB / 394.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 () * Number of clocked 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.0009526/0.5155, allocations: 0.7798 MB / 463 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.5161, allocations: 115.8 kB / 463.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5161, allocations: 0.5 kB / 463.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.5163, allocations: 51.91 kB / 463.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.5166, allocations: 8.938 kB / 463.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.5189, allocations: 1.973 MB / 465.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.5193, allocations: 0.7199 MB / 465.8 MB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.5195, allocations: 27.42 kB / 465.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5195, allocations: 0 / 465.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.44/2.96, allocations: 1.941 MB / 467.8 MB, free: 7.523 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