Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.894/2.894, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.322e-05, allocations: 4 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4395, allocations: 61.86 MB / 408.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.6218, allocations: 91.1 MB / 0.4883 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/0.6222, allocations: 99.86 kB / 0.4884 GB, free: 15.4 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.6426, allocations: 3.557 MB / 0.4919 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6427, allocations: 0 / 0.4919 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.6427, allocations: 4 kB / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009102/0.6436, allocations: 406.1 kB / 0.4923 GB, free: 11.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.6437, allocations: 8.031 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.6438, allocations: 42.55 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005918/0.6444, allocations: 35.88 kB / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.6448, allocations: 186.9 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.6448, allocations: 11.98 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.6449, allocations: 15.94 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.6455, allocations: 161 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6455, allocations: 3.938 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.6456, allocations: 11.98 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.6456, allocations: 4 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.6461, allocations: 108 kB / 0.4929 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.6477, allocations: 0.6487 MB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.6483, allocations: 98.64 kB / 0.4936 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.6484, allocations: 28.81 kB / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.6484, allocations: 0 / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.6485, allocations: 42.55 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.786e-06/0.6485, allocations: 0 / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003701/0.6489, allocations: 85.72 kB / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.649, allocations: 55.39 kB / 0.4938 GB, free: 9.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6491, allocations: 113.2 kB / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.6492, allocations: 25.7 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.6494, allocations: 198.2 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.6494, allocations: 23.66 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.6494, allocations: 4 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6496, allocations: 318.8 kB / 0.4944 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.6497, allocations: 28 kB / 0.4945 GB, free: 8.941 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6499, allocations: 75.72 kB / 0.4945 GB, free: 8.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.6501, allocations: 35.97 kB / 0.4946 GB, free: 8.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6501, allocations: 7.875 kB / 0.4946 GB, free: 8.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004288/0.6506, allocations: 129.4 kB / 0.4947 GB, free: 8.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6506, allocations: 7.953 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6506, allocations: 8.25 kB / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.6507, allocations: 4 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.6511, allocations: 47.84 kB / 0.4948 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.6512, allocations: 4 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.6514, allocations: 19.92 kB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.6514, allocations: 4 kB / 0.4948 GB, free: 8.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.6516, allocations: 116.1 kB / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.6517, allocations: 7.906 kB / 0.4949 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.652, allocations: 106.2 kB / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6521, allocations: 4 kB / 0.495 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6521, allocations: 0 / 0.495 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6521, allocations: 0 / 0.495 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.6525, allocations: 197.5 kB / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6526, allocations: 0 / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.6529, allocations: 35.97 kB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.653, allocations: 0 / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.653, allocations: 0 / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.653, allocations: 3.953 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.653, allocations: 0 / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.6534, allocations: 183.5 kB / 0.4954 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.6535, allocations: 84.95 kB / 0.4955 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6535, allocations: 11.98 kB / 0.4955 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.6538, allocations: 4 kB / 0.4955 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.6539, allocations: 15.94 kB / 0.4955 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.6539, allocations: 0 / 0.4955 GB, free: 7.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.654, allocations: 91.28 kB / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6541, allocations: 0 / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000632/0.6547, allocations: 31.89 kB / 0.4956 GB, free: 7.598 MB / 426.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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009149/0.6556, allocations: 0.7528 MB / 0.4964 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.656, allocations: 68.31 kB / 0.4964 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.656, allocations: 0 / 0.4964 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6562, allocations: 36.42 kB / 0.4965 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.6565, allocations: 10.8 kB / 0.4965 GB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6576, allocations: 217 kB / 0.4967 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.658, allocations: 0.716 MB / 0.4974 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6582, allocations: 27.42 kB / 0.4974 GB, free: 5.688 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6582, allocations: 4 kB / 0.4974 GB, free: 5.684 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.433/3.091, allocations: 1.923 MB / 0.4993 GB, free: 3.773 MB / 426.7 MB