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_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.292e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3799, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.5599, allocations: 96.76 MB / 454.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.5603, allocations: 91.94 kB / 455 MB, free: 13.95 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.3984/0.9588, allocations: 17.66 MB / 472.7 MB, free: 98.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.9588, allocations: 0 / 472.7 MB, free: 98.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.9588, allocations: 3.281 kB / 472.7 MB, free: 98.52 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001518/0.9604, allocations: 0.6322 MB / 473.3 MB, free: 98.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9604, allocations: 9.25 kB / 473.3 MB, free: 98.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.9606, allocations: 30.22 kB / 473.3 MB, free: 98.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.9609, allocations: 242.8 kB / 473.6 MB, free: 97.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.961, allocations: 11.03 kB / 473.6 MB, free: 97.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.961, allocations: 16.59 kB / 473.6 MB, free: 97.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008807/0.9619, allocations: 399.8 kB / 474 MB, free: 97.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.9628, allocations: 406.5 kB / 474.4 MB, free: 97.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.9628, allocations: 0 / 474.4 MB, free: 97.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.9629, allocations: 0.875 kB / 474.4 MB, free: 97.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-05/0.963, allocations: 38.28 kB / 474.4 MB, free: 97.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.9659, allocations: 1.275 MB / 475.7 MB, free: 97.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.9667, allocations: 245.8 kB / 475.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.9669, allocations: 83.42 kB / 476 MB, free: 97.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.9669, allocations: 9.016 kB / 476 MB, free: 97.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.967, allocations: 33.09 kB / 476.1 MB, free: 97.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.577e-06/0.967, allocations: 3.844 kB / 476.1 MB, free: 97.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.000576/0.9676, allocations: 207.4 kB / 476.3 MB, free: 97.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.9676, allocations: 59.19 kB / 476.3 MB, free: 96.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.9677, allocations: 127.6 kB / 476.4 MB, free: 96.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.9678, allocations: 25.7 kB / 476.5 MB, free: 96.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.9679, allocations: 256.6 kB / 476.7 MB, free: 96.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.968, allocations: 87.62 kB / 476.8 MB, free: 96.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.968, allocations: 0 / 476.8 MB, free: 96.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.9681, allocations: 326.4 kB / 477.1 MB, free: 96.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.9683, allocations: 68.3 kB / 477.2 MB, free: 96.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.9685, allocations: 153 kB / 477.3 MB, free: 96.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.9687, allocations: 97.2 kB / 477.4 MB, free: 96.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9688, allocations: 3.25 kB / 477.4 MB, free: 96.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006078/0.9694, allocations: 266.3 kB / 477.7 MB, free: 96.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9694, allocations: 3.562 kB / 477.7 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9694, allocations: 3.688 kB / 477.7 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.9695, allocations: 6.938 kB / 477.7 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.9705, allocations: 134.3 kB / 477.8 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.9716, allocations: 2.369 MB / 480.2 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.972, allocations: 31.22 kB / 480.2 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.9721, allocations: 22.34 kB / 480.3 MB, free: 93.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.9722, allocations: 112 kB / 480.4 MB, free: 93.64 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005011/0.9727, allocations: 203.5 kB / 480.6 MB, free: 93.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.9728, allocations: 11.75 kB / 480.6 MB, free: 93.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.9738, allocations: 337.6 kB / 480.9 MB, free: 93.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.9739, allocations: 7.641 kB / 480.9 MB, free: 93.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9739, allocations: 0 / 480.9 MB, free: 93.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9739, allocations: 0 / 480.9 MB, free: 93.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.9744, allocations: 275.5 kB / 481.2 MB, free: 93.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.9744, allocations: 0 / 481.2 MB, free: 93.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.9754, allocations: 115.8 kB / 481.3 MB, free: 93.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.9754, allocations: 3.906 kB / 481.3 MB, free: 93.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.9755, allocations: 7.766 kB / 481.3 MB, free: 93.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.9765, allocations: 2.36 MB / 483.7 MB, free: 91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9765, allocations: 0 / 483.7 MB, free: 91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.9771, allocations: 328.2 kB / 484 MB, free: 90.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.9772, allocations: 98.69 kB / 484.1 MB, free: 90.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.9773, allocations: 0 / 484.1 MB, free: 90.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.9775, allocations: 10.73 kB / 484.1 MB, free: 90.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9777, allocations: 23.84 kB / 484.1 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.9777, allocations: 9.469 kB / 484.1 MB, free: 90.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.9778, allocations: 96.39 kB / 484.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9778, allocations: 0 / 484.2 MB, free: 90.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001205/0.979, allocations: 256.4 kB / 484.5 MB, free: 90.54 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/0.981, allocations: 1.151 MB / 485.6 MB, free: 89.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.982, allocations: 236.6 kB / 485.9 MB, free: 89.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9821, allocations: 0 / 485.9 MB, free: 89.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.9827, allocations: 143.7 kB / 486 MB, free: 89.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.983, allocations: 12.66 kB / 486 MB, free: 89.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.9849, allocations: 0.5751 MB / 486.6 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.9853, allocations: 0.8157 MB / 487.4 MB, free: 88.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.9855, allocations: 93.16 kB / 487.5 MB, free: 88.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9855, allocations: 3.938 kB / 487.5 MB, free: 88.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.211/4.196, allocations: 11.29 MB / 498.8 MB, free: 81.91 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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat