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.324/2.324, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004348, allocations: 8 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3342, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4845, allocations: 84.44 MB / 453.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.485, allocations: 99.92 kB / 453.9 MB, free: 5.949 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.02976/0.5147, allocations: 6.013 MB / 459.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5148, allocations: 0 / 459.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.5148, allocations: 4 kB / 459.9 MB, free: 15.9 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007455/0.5156, allocations: 450.8 kB / 460.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5156, allocations: 12.03 kB / 460.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.685e-05/0.5157, allocations: 58.44 kB / 460.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007408/0.5165, allocations: 75.72 kB / 460.5 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.5168, allocations: 214.8 kB / 460.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.5169, allocations: 19.94 kB / 460.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.5169, allocations: 19.98 kB / 460.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.5177, allocations: 277.4 kB / 461 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5178, allocations: 4 kB / 461 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.5178, allocations: 4 kB / 461 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.5179, allocations: 15.95 kB / 461.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.5187, allocations: 283.7 kB / 461.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.5207, allocations: 0.7987 MB / 462.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.5213, allocations: 182.3 kB / 462.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.5214, allocations: 0 / 462.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5215, allocations: 42.88 kB / 462.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.5215, allocations: 0 / 462.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001119/0.5226, allocations: 261.3 kB / 462.6 MB, free: 13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5227, allocations: 59.34 kB / 462.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.5229, allocations: 170.4 kB / 462.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.523, allocations: 29.7 kB / 462.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5231, allocations: 201.8 kB / 463.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.5232, allocations: 35.45 kB / 463.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.5232, allocations: 8 kB / 463.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5233, allocations: 318.8 kB / 463.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.5237, allocations: 75.92 kB / 463.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.524, allocations: 124.8 kB / 463.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.5244, allocations: 93.08 kB / 463.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5244, allocations: 4 kB / 463.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008657/0.5253, allocations: 253.1 kB / 464 MB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5253, allocations: 4 kB / 464 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5253, allocations: 4 kB / 464 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5254, allocations: 4.219 kB / 464 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.5261, allocations: 83.91 kB / 464.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.5274, allocations: 1.785 MB / 465.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.5278, allocations: 27.86 kB / 465.9 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5278, allocations: 11.98 kB / 465.9 MB, free: 9.602 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 () * Number of clocked 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.0002189/0.5281, allocations: 149.7 kB / 466 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.5281, allocations: 15.75 kB / 466 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.5295, allocations: 294.8 kB / 466.3 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.5295, allocations: 4 kB / 466.3 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5295, allocations: 0 / 466.3 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.5296, allocations: 0 / 466.3 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.5299, allocations: 237.5 kB / 466.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.53, allocations: 0 / 466.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.5305, allocations: 63.94 kB / 466.6 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.5305, allocations: 0 / 466.6 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5306, allocations: 11.94 kB / 466.6 MB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.5318, allocations: 1.781 MB / 468.4 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5318, allocations: 0 / 468.4 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.5325, allocations: 271.5 kB / 468.7 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.5326, allocations: 96.91 kB / 468.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.5326, allocations: 0 / 468.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5329, allocations: 15.98 kB / 468.8 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.533, allocations: 7.984 kB / 468.8 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.533, allocations: 4 kB / 468.8 MB, free: 6.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.5332, allocations: 155.2 kB / 469 MB, free: 6.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5332, allocations: 0 / 469 MB, free: 6.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.5338, allocations: 63.94 kB / 469 MB, free: 6.281 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 () * Number of clocked 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.001188/0.535, allocations: 0.8619 MB / 469.9 MB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.536, allocations: 187.8 kB / 470.1 MB, free: 5.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.536, allocations: 4 kB / 470.1 MB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.5365, allocations: 92.23 kB / 470.2 MB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.5368, allocations: 16.17 kB / 470.2 MB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.5403, allocations: 2.256 MB / 472.4 MB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5407, allocations: 0.7475 MB / 473.2 MB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.5409, allocations: 55.41 kB / 473.2 MB, free: 1.934 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5409, allocations: 0 / 473.2 MB, free: 1.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.007/3.548, allocations: 5.718 MB / 478.9 MB, free: 98.61 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