Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.919e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.375, allocations: 54.86 MB / 354.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.5531, allocations: 84.37 MB / 438.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.5535, allocations: 95.94 kB / 438.8 MB, free: 13.86 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.01554/0.5691, allocations: 3.375 MB / 442.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5691, allocations: 0 / 442.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5692, allocations: 4 kB / 442.2 MB, free: 10.46 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.0007031/0.5699, allocations: 402.1 kB / 442.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001198/0.57, allocations: 12.03 kB / 442.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.5704, allocations: 39.83 kB / 442.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.5707, allocations: 186.9 kB / 442.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5707, allocations: 4 kB / 442.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.5708, allocations: 4 kB / 442.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000305/0.5711, allocations: 91.95 kB / 442.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.5715, allocations: 151.9 kB / 443.1 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5715, allocations: 4 kB / 443.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.5715, allocations: 0 / 443.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.5716, allocations: 19.94 kB / 443.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.5728, allocations: 0.6061 MB / 443.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.5732, allocations: 86.7 kB / 443.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.5733, allocations: 32.86 kB / 443.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.5733, allocations: 0 / 443.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.5734, allocations: 38.48 kB / 443.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.5734, allocations: 0 / 443.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002693/0.5737, allocations: 73.53 kB / 443.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5737, allocations: 55.56 kB / 444 MB, free: 8.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5739, allocations: 109.2 kB / 444.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.5739, allocations: 29.7 kB / 444.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.574, allocations: 123.9 kB / 444.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5741, allocations: 23.66 kB / 444.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.5741, allocations: 0 / 444.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5743, allocations: 322.8 kB / 444.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.5743, allocations: 20 kB / 444.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.5745, allocations: 84.58 kB / 444.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.5746, allocations: 43.89 kB / 444.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5746, allocations: 0 / 444.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002926/0.5749, allocations: 121.4 kB / 444.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5749, allocations: 8 kB / 444.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.575, allocations: 0 / 444.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.575, allocations: 4 kB / 444.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.5753, allocations: 39.97 kB / 444.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5753, allocations: 8.25 kB / 444.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5755, allocations: 15.89 kB / 444.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5756, allocations: 8 kB / 444.9 MB, free: 7.469 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.0001015/0.5757, allocations: 112.8 kB / 445 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001894/0.5759, allocations: 77.67 kB / 445.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.5759, allocations: 7.906 kB / 445.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.5762, allocations: 98.44 kB / 445.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5762, allocations: 0 / 445.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5762, allocations: 0 / 445.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5762, allocations: 3.984 kB / 445.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.5765, allocations: 170.1 kB / 445.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.5765, allocations: 3.984 kB / 445.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.5768, allocations: 31.98 kB / 445.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5768, allocations: 0 / 445.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5768, allocations: 0 / 445.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5768, allocations: 4.078 kB / 445.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5768, allocations: 3.984 kB / 445.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.5771, allocations: 187.4 kB / 445.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.5772, allocations: 85.02 kB / 445.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5772, allocations: 0 / 445.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5774, allocations: 4 kB / 445.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.5775, allocations: 15.97 kB / 445.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5775, allocations: 4 kB / 445.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.5776, allocations: 92.27 kB / 445.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5776, allocations: 3.938 kB / 445.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00043/0.578, allocations: 31.84 kB / 445.8 MB, free: 6.465 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.000658/0.5787, allocations: 0.7364 MB / 446.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5789, allocations: 59.92 kB / 446.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5789, allocations: 3.938 kB / 446.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.579, allocations: 31.98 kB / 446.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.5793, allocations: 3.938 kB / 446.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.58, allocations: 183.7 kB / 446.9 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.5804, allocations: 0.7202 MB / 447.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.5806, allocations: 20.53 kB / 447.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.5807, allocations: 35.42 kB / 447.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5807, allocations: 4 kB / 447.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.6214, allocations: 1.811 MB / 449.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.6218, allocations: 193.8 kB / 449.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/3.028, allocations: 3.094 kB / 449.6 MB, free: 2.602 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat