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 1.911/1.911, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.366e-05, allocations: 5.406 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5717, allocations: 77.91 MB / 399.8 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.5721, allocations: 95.92 kB / 399.9 MB, free: 11.91 MB / 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.03046/0.6026, allocations: 5.978 MB / 405.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6026, allocations: 0 / 405.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.6027, allocations: 4 kB / 405.9 MB, free: 5.906 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007665/0.6034, allocations: 441.9 kB / 406.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.6035, allocations: 8.031 kB / 406.3 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.6036, allocations: 54.53 kB / 406.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.6044, allocations: 75.72 kB / 406.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.6048, allocations: 218.9 kB / 406.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6048, allocations: 8 kB / 406.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.6049, allocations: 16 kB / 406.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.6055, allocations: 261.3 kB / 406.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.6056, allocations: 3.938 kB / 406.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.6056, allocations: 11.98 kB / 406.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.6057, allocations: 12 kB / 407 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.6064, allocations: 231.8 kB / 407.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.6084, allocations: 0.8026 MB / 408 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.609, allocations: 166.4 kB / 408.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.6092, allocations: 61.08 kB / 408.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.6093, allocations: 15.95 kB / 408.2 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.6093, allocations: 30.56 kB / 408.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.6093, allocations: 3.938 kB / 408.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006312/0.6099, allocations: 161.4 kB / 408.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.61, allocations: 55.34 kB / 408.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.6103, allocations: 174.4 kB / 408.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.6104, allocations: 25.7 kB / 408.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.6105, allocations: 202 kB / 408.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.6106, allocations: 35.48 kB / 408.9 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.6106, allocations: 0 / 408.9 MB, free: 2.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6108, allocations: 322.8 kB / 409.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.611, allocations: 51.95 kB / 409.3 MB, free: 2.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6112, allocations: 106.8 kB / 409.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.6115, allocations: 75.86 kB / 409.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6115, allocations: 4 kB / 409.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006522/0.6121, allocations: 209.3 kB / 409.6 MB, free: 1.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6122, allocations: 4 kB / 409.7 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6122, allocations: 4 kB / 409.7 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6122, allocations: 0 / 409.7 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.613, allocations: 88.06 kB / 409.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.6145, allocations: 1.785 MB / 411.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.6149, allocations: 27.92 kB / 411.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.6149, allocations: 15.98 kB / 411.6 MB, free: 15.84 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 () * 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.0001412/0.6151, allocations: 112.9 kB / 411.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.6152, allocations: 19.94 kB / 411.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6163, allocations: 258.8 kB / 412 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6163, allocations: 0 / 412 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6163, allocations: 0 / 412 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6164, allocations: 4 kB / 412 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.6168, allocations: 241.4 kB / 412.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.6168, allocations: 7.984 kB / 412.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.6174, allocations: 55.89 kB / 412.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.6174, allocations: 7.953 kB / 412.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6174, allocations: 4 kB / 412.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.6188, allocations: 1.781 MB / 414 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6188, allocations: 0 / 414 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.6193, allocations: 227.8 kB / 414.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6194, allocations: 104.8 kB / 414.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.6195, allocations: 0 / 414.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.6197, allocations: 15.98 kB / 414.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.6198, allocations: 7.984 kB / 414.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6199, allocations: 4 kB / 414.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.6201, allocations: 139.2 kB / 414.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6201, allocations: 0 / 414.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005407/0.6206, allocations: 71.83 kB / 414.6 MB, free: 12.64 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 (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.000991/0.6216, allocations: 0.8147 MB / 415.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007798/0.6224, allocations: 155.8 kB / 415.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6225, allocations: 3.938 kB / 415.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.6229, allocations: 71.95 kB / 415.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.6232, allocations: 12.19 kB / 415.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6244, allocations: 343.6 kB / 416 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.6249, allocations: 0.7514 MB / 416.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6251, allocations: 55.41 kB / 416.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6251, allocations: 0 / 416.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/3.467, allocations: 5.739 MB / 422.5 MB, free: 4.629 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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat