Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 12 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 48.7 MB / 331.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4814, allocations: 78.02 MB / 409.4 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/0.4819, allocations: 91.94 kB / 409.5 MB, free: 312 kB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.03043/0.5123, allocations: 6.013 MB / 415.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.641e-06/0.5124, allocations: 0 / 415.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.5124, allocations: 7.938 kB / 415.5 MB, free: 10.26 MB / 346.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.0008301/0.5132, allocations: 458.6 kB / 416 MB, free: 9.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5133, allocations: 8.031 kB / 416 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.858e-05/0.5134, allocations: 54.55 kB / 416 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.5142, allocations: 71.73 kB / 416.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.5146, allocations: 226.7 kB / 416.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5146, allocations: 12 kB / 416.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.5147, allocations: 12 kB / 416.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.5155, allocations: 277.4 kB / 416.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5156, allocations: 0 / 416.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.5156, allocations: 15.92 kB / 416.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.5157, allocations: 23.97 kB / 416.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.5165, allocations: 271.8 kB / 416.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.5186, allocations: 0.8025 MB / 417.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.5193, allocations: 186.3 kB / 417.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.5194, allocations: 7.953 kB / 417.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5194, allocations: 30.56 kB / 417.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.5194, allocations: 0 / 417.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001135/0.5206, allocations: 269.6 kB / 418.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5206, allocations: 51.41 kB / 418.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.5209, allocations: 174.4 kB / 418.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.521, allocations: 29.7 kB / 418.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5211, allocations: 198 kB / 418.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.5212, allocations: 39.53 kB / 418.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.5212, allocations: 4 kB / 418.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5214, allocations: 318.8 kB / 419 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.5217, allocations: 75.91 kB / 419.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.522, allocations: 130.2 kB / 419.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.5224, allocations: 92.77 kB / 419.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5225, allocations: 0 / 419.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009312/0.5234, allocations: 253.6 kB / 419.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.5234, allocations: 11.95 kB / 419.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.5235, allocations: 3.984 kB / 419.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5235, allocations: 4 kB / 419.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.5243, allocations: 71.92 kB / 419.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.5255, allocations: 1.797 MB / 421.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.5259, allocations: 19.84 kB / 421.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.526, allocations: 20.22 kB / 421.5 MB, free: 3.953 MB / 346.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.0002135/0.5262, allocations: 145.8 kB / 421.6 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.5263, allocations: 11.81 kB / 421.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.5277, allocations: 290.6 kB / 421.9 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5277, allocations: 4 kB / 421.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5277, allocations: 0 / 421.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5277, allocations: 3.984 kB / 421.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.5282, allocations: 245.4 kB / 422.1 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5282, allocations: 7.938 kB / 422.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.5287, allocations: 51.95 kB / 422.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.5288, allocations: 4 kB / 422.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.5288, allocations: 11.94 kB / 422.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.5301, allocations: 1.778 MB / 424 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5301, allocations: 3.938 kB / 424 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.5308, allocations: 271.6 kB / 424.3 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.5309, allocations: 92.91 kB / 424.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.531, allocations: 3.953 kB / 424.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.5313, allocations: 16 kB / 424.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5314, allocations: 7.984 kB / 424.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5314, allocations: 7.984 kB / 424.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.5316, allocations: 147.2 kB / 424.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5316, allocations: 0 / 424.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.5322, allocations: 63.83 kB / 424.6 MB, free: 0.6484 MB / 346.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.001337/0.5335, allocations: 0.8566 MB / 425.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.5345, allocations: 187.7 kB / 425.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5346, allocations: 448 / 425.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.5352, allocations: 92.3 kB / 425.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5355, allocations: 12.14 kB / 425.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.5391, allocations: 2.257 MB / 428 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.5396, allocations: 0.7475 MB / 428.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.5398, allocations: 59.39 kB / 428.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5398, allocations: 0 / 428.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.927/3.466, allocations: 5.732 MB / 434.5 MB, free: 6.574 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat