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/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.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.605/2.605, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.375e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.382, allocations: 54.85 MB / 358.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5442, allocations: 87.12 MB / 445.3 MB, free: 7.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004826/0.5448, allocations: 103.9 kB / 445.4 MB, free: 7.59 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.05275/0.5975, allocations: 10.1 MB / 455.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5976, allocations: 0 / 455.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.5976, allocations: 11.94 kB / 455.5 MB, free: 13.3 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.001545/0.5992, allocations: 0.6564 MB / 456.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5993, allocations: 12.03 kB / 456.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.5995, allocations: 51.34 kB / 456.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.6002, allocations: 318.3 kB / 456.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.6003, allocations: 16 kB / 456.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6004, allocations: 31.95 kB / 456.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/0.6018, allocations: 0.6311 MB / 457.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6032, allocations: 0.5817 MB / 457.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.6033, allocations: 0 / 457.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.6034, allocations: 0 / 457.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.6035, allocations: 53.28 kB / 457.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.6074, allocations: 1.57 MB / 459.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.6083, allocations: 339.2 kB / 459.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.6086, allocations: 125.2 kB / 459.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.6087, allocations: 12.22 kB / 459.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6087, allocations: 38.75 kB / 459.9 MB, free: 8.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.457e-06/0.6088, allocations: 0 / 459.9 MB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009328/0.6097, allocations: 316 kB / 460.2 MB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6098, allocations: 55.41 kB / 460.3 MB, free: 8.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.6101, allocations: 195.1 kB / 460.4 MB, free: 8.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.6101, allocations: 25.7 kB / 460.5 MB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.6104, allocations: 350 kB / 460.8 MB, free: 7.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6105, allocations: 94.64 kB / 460.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.6106, allocations: 0 / 460.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6107, allocations: 326.8 kB / 461.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.6111, allocations: 115.7 kB / 461.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.6115, allocations: 233.5 kB / 461.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.612, allocations: 163.7 kB / 461.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.612, allocations: 0 / 461.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001133/0.6132, allocations: 393.1 kB / 462.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.6132, allocations: 9.25 kB / 462.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6132, allocations: 4 kB / 462.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.6133, allocations: 7.953 kB / 462.1 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.6146, allocations: 151.8 kB / 462.3 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.6172, allocations: 3.631 MB / 465.9 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.6177, allocations: 31.95 kB / 465.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.6178, allocations: 31.92 kB / 466 MB, free: 2.336 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 () * 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.0001599/0.618, allocations: 108.9 kB / 466.1 MB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008348/0.6188, allocations: 321.6 kB / 466.4 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.6189, allocations: 23.77 kB / 466.4 MB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.6206, allocations: 488.2 kB / 466.9 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6207, allocations: 4 kB / 466.9 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6207, allocations: 0 / 466.9 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6207, allocations: 3.984 kB / 466.9 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.6216, allocations: 377.8 kB / 467.3 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6216, allocations: 0 / 467.3 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.6227, allocations: 131.8 kB / 467.4 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.6228, allocations: 0 / 467.4 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.6228, allocations: 19.94 kB / 467.4 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3043/0.9271, allocations: 3.615 MB / 471 MB, free: 97.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.9272, allocations: 1.719 kB / 471 MB, free: 97.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.9288, allocations: 0.5859 MB / 471.6 MB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.9292, allocations: 157.7 kB / 471.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.9293, allocations: 2.438 kB / 471.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.9297, allocations: 10.3 kB / 471.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.9298, allocations: 24.36 kB / 471.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.9299, allocations: 22.84 kB / 471.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.9301, allocations: 172.1 kB / 472 MB, free: 97.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.42e-07/0.9302, allocations: 0 / 472 MB, free: 97.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000905/0.9311, allocations: 183.6 kB / 472.2 MB, free: 97.2 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 () * 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.002229/0.9333, allocations: 1.236 MB / 473.4 MB, free: 96.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.9349, allocations: 369 kB / 473.8 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9349, allocations: 7.016 kB / 473.8 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.9359, allocations: 208.2 kB / 474 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.9363, allocations: 16.16 kB / 474 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.9389, allocations: 0.8465 MB / 474.9 MB, free: 96.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.9395, allocations: 0.9146 MB / 475.8 MB, free: 95.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.94, allocations: 163.8 kB / 475.9 MB, free: 95.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.94, allocations: 0 / 475.9 MB, free: 95.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.318/4.258, allocations: 18.6 MB / 494.5 MB, free: 84.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