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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004316, allocations: 12 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3869, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5415, allocations: 87.89 MB / 457.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/0.5419, allocations: 91.94 kB / 457.4 MB, free: 2.59 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05154/0.5935, allocations: 10.23 MB / 467.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5935, allocations: 0 / 467.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.5936, allocations: 4 kB / 467.6 MB, free: 8.176 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001554/0.5951, allocations: 0.686 MB / 468.3 MB, free: 7.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5952, allocations: 12.03 kB / 468.3 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.5954, allocations: 98.5 kB / 468.4 MB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.5955, allocations: 55.34 kB / 468.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.5961, allocations: 314.3 kB / 468.8 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.5962, allocations: 40.94 kB / 468.8 MB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5963, allocations: 47.95 kB / 468.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5979, allocations: 0.6757 MB / 469.5 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.598, allocations: 0 / 469.5 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.5981, allocations: 20 kB / 469.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.736e-05/0.5982, allocations: 53.28 kB / 469.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.6, allocations: 0.7312 MB / 470.3 MB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.6039, allocations: 1.735 MB / 472.1 MB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.605, allocations: 371.2 kB / 472.4 MB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.6051, allocations: 8.219 kB / 472.4 MB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6051, allocations: 42.73 kB / 472.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/0.6051, allocations: 0 / 472.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001726/0.6069, allocations: 0.4922 MB / 473 MB, free: 2.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.607, allocations: 59.41 kB / 473 MB, free: 2.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.6077, allocations: 408.6 kB / 473.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.6078, allocations: 33.7 kB / 473.4 MB, free: 2.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.608, allocations: 310 kB / 473.7 MB, free: 1.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6082, allocations: 90.66 kB / 473.8 MB, free: 1.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.6082, allocations: 8 kB / 473.8 MB, free: 1.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6083, allocations: 322.8 kB / 474.2 MB, free: 1.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.6089, allocations: 151.6 kB / 474.3 MB, free: 1.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.6095, allocations: 257.5 kB / 474.6 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.6101, allocations: 183.8 kB / 474.7 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6101, allocations: 0 / 474.7 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00143/0.6115, allocations: 457.9 kB / 475.2 MB, free: 236 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6116, allocations: 7.953 kB / 475.2 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6116, allocations: 4 kB / 475.2 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6116, allocations: 8.469 kB / 475.2 MB, free: 216 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6129, allocations: 167.8 kB / 475.4 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.298/0.9108, allocations: 3.602 MB / 479 MB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.9115, allocations: 56.77 kB / 479 MB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.9116, allocations: 26.39 kB / 479.1 MB, free: 92.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004311/0.912, allocations: 222.5 kB / 479.3 MB, free: 92.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.9121, allocations: 38.44 kB / 479.3 MB, free: 92.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.9143, allocations: 0.5582 MB / 479.9 MB, free: 92.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.9143, allocations: 3.938 kB / 479.9 MB, free: 92.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9143, allocations: 0.875 kB / 479.9 MB, free: 92.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.9144, allocations: 5.047 kB / 479.9 MB, free: 92.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.9153, allocations: 453.2 kB / 480.3 MB, free: 92.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.9153, allocations: 0 / 480.3 MB, free: 92.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.9164, allocations: 141 kB / 480.5 MB, free: 92.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.9165, allocations: 1.281 kB / 480.5 MB, free: 92.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.9165, allocations: 16.28 kB / 480.5 MB, free: 92.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.9182, allocations: 3.603 MB / 484.1 MB, free: 88.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9183, allocations: 2.125 kB / 484.1 MB, free: 88.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.9201, allocations: 0.6701 MB / 484.7 MB, free: 88.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.9204, allocations: 174.5 kB / 484.9 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.9205, allocations: 6.281 kB / 484.9 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.921, allocations: 21.56 kB / 484.9 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.9211, allocations: 32.66 kB / 485 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.9211, allocations: 16.23 kB / 485 MB, free: 88.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005827/0.9217, allocations: 343.1 kB / 485.3 MB, free: 88.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9218, allocations: 0 / 485.3 MB, free: 88.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009016/0.9227, allocations: 186 kB / 485.5 MB, free: 88.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002585/0.9253, allocations: 1.325 MB / 486.8 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.9272, allocations: 435 kB / 487.3 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9273, allocations: 0 / 487.3 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.9284, allocations: 237.4 kB / 487.5 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.9289, allocations: 32.3 kB / 487.5 MB, free: 87.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/0.9366, allocations: 5.304 MB / 492.8 MB, free: 84.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.9371, allocations: 0.9136 MB / 493.7 MB, free: 83.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.9375, allocations: 172.3 kB / 493.9 MB, free: 83.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9375, allocations: 0 / 493.9 MB, free: 83.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.048/3.985, allocations: 19.42 MB / 0.5013 GB, free: 69.28 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.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat