Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.614/2.614, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.219e-05, allocations: 0 / 347.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.461, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.682, allocations: 111.5 MB / 0.5083 GB, free: 10.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/0.6824, allocations: 95.94 kB / 0.5084 GB, free: 10.85 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4871:11-4872:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4893:11-4894:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4853:11-4869:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4875:11-4891:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.5031/1.186, allocations: 28.52 MB / 0.5362 GB, free: 107 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.186, allocations: 0 / 0.5362 GB, free: 107 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/1.186, allocations: 8 kB / 0.5362 GB, free: 107 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00216/1.188, allocations: 0.9002 MB / 0.5371 GB, free: 106 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.188, allocations: 8.031 kB / 0.5371 GB, free: 106 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/1.188, allocations: 147.9 kB / 0.5372 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/1.188, allocations: 75.06 kB / 0.5373 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/1.189, allocations: 350.1 kB / 0.5376 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/1.189, allocations: 61.98 kB / 0.5377 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/1.189, allocations: 72 kB / 0.5378 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/1.191, allocations: 1.143 MB / 0.5389 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.191, allocations: 4 kB / 0.5389 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.191, allocations: 35.98 kB / 0.5389 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/1.191, allocations: 73.95 kB / 0.539 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/1.195, allocations: 1.659 MB / 0.5406 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/1.201, allocations: 2.97 MB / 0.5435 GB, free: 99.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/1.202, allocations: 399.6 kB / 0.5439 GB, free: 98.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/1.202, allocations: 141.2 kB / 0.544 GB, free: 98.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/1.202, allocations: 4.281 kB / 0.544 GB, free: 98.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/1.202, allocations: 38.78 kB / 0.5441 GB, free: 98.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/1.202, allocations: 0 / 0.5441 GB, free: 98.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008205/1.203, allocations: 327.7 kB / 0.5444 GB, free: 98.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.203, allocations: 51.41 kB / 0.5444 GB, free: 98.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.203, allocations: 189.6 kB / 0.5446 GB, free: 98.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.203, allocations: 29.7 kB / 0.5446 GB, free: 98.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.203, allocations: 456.6 kB / 0.5451 GB, free: 97.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/1.204, allocations: 122.3 kB / 0.5452 GB, free: 97.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/1.204, allocations: 8 kB / 0.5452 GB, free: 97.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/1.204, allocations: 338.8 kB / 0.5455 GB, free: 97.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/1.204, allocations: 129.1 kB / 0.5457 GB, free: 96.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/1.204, allocations: 325.3 kB / 0.546 GB, free: 96.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/1.205, allocations: 184 kB / 0.5461 GB, free: 96.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.205, allocations: 4 kB / 0.5461 GB, free: 96.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001062/1.206, allocations: 0.4935 MB / 0.5466 GB, free: 95.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.206, allocations: 8 kB / 0.5466 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.206, allocations: 8 kB / 0.5466 GB, free: 95.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.206, allocations: 12 kB / 0.5467 GB, free: 95.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.207, allocations: 203.8 kB / 0.5468 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/1.209, allocations: 2.997 MB / 0.5498 GB, free: 92.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/1.209, allocations: 59.52 kB / 0.5498 GB, free: 92.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/1.209, allocations: 31.98 kB / 0.5499 GB, free: 92.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.209, allocations: 139 kB / 0.55 GB, free: 92.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/1.209, allocations: 27.77 kB / 0.55 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/1.211, allocations: 0.5385 MB / 0.5505 GB, free: 91.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.211, allocations: 4 kB / 0.5505 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.211, allocations: 4 kB / 0.5506 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.211, allocations: 0 / 0.5506 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.213, allocations: 1.154 MB / 0.5517 GB, free: 90.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.213, allocations: 4 kB / 0.5517 GB, free: 90.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.215, allocations: 175.8 kB / 0.5519 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.215, allocations: 4 kB / 0.5519 GB, free: 90.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/1.215, allocations: 19.98 kB / 0.5519 GB, free: 90.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/1.216, allocations: 2.954 MB / 0.5548 GB, free: 87.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.216, allocations: 7.969 kB / 0.5548 GB, free: 87.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/1.217, allocations: 0.5546 MB / 0.5553 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/1.217, allocations: 112.7 kB / 0.5554 GB, free: 86.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/1.217, allocations: 11.94 kB / 0.5554 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.217, allocations: 15.98 kB / 0.5554 GB, free: 86.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.217, allocations: 39.92 kB / 0.5555 GB, free: 86.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.217, allocations: 23.98 kB / 0.5555 GB, free: 86.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001176/1.218, allocations: 131.2 kB / 0.5556 GB, free: 86.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.218, allocations: 0 / 0.5556 GB, free: 86.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001487/1.219, allocations: 374.7 kB / 0.556 GB, free: 85.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/1.221, allocations: 1.955 MB / 0.5579 GB, free: 83.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/1.223, allocations: 411.4 kB / 0.5583 GB, free: 83.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.223, allocations: 1.75 kB / 0.5583 GB, free: 83.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/1.223, allocations: 220.2 kB / 0.5585 GB, free: 83.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/1.224, allocations: 21.06 kB / 0.5585 GB, free: 83.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/1.226, allocations: 1.121 MB / 0.5596 GB, free: 81.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/1.227, allocations: 0.9992 MB / 0.5606 GB, free: 80.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/1.227, allocations: 211.4 kB / 0.5608 GB, free: 80.76 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/1.227, allocations: 0 / 0.5608 GB, free: 80.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.301/4.528, allocations: 24.09 MB / 0.5843 GB, free: 56.65 MB / 442.7 MB