Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.233/3.233, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.546e-05, allocations: 0 / 299.6 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4487, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.6633, allocations: 84.36 MB / 438.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004348/0.6638, allocations: 99.88 kB / 438.9 MB, free: 10.61 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5984:11-5987: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.0206/0.6844, allocations: 3.379 MB / 442.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6845, allocations: 3.938 kB / 442.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.6845, allocations: 8 kB / 442.3 MB, free: 7.199 MB / 378.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.0008036/0.6853, allocations: 394.2 kB / 442.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.6854, allocations: 12.03 kB / 442.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.647e-05/0.6855, allocations: 42.55 kB / 442.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.686, allocations: 43.81 kB / 442.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.6863, allocations: 182.9 kB / 442.9 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.6864, allocations: 4 kB / 442.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.6864, allocations: 4 kB / 443 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003779/0.6868, allocations: 95.95 kB / 443 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.6873, allocations: 148 kB / 443.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6873, allocations: 3.938 kB / 443.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.6873, allocations: 3.953 kB / 443.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.6874, allocations: 15.98 kB / 443.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.6889, allocations: 0.6061 MB / 443.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.6894, allocations: 94.7 kB / 443.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.6895, allocations: 32.78 kB / 443.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.6896, allocations: 4.141 kB / 443.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6896, allocations: 31.5 kB / 444 MB, free: 5.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.005e-06/0.6896, allocations: 0 / 444 MB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003375/0.69, allocations: 85.5 kB / 444.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.69, allocations: 51.41 kB / 444.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.6902, allocations: 113.2 kB / 444.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.6902, allocations: 29.7 kB / 444.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.6904, allocations: 115.9 kB / 444.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.6904, allocations: 27.59 kB / 444.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.6904, allocations: 0 / 444.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6906, allocations: 322.8 kB / 444.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.6907, allocations: 23.98 kB / 444.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.6909, allocations: 81.62 kB / 444.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.691, allocations: 35.92 kB / 444.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6911, allocations: 4 kB / 444.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003777/0.6914, allocations: 117.4 kB / 445 MB, free: 4.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6915, allocations: 4 kB / 445 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6915, allocations: 4 kB / 445 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6915, allocations: 0 / 445 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.692, allocations: 52.16 kB / 445 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.692, allocations: 0 / 445 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.6923, allocations: 23.88 kB / 445 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.6923, allocations: 4 kB / 445.1 MB, free: 4.16 MB / 378.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.0001201/0.6924, allocations: 122.9 kB / 445.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.6925, allocations: 0 / 445.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.6928, allocations: 98.25 kB / 445.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.6929, allocations: 0 / 445.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6929, allocations: 4 kB / 445.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6929, allocations: 0 / 445.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.6932, allocations: 170.1 kB / 445.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6933, allocations: 0 / 445.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.6936, allocations: 31.92 kB / 445.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.6936, allocations: 8 kB / 445.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.6937, allocations: 0 / 445.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6937, allocations: 4 kB / 445.5 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.6937, allocations: 3.984 kB / 445.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.694, allocations: 183.4 kB / 445.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.6941, allocations: 77.11 kB / 445.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.6941, allocations: 0 / 445.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6944, allocations: 11.98 kB / 445.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.6945, allocations: 11.94 kB / 445.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6945, allocations: 0 / 445.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.6946, allocations: 91.77 kB / 445.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.636e-06/0.6946, allocations: 0 / 445.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.6951, allocations: 35.78 kB / 445.9 MB, free: 3.246 MB / 378.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.0007732/0.6959, allocations: 0.7396 MB / 446.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6962, allocations: 63.91 kB / 446.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6962, allocations: 0 / 446.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6963, allocations: 31.94 kB / 446.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6966, allocations: 0 / 446.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.6974, allocations: 178.5 kB / 446.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6979, allocations: 0.7202 MB / 447.6 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.6981, allocations: 24.52 kB / 447.6 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6983, allocations: 35.42 kB / 447.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6983, allocations: 4 kB / 447.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08328/0.7816, allocations: 1.839 MB / 449.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000351/0.782, allocations: 203 kB / 449.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.988/3.771, allocations: 5.062 kB / 449.7 MB, free: 15.3 MB / 394.7 MB "" Variables in the reference:time,MIN,A_cross,roughness,d_hyd,K[1],L,eta,rho,input_mdot[1],input_dp[1],M_FLOW[1],DP[1],velocity[1],Re[1],DP_plot[1],zeta_TOT[1],lambda_FRI[1],input_DP.y Variables in the result:A_cross,DP[1],DP_plot[1],K[1],L,MIN,M_FLOW[1],Re[1],_D_cse1,d_hyd,dp_IN_con[1].L,dp_IN_con[1].d_hyd,dp_IN_var[1].eta,dp_IN_var[1].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_mdot[1],lambda_FRI[1],m_flow_IN_con[1].L,m_flow_IN_con[1].d_hyd,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,n,rho,roughness,time,velocity[1],zeta_TOT[1]