Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.909e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.5799, allocations: 77.43 MB / 399.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005215/0.5805, allocations: 99.17 kB / 399.4 MB, free: 12.39 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.0283/0.6088, allocations: 4.199 MB / 403.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6089, allocations: 0 / 403.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.6089, allocations: 4 kB / 403.6 MB, free: 8.199 MB / 330.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.0009426/0.6099, allocations: 441.9 kB / 404 MB, free: 7.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.6099, allocations: 8.031 kB / 404 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.6101, allocations: 50.55 kB / 404.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.612, allocations: 99.69 kB / 404.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.6125, allocations: 222.8 kB / 404.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.6126, allocations: 8 kB / 404.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.6127, allocations: 16 kB / 404.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.6136, allocations: 209.5 kB / 404.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6136, allocations: 0 / 404.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.6137, allocations: 4 kB / 404.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.6138, allocations: 15.98 kB / 404.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008544/0.6146, allocations: 203.6 kB / 404.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.6173, allocations: 0.7439 MB / 405.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.6177, allocations: 74.48 kB / 405.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.6178, allocations: 36.84 kB / 405.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.6179, allocations: 0 / 405.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.618, allocations: 34.56 kB / 405.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.306e-06/0.618, allocations: 4 kB / 405.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006206/0.6186, allocations: 113.6 kB / 405.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.6187, allocations: 55.39 kB / 405.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.619, allocations: 170.4 kB / 406.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.6191, allocations: 33.64 kB / 406.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.6193, allocations: 198 kB / 406.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.6193, allocations: 27.56 kB / 406.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.6194, allocations: 8 kB / 406.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6196, allocations: 314.8 kB / 406.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.6198, allocations: 35.98 kB / 406.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.62, allocations: 90.83 kB / 406.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.6203, allocations: 51.91 kB / 406.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6203, allocations: 0 / 406.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006336/0.6209, allocations: 149.7 kB / 406.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.621, allocations: 8 kB / 406.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.621, allocations: 0 / 406.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.621, allocations: 4 kB / 407 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.6232, allocations: 111.8 kB / 407.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.6259, allocations: 1.817 MB / 408.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.6264, allocations: 27.89 kB / 408.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.6265, allocations: 8 kB / 408.9 MB, free: 2.504 MB / 330.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.0001504/0.6266, allocations: 112.9 kB / 409 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.6267, allocations: 15.77 kB / 409 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.6275, allocations: 159 kB / 409.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6276, allocations: 3.938 kB / 409.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6276, allocations: 0 / 409.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6276, allocations: 0 / 409.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.6282, allocations: 233.6 kB / 409.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.6283, allocations: 0 / 409.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.6301, allocations: 99.83 kB / 409.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.6301, allocations: 0 / 409.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.6302, allocations: 3.953 kB / 409.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.6325, allocations: 1.777 MB / 411.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6326, allocations: 0 / 411.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.6333, allocations: 219.5 kB / 411.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6334, allocations: 93 kB / 411.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.6335, allocations: 11.95 kB / 411.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.634, allocations: 8 kB / 411.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6341, allocations: 7.984 kB / 411.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.6341, allocations: 4 kB / 411.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002462/0.6344, allocations: 136.9 kB / 411.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6344, allocations: 0 / 411.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009244/0.6354, allocations: 55.83 kB / 411.8 MB, free: 15.42 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 () * 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.001196/0.6366, allocations: 0.7786 MB / 412.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.6389, allocations: 168.2 kB / 412.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.6389, allocations: 0 / 412.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.6404, allocations: 93.22 kB / 412.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.6412, allocations: 40.34 kB / 412.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.6428, allocations: 302.7 kB / 413.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.6436, allocations: 0.7513 MB / 413.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6439, allocations: 43.42 kB / 414 MB, free: 13.17 MB / 346.7 MB Notification: Performance of SimCode: time 3.727e-06/0.6439, allocations: 0 / 414 MB, free: 13.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.449, allocations: 5.259 MB / 419.3 MB, free: 7.914 MB / 346.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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat