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_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.4e-05, allocations: 4 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 54.85 MB / 364.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.5731, allocations: 84.35 MB / 449 MB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.5736, allocations: 95.94 kB / 449.1 MB, free: 12.02 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03038/0.6039, allocations: 6.013 MB / 455.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.604, allocations: 1.406 kB / 455.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.604, allocations: 8 kB / 455.1 MB, free: 6.004 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007528/0.6048, allocations: 441.9 kB / 455.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.6048, allocations: 12.03 kB / 455.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.6049, allocations: 50.55 kB / 455.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.6057, allocations: 79.72 kB / 455.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.6061, allocations: 210.9 kB / 455.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.6061, allocations: 16 kB / 455.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.6062, allocations: 15.94 kB / 455.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.6068, allocations: 261.4 kB / 456.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6069, allocations: 0 / 456.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.6069, allocations: 9.359 kB / 456.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.607, allocations: 20 kB / 456.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.6076, allocations: 239.8 kB / 456.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.6097, allocations: 0.8 MB / 457.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.6102, allocations: 166.4 kB / 457.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.6104, allocations: 61.12 kB / 457.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.6105, allocations: 3.938 kB / 457.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6105, allocations: 34.5 kB / 457.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.386e-06/0.6105, allocations: 0 / 457.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006198/0.6112, allocations: 169.3 kB / 457.7 MB, free: 3.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.6112, allocations: 55.41 kB / 457.7 MB, free: 3.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6115, allocations: 170.4 kB / 457.9 MB, free: 2.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.6115, allocations: 33.7 kB / 457.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.6117, allocations: 198 kB / 458.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.6117, allocations: 39.48 kB / 458.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.6118, allocations: 0 / 458.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6119, allocations: 322.8 kB / 458.5 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.6121, allocations: 55.95 kB / 458.5 MB, free: 2.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.6123, allocations: 113.1 kB / 458.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.6126, allocations: 79.86 kB / 458.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6126, allocations: 0 / 458.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006389/0.6133, allocations: 209.3 kB / 458.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6133, allocations: 4 kB / 458.9 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6133, allocations: 7.984 kB / 458.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6134, allocations: 3.938 kB / 458.9 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.6142, allocations: 84.08 kB / 459 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.6156, allocations: 1.785 MB / 460.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.6161, allocations: 27.77 kB / 460.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.6161, allocations: 11.98 kB / 460.8 MB, free: 15.93 MB / 394.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 (17): * Single equations (assignments): 14 * 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.0001406/0.6163, allocations: 121 kB / 461 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.6163, allocations: 11.91 kB / 461 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.6175, allocations: 258.8 kB / 461.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6175, allocations: 0 / 461.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6175, allocations: 4 kB / 461.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6176, allocations: 3.938 kB / 461.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.618, allocations: 241.4 kB / 461.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.618, allocations: 4 kB / 461.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.6186, allocations: 55.89 kB / 461.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.6186, allocations: 4 kB / 461.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.6186, allocations: 4 kB / 461.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6198, allocations: 1.781 MB / 463.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6199, allocations: 0 / 463.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.6203, allocations: 227.7 kB / 463.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.6204, allocations: 100.8 kB / 463.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.6205, allocations: 0 / 463.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.6208, allocations: 19.97 kB / 463.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.6209, allocations: 7.984 kB / 463.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.6209, allocations: 4 kB / 463.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002068/0.6211, allocations: 143.2 kB / 463.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6211, allocations: 7.938 kB / 463.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005198/0.6217, allocations: 71.83 kB / 463.9 MB, free: 12.71 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 (13): * Single equations (assignments): 10 * 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.0009593/0.6226, allocations: 0.809 MB / 464.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.6234, allocations: 167.8 kB / 464.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6234, allocations: 0 / 464.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.6239, allocations: 76.64 kB / 464.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6242, allocations: 12.12 kB / 464.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.6254, allocations: 343.7 kB / 465.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.6258, allocations: 0.7513 MB / 466 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.626, allocations: 59.39 kB / 466.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.626, allocations: 0 / 466.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.588, allocations: 5.734 MB / 471.8 MB, free: 4.691 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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat