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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005938/0.0005938, allocations: 11.94 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3564, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4985, allocations: 81.46 MB / 412.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/0.4989, allocations: 99.94 kB / 412.9 MB, free: 12.75 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.05371/0.5527, allocations: 10.2 MB / 423.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5527, allocations: 0 / 423.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.5528, allocations: 16 kB / 423.2 MB, free: 2.355 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001563/0.5543, allocations: 0.6781 MB / 423.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5544, allocations: 8.031 kB / 423.8 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.5546, allocations: 106.5 kB / 424 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.5547, allocations: 59.23 kB / 424 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.5554, allocations: 322.2 kB / 424.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.5554, allocations: 41 kB / 424.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5555, allocations: 40 kB / 424.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5573, allocations: 0.6758 MB / 425.1 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.5574, allocations: 0 / 425.1 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.5574, allocations: 16 kB / 425.1 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-05/0.5576, allocations: 49.28 kB / 425.1 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.5596, allocations: 0.735 MB / 425.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.564, allocations: 1.751 MB / 427.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.5652, allocations: 359.4 kB / 428 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.875e-05/0.5654, allocations: 8.219 kB / 428 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5654, allocations: 38.8 kB / 428 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.945e-06/0.5654, allocations: 0 / 428 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001835/0.5673, allocations: 0.5006 MB / 428.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.5674, allocations: 51.41 kB / 428.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.5682, allocations: 412.7 kB / 429 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.5683, allocations: 29.7 kB / 429 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.5686, allocations: 306 kB / 429.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.5688, allocations: 90.66 kB / 429.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.5688, allocations: 12 kB / 429.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.569, allocations: 326.8 kB / 429.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.5696, allocations: 147.9 kB / 429.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.5702, allocations: 253.3 kB / 430.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.5708, allocations: 192 kB / 430.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5709, allocations: 0 / 430.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001483/0.5724, allocations: 461.3 kB / 430.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.5724, allocations: 8.625 kB / 430.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5725, allocations: 4 kB / 430.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.5725, allocations: 4 kB / 430.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.5738, allocations: 163.8 kB / 430.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.5765, allocations: 3.607 MB / 434.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.5772, allocations: 59.38 kB / 434.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.5773, allocations: 23.98 kB / 434.6 MB, free: 6.395 MB / 362.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.0004455/0.5778, allocations: 229.7 kB / 434.8 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5779, allocations: 35.53 kB / 434.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.58, allocations: 0.5519 MB / 435.4 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.58, allocations: 4 kB / 435.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5801, allocations: 0 / 435.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5801, allocations: 3.984 kB / 435.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.5811, allocations: 453.1 kB / 435.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5811, allocations: 0 / 435.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.5823, allocations: 139.8 kB / 436 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.5823, allocations: 0 / 436 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.5824, allocations: 12 kB / 436 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.5849, allocations: 3.606 MB / 439.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.585, allocations: 4.031 kB / 439.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5869, allocations: 0.6758 MB / 440.3 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.5873, allocations: 180.4 kB / 440.5 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5874, allocations: 15.98 kB / 440.5 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.5878, allocations: 15.98 kB / 440.5 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5879, allocations: 27.91 kB / 440.6 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.588, allocations: 15.98 kB / 440.6 MB, free: 212 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006337/0.5886, allocations: 339.1 kB / 440.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5886, allocations: 4.062 kB / 440.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009533/0.5896, allocations: 179.6 kB / 441.1 MB, free: 15.7 MB / 378.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.00264/0.5922, allocations: 1.332 MB / 442.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.5941, allocations: 428.3 kB / 442.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5942, allocations: 0 / 442.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.5953, allocations: 243.9 kB / 443.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.5958, allocations: 33.61 kB / 443.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.6037, allocations: 5.3 MB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.6044, allocations: 0.9132 MB / 449.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.6049, allocations: 171.4 kB / 449.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6049, allocations: 0 / 449.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.555/4.16, allocations: 19.41 MB / 468.9 MB, free: 3.691 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat