Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.591e-05, allocations: 7.984 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 61.87 MB / 409 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.5953, allocations: 93.91 MB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/0.5958, allocations: 99.94 kB / 0.4912 GB, free: 12.51 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5297:11-5298:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5301:11-5313:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5315:11-5316:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.044/0.6398, allocations: 9.126 MB / 0.5001 GB, free: 3.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6398, allocations: 8 kB / 0.5001 GB, free: 3.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.6399, allocations: 0 / 0.5001 GB, free: 3.242 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009652/0.6408, allocations: 0.5218 MB / 0.5006 GB, free: 2.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6409, allocations: 8.031 kB / 0.5006 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.6411, allocations: 74.53 kB / 0.5007 GB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.6412, allocations: 35.56 kB / 0.5007 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.6416, allocations: 234.6 kB / 0.5009 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.6416, allocations: 32.73 kB / 0.501 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.6417, allocations: 35.98 kB / 0.501 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.6427, allocations: 453.2 kB / 0.5014 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6427, allocations: 0 / 0.5014 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.6428, allocations: 19.98 kB / 0.5015 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.6429, allocations: 24.77 kB / 0.5015 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.6437, allocations: 385.4 kB / 0.5018 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.6461, allocations: 1.215 MB / 0.503 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.6463, allocations: 62.52 kB / 0.5031 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.6464, allocations: 36.84 kB / 0.5031 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.6465, allocations: 7.938 kB / 0.5031 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6465, allocations: 30.56 kB / 0.5032 GB, free: 15.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.6465, allocations: 0 / 0.5032 GB, free: 15.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003476/0.6469, allocations: 89.56 kB / 0.5032 GB, free: 15.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.6469, allocations: 55.41 kB / 0.5033 GB, free: 15.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.6471, allocations: 148.2 kB / 0.5034 GB, free: 15.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6472, allocations: 25.7 kB / 0.5035 GB, free: 15.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.6474, allocations: 301.7 kB / 0.5038 GB, free: 15.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.6474, allocations: 27.64 kB / 0.5038 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.6475, allocations: 4 kB / 0.5038 GB, free: 15.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6476, allocations: 322.8 kB / 0.5041 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6477, allocations: 35.98 kB / 0.5041 GB, free: 14.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.648, allocations: 157.1 kB / 0.5043 GB, free: 14.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.6482, allocations: 71.89 kB / 0.5043 GB, free: 14.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.6482, allocations: 4 kB / 0.5044 GB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005453/0.6487, allocations: 205.6 kB / 0.5045 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.6488, allocations: 9.562 kB / 0.5046 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6488, allocations: 7.938 kB / 0.5046 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6488, allocations: 4 kB / 0.5046 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.6495, allocations: 91.88 kB / 0.5047 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.6507, allocations: 1.782 MB / 0.5064 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.651, allocations: 23.83 kB / 0.5064 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.651, allocations: 16 kB / 0.5064 GB, free: 12.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001443/0.6512, allocations: 128 kB / 0.5066 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.6513, allocations: 11.86 kB / 0.5066 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.652, allocations: 181.9 kB / 0.5067 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.652, allocations: 0 / 0.5067 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.652, allocations: 4 kB / 0.5067 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6521, allocations: 3.984 kB / 0.5067 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.6526, allocations: 289.5 kB / 0.507 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6526, allocations: 0 / 0.507 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.653, allocations: 67.84 kB / 0.5071 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6531, allocations: 0 / 0.5071 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6531, allocations: 7.984 kB / 0.5071 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.6542, allocations: 1.766 MB / 0.5088 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6542, allocations: 4.094 kB / 0.5088 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.6545, allocations: 195.4 kB / 0.509 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.6546, allocations: 84.97 kB / 0.5091 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.6547, allocations: 4 kB / 0.5091 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.6548, allocations: 15.92 kB / 0.5091 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.6549, allocations: 4 kB / 0.5091 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.6549, allocations: 11.98 kB / 0.5091 GB, free: 9.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.6551, allocations: 111.3 kB / 0.5092 GB, free: 9.309 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6551, allocations: 0 / 0.5092 GB, free: 9.309 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.6558, allocations: 107.5 kB / 0.5093 GB, free: 9.203 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 (7): * Single equations (assignments): 4 * 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.0009895/0.6568, allocations: 0.8207 MB / 0.5101 GB, free: 8.363 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.6575, allocations: 136.9 kB / 0.5103 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6575, allocations: 4 kB / 0.5103 GB, free: 8.227 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.6579, allocations: 63.97 kB / 0.5103 GB, free: 8.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.6581, allocations: 13.73 kB / 0.5103 GB, free: 8.152 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.6594, allocations: 419.7 kB / 0.5107 GB, free: 7.699 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.66, allocations: 0.8024 MB / 0.5115 GB, free: 6.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6602, allocations: 75.41 kB / 0.5116 GB, free: 6.797 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6602, allocations: 0 / 0.5116 GB, free: 6.797 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/3.721, allocations: 8.159 MB / 0.5196 GB, free: 14.66 MB / 458.7 MB