Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.99/2.99, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.444e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.408, allocations: 61.87 MB / 409 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.597, allocations: 103.6 MB / 0.5005 GB, free: 2.961 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.5974, allocations: 99.92 kB / 0.5006 GB, free: 2.863 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6010:11-6013:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6024:11-6027:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.09532/0.6927, allocations: 18.18 MB / 0.5183 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6928, allocations: 0 / 0.5183 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.6928, allocations: 4 kB / 0.5183 GB, free: 0.5586 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.3414/1.034, allocations: 0.6375 MB / 0.519 GB, free: 107.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.034, allocations: 12.59 kB / 0.519 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/1.035, allocations: 76.27 kB / 0.5191 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/1.035, allocations: 29.38 kB / 0.5191 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/1.035, allocations: 233.8 kB / 0.5193 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/1.035, allocations: 24.3 kB / 0.5193 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/1.035, allocations: 28.14 kB / 0.5194 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.037, allocations: 434.2 kB / 0.5198 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.037, allocations: 3.312 kB / 0.5198 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/1.037, allocations: 11.73 kB / 0.5198 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/1.037, allocations: 41.61 kB / 0.5198 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/1.038, allocations: 0.5153 MB / 0.5203 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/1.042, allocations: 1.343 MB / 0.5216 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/1.043, allocations: 266.7 kB / 0.5219 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/1.043, allocations: 84 kB / 0.522 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/1.043, allocations: 10.66 kB / 0.522 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.043, allocations: 36.38 kB / 0.522 GB, free: 106.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.607e-06/1.043, allocations: 1.312 kB / 0.522 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006977/1.044, allocations: 224.3 kB / 0.5222 GB, free: 106.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.044, allocations: 54.84 kB / 0.5223 GB, free: 106.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/1.044, allocations: 129.5 kB / 0.5224 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/1.044, allocations: 30.48 kB / 0.5224 GB, free: 106.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.044, allocations: 258.1 kB / 0.5227 GB, free: 106.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/1.044, allocations: 89.66 kB / 0.5228 GB, free: 106.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/1.044, allocations: 8.719 kB / 0.5228 GB, free: 106.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/1.045, allocations: 321.2 kB / 0.5231 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/1.045, allocations: 78.73 kB / 0.5232 GB, free: 105.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/1.045, allocations: 158.5 kB / 0.5233 GB, free: 105.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/1.045, allocations: 109 kB / 0.5234 GB, free: 105.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.045, allocations: 1.781 kB / 0.5234 GB, free: 105.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007962/1.046, allocations: 286.2 kB / 0.5237 GB, free: 105.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.046, allocations: 5.719 kB / 0.5237 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.046, allocations: 5.922 kB / 0.5237 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.046, allocations: 9.172 kB / 0.5237 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.047, allocations: 131.8 kB / 0.5238 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/1.049, allocations: 2.364 MB / 0.5261 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/1.049, allocations: 26.55 kB / 0.5262 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/1.049, allocations: 21.14 kB / 0.5262 GB, free: 103.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/1.049, allocations: 120 kB / 0.5263 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/1.05, allocations: 19.39 kB / 0.5263 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.051, allocations: 341.1 kB / 0.5266 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.051, allocations: 7.062 kB / 0.5267 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/1.051, allocations: 5.031 kB / 0.5267 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.051, allocations: 1.266 kB / 0.5267 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/1.052, allocations: 345.8 kB / 0.527 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.052, allocations: 0 / 0.527 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.053, allocations: 123.9 kB / 0.5271 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.053, allocations: 1.344 kB / 0.5271 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/1.053, allocations: 14.92 kB / 0.5271 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/1.054, allocations: 2.356 MB / 0.5294 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.054, allocations: 0 / 0.5294 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/1.055, allocations: 349.3 kB / 0.5298 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/1.055, allocations: 92.17 kB / 0.5298 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/1.055, allocations: 7.25 kB / 0.5299 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/1.055, allocations: 14.64 kB / 0.5299 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/1.055, allocations: 20.16 kB / 0.5299 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.055, allocations: 11.14 kB / 0.5299 GB, free: 100.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.443e-05/1.055, allocations: 102.9 kB / 0.53 GB, free: 100.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.055, allocations: 3.25 kB / 0.53 GB, free: 100.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001198/1.057, allocations: 262.4 kB / 0.5302 GB, free: 100.4 MB / 442.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/1.059, allocations: 1.173 MB / 0.5314 GB, free: 99.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/1.06, allocations: 254.3 kB / 0.5316 GB, free: 99.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.06, allocations: 0 / 0.5316 GB, free: 99.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005799/1.06, allocations: 157.7 kB / 0.5318 GB, free: 99.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/1.061, allocations: 3.688 kB / 0.5318 GB, free: 99.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/1.063, allocations: 0.605 MB / 0.5324 GB, free: 99.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/1.063, allocations: 0.8099 MB / 0.5332 GB, free: 98.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/1.063, allocations: 91.94 kB / 0.5333 GB, free: 98.75 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/1.063, allocations: 0 / 0.5333 GB, free: 98.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.109/4.173, allocations: 11.21 MB / 0.5442 GB, free: 95.66 MB / 442.7 MB