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/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_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.371/2.371, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.000645, allocations: 12 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3448, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.4961, allocations: 83.97 MB / 453.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004096/0.4965, allocations: 95.94 kB / 453.4 MB, free: 6.422 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.0207/0.5173, allocations: 4.214 MB / 457.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5173, allocations: 0 / 457.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5173, allocations: 4 kB / 457.7 MB, free: 2.195 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.0007886/0.5181, allocations: 442.9 kB / 458.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.5182, allocations: 12.03 kB / 458.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.977e-05/0.5183, allocations: 50.55 kB / 458.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5194, allocations: 107.6 kB / 458.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.5198, allocations: 214.8 kB / 458.5 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5198, allocations: 8 kB / 458.5 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.5199, allocations: 15.98 kB / 458.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.5206, allocations: 233.3 kB / 458.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5206, allocations: 3.938 kB / 458.7 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.5207, allocations: 7.938 kB / 458.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.5207, allocations: 23.94 kB / 458.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.5215, allocations: 231.8 kB / 459 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.5232, allocations: 0.7478 MB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.5236, allocations: 90.52 kB / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.5236, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5236, allocations: 30.56 kB / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.296e-06/0.5237, allocations: 0 / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008514/0.5245, allocations: 185.4 kB / 460 MB, free: 15.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5246, allocations: 55.39 kB / 460.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.5249, allocations: 174.5 kB / 460.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.5249, allocations: 25.7 kB / 460.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5251, allocations: 202.1 kB / 460.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.5251, allocations: 27.64 kB / 460.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.5251, allocations: 0 / 460.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5253, allocations: 326.8 kB / 460.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.5255, allocations: 43.95 kB / 460.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.5259, allocations: 114.8 kB / 461 MB, free: 14.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.5261, allocations: 59.95 kB / 461 MB, free: 14.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5262, allocations: 0 / 461 MB, free: 14.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006613/0.5268, allocations: 193.3 kB / 461.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5269, allocations: 8 kB / 461.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5269, allocations: 3.984 kB / 461.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5269, allocations: 4 kB / 461.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.5285, allocations: 108.1 kB / 461.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.5304, allocations: 1.817 MB / 463.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.5307, allocations: 23.86 kB / 463.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.5308, allocations: 8 kB / 463.2 MB, free: 12.3 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 (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.0002093/0.531, allocations: 149.9 kB / 463.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.5311, allocations: 7.906 kB / 463.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000763/0.5318, allocations: 202.6 kB / 463.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5319, allocations: 7.969 kB / 463.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5319, allocations: 0 / 463.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5319, allocations: 4 kB / 463.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.5323, allocations: 225.5 kB / 463.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5323, allocations: 0 / 463.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5337, allocations: 101 kB / 463.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.5337, allocations: 0 / 463.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.5337, allocations: 4 kB / 463.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.5352, allocations: 1.774 MB / 465.7 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.5352, allocations: 3.984 kB / 465.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.5359, allocations: 259.4 kB / 465.9 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.536, allocations: 92.86 kB / 466 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.5361, allocations: 3.984 kB / 466 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.5363, allocations: 12 kB / 466 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.5364, allocations: 15.98 kB / 466 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.5364, allocations: 4 kB / 466 MB, free: 9.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.5367, allocations: 139.9 kB / 466.2 MB, free: 9.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5367, allocations: 0 / 466.2 MB, free: 9.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.5372, allocations: 47.91 kB / 466.2 MB, free: 9.098 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 (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.001157/0.5383, allocations: 0.8137 MB / 467 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.5403, allocations: 195.8 kB / 467.2 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5404, allocations: 4.312 kB / 467.2 MB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.5416, allocations: 111.8 kB / 467.3 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.5422, allocations: 44.39 kB / 467.4 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.5454, allocations: 2.121 MB / 469.5 MB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.5458, allocations: 0.7358 MB / 470.2 MB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.546, allocations: 43.42 kB / 470.3 MB, free: 4.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.546, allocations: 0 / 470.3 MB, free: 4.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.075/3.621, allocations: 5.264 MB / 475.5 MB, free: 99.13 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