Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) 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.062/2.062, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006561, allocations: 12 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3444, allocations: 48.7 MB / 331.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4816, allocations: 78.75 MB / 410.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.4821, allocations: 95.94 kB / 410.2 MB, free: 15.54 MB / 346.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.01721/0.4993, allocations: 3.46 MB / 413.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4993, allocations: 0 / 413.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4994, allocations: 0 / 413.7 MB, free: 12.07 MB / 346.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.0007004/0.5001, allocations: 399.1 kB / 414.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5001, allocations: 12.03 kB / 414.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.5002, allocations: 46.55 kB / 414.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.5006, allocations: 39.86 kB / 414.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.5009, allocations: 190.8 kB / 414.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.501, allocations: 11.98 kB / 414.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.501, allocations: 11.94 kB / 414.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.5016, allocations: 188 kB / 414.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5016, allocations: 0 / 414.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.5016, allocations: 4 kB / 414.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.5017, allocations: 8 kB / 414.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.5023, allocations: 155.8 kB / 414.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.5036, allocations: 0.6445 MB / 415.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.5042, allocations: 106.7 kB / 415.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5043, allocations: 4 kB / 415.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5043, allocations: 38.7 kB / 415.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/0.5043, allocations: 0 / 415.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007971/0.5051, allocations: 153.5 kB / 415.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5052, allocations: 55.41 kB / 415.7 MB, free: 9.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5054, allocations: 113.1 kB / 415.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.5054, allocations: 25.7 kB / 415.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.5055, allocations: 190.3 kB / 416.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.5056, allocations: 27.61 kB / 416.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.5056, allocations: 0 / 416.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5058, allocations: 318.8 kB / 416.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.506, allocations: 47.89 kB / 416.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.5063, allocations: 103.6 kB / 416.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.5065, allocations: 55.95 kB / 416.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5065, allocations: 0 / 416.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005984/0.5071, allocations: 169.6 kB / 416.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.5072, allocations: 8 kB / 416.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5072, allocations: 0 / 416.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.5072, allocations: 4 kB / 416.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.5076, allocations: 43.91 kB / 416.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.5076, allocations: 4 kB / 416.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5078, allocations: 23.89 kB / 416.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.5078, allocations: 8.453 kB / 416.9 MB, free: 8.625 MB / 346.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.0001687/0.508, allocations: 129.7 kB / 417 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.5081, allocations: 15.86 kB / 417 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.5087, allocations: 141.9 kB / 417.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5087, allocations: 0 / 417.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5087, allocations: 0 / 417.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5088, allocations: 0 / 417.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.5091, allocations: 193.6 kB / 417.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5091, allocations: 0 / 417.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.5094, allocations: 35.91 kB / 417.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.5094, allocations: 3.953 kB / 417.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5095, allocations: 11.94 kB / 417.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5095, allocations: 4 kB / 417.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5095, allocations: 0 / 417.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.51, allocations: 215.4 kB / 417.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.5101, allocations: 85.02 kB / 417.7 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.5101, allocations: 3.953 kB / 417.7 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.5103, allocations: 8 kB / 417.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.5104, allocations: 11.97 kB / 417.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5104, allocations: 4 kB / 417.7 MB, free: 7.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.543e-05/0.5105, allocations: 91.27 kB / 417.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5105, allocations: 4 kB / 417.8 MB, free: 7.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000433/0.511, allocations: 31.94 kB / 417.8 MB, free: 7.555 MB / 346.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.001029/0.512, allocations: 0.7787 MB / 418.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.5126, allocations: 104.3 kB / 418.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5126, allocations: 0 / 418.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5128, allocations: 43.97 kB / 418.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5131, allocations: 15.94 kB / 418.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.5157, allocations: 1.981 MB / 420.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.5161, allocations: 0.7199 MB / 421.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5162, allocations: 27.44 kB / 421.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5162, allocations: 0 / 421.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.914/3.43, allocations: 1.926 MB / 423.4 MB, free: 1.82 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