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.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.753/2.753, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.659e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4557, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.6457, allocations: 83.21 MB / 441.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004871/0.6463, allocations: 107.9 kB / 441.5 MB, free: 11.42 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02581/0.6721, allocations: 4.152 MB / 445.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.6722, allocations: 3.938 kB / 445.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.6722, allocations: 0 / 445.6 MB, free: 7.258 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009131/0.6731, allocations: 446 kB / 446.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.6732, allocations: 12.03 kB / 446.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.6748, allocations: 99.64 kB / 446.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.6753, allocations: 214.8 kB / 446.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6753, allocations: 8 kB / 446.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.6754, allocations: 8 kB / 446.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007401/0.6762, allocations: 195.9 kB / 446.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.6768, allocations: 193.3 kB / 446.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6769, allocations: 0 / 446.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.6769, allocations: 7.938 kB / 446.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.677, allocations: 15.94 kB / 446.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.6791, allocations: 0.6862 MB / 447.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.6794, allocations: 70.53 kB / 447.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.6796, allocations: 28.84 kB / 447.6 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.6796, allocations: 12.14 kB / 447.6 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.6797, allocations: 38.55 kB / 447.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.6797, allocations: 0 / 447.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004931/0.6802, allocations: 93.55 kB / 447.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6802, allocations: 59.34 kB / 447.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.6805, allocations: 121.2 kB / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.6805, allocations: 25.7 kB / 447.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.6807, allocations: 214.2 kB / 448.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.6808, allocations: 23.66 kB / 448.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.6808, allocations: 0 / 448.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.681, allocations: 318.8 kB / 448.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6812, allocations: 35.97 kB / 448.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6814, allocations: 78.84 kB / 448.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.6816, allocations: 59.97 kB / 448.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6817, allocations: 0 / 448.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000544/0.6822, allocations: 141.5 kB / 448.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.6823, allocations: 8 kB / 448.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6823, allocations: 0 / 448.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.6823, allocations: 4 kB / 448.8 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.684, allocations: 103.9 kB / 448.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6861, allocations: 1.828 MB / 450.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.6864, allocations: 19.92 kB / 450.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.6864, allocations: 4 kB / 450.7 MB, free: 1.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.6866, allocations: 118.9 kB / 450.8 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003061/0.6869, allocations: 101.5 kB / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.687, allocations: 11.89 kB / 451 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.6875, allocations: 142.2 kB / 451.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6875, allocations: 3.938 kB / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6875, allocations: 0 / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6875, allocations: 0 / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.6879, allocations: 198.1 kB / 451.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6879, allocations: 4 kB / 451.3 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.6892, allocations: 89.02 kB / 451.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6893, allocations: 0 / 451.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.6893, allocations: 4 kB / 451.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.6908, allocations: 1.781 MB / 453.2 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6909, allocations: 0 / 453.2 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.6912, allocations: 211.6 kB / 453.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.6913, allocations: 88.92 kB / 453.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.6914, allocations: 0 / 453.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.6916, allocations: 15.97 kB / 453.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.6917, allocations: 11.92 kB / 453.5 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.6917, allocations: 4 kB / 453.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.6918, allocations: 104.5 kB / 453.6 MB, free: 14.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6919, allocations: 0 / 453.6 MB, free: 14.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004861/0.6924, allocations: 47.84 kB / 453.6 MB, free: 14.73 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 (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008487/0.6932, allocations: 0.7699 MB / 454.4 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.6949, allocations: 164.1 kB / 454.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6949, allocations: 0 / 454.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.6959, allocations: 83.84 kB / 454.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.6963, allocations: 19.98 kB / 454.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6973, allocations: 288 kB / 455 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.6978, allocations: 0.7431 MB / 455.7 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.6979, allocations: 39.42 kB / 455.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6979, allocations: 4 kB / 455.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.628, allocations: 4.884 MB / 460.6 MB, free: 7.668 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.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat