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 2.571/2.571, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.78e-05, allocations: 4 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3545, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5154, allocations: 84.36 MB / 438.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/0.5158, allocations: 91.94 kB / 438.9 MB, free: 10.62 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.01732/0.5332, allocations: 3.371 MB / 442.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5332, allocations: 4 kB / 442.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.5332, allocations: 4 kB / 442.3 MB, free: 7.223 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.0007419/0.534, allocations: 400.2 kB / 442.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.5341, allocations: 12.03 kB / 442.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.5345, allocations: 35.83 kB / 442.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.5348, allocations: 186.9 kB / 442.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5348, allocations: 8 kB / 442.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.5349, allocations: 8 kB / 442.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003178/0.5352, allocations: 87.95 kB / 443 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.5356, allocations: 159.9 kB / 443.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5356, allocations: 0 / 443.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.5356, allocations: 0 / 443.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.5357, allocations: 15.94 kB / 443.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.537, allocations: 0.6216 MB / 443.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.5375, allocations: 90.64 kB / 443.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.5376, allocations: 24.8 kB / 443.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.5376, allocations: 4 kB / 443.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5376, allocations: 38.56 kB / 444 MB, free: 5.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.235e-06/0.5377, allocations: 0 / 444 MB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000281/0.5379, allocations: 73.58 kB / 444 MB, free: 5.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.538, allocations: 51.41 kB / 444.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5381, allocations: 113.2 kB / 444.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5382, allocations: 25.7 kB / 444.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.5383, allocations: 119.9 kB / 444.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.5383, allocations: 23.66 kB / 444.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.5383, allocations: 0 / 444.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5385, allocations: 330.8 kB / 444.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.5386, allocations: 16 kB / 444.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.5387, allocations: 85.42 kB / 444.8 MB, free: 4.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.5389, allocations: 31.97 kB / 444.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5389, allocations: 4 kB / 444.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003225/0.5392, allocations: 125.8 kB / 444.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5392, allocations: 12.03 kB / 445 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5393, allocations: 0 / 445 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5393, allocations: 4 kB / 445 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5397, allocations: 43.97 kB / 445 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.5397, allocations: 7.938 kB / 445 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5399, allocations: 15.89 kB / 445 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5399, allocations: 8 kB / 445 MB, free: 4.223 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.000117/0.5401, allocations: 112.9 kB / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002138/0.5403, allocations: 77.61 kB / 445.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.5404, allocations: 7.906 kB / 445.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.5406, allocations: 90.27 kB / 445.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5407, allocations: 4 kB / 445.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5407, allocations: 0 / 445.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5407, allocations: 7.922 kB / 445.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.541, allocations: 174.1 kB / 445.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.541, allocations: 0 / 445.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.5413, allocations: 35.97 kB / 445.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.5413, allocations: 0 / 445.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5414, allocations: 0 / 445.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5414, allocations: 0 / 445.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5414, allocations: 3.938 kB / 445.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.5417, allocations: 179.5 kB / 445.7 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.5417, allocations: 85 kB / 445.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.5418, allocations: 4 kB / 445.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.542, allocations: 7.938 kB / 445.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.5421, allocations: 7.984 kB / 445.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5421, allocations: 4 kB / 445.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.5422, allocations: 91.27 kB / 445.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5422, allocations: 4 kB / 445.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.5426, allocations: 27.84 kB / 445.9 MB, free: 3.23 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.0006818/0.5433, allocations: 0.7358 MB / 446.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.5436, allocations: 60.23 kB / 446.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5436, allocations: 4.188 kB / 446.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.5437, allocations: 31.92 kB / 446.8 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.544, allocations: 11.98 kB / 446.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.5448, allocations: 174.1 kB / 446.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.5451, allocations: 0.7119 MB / 447.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.5454, allocations: 29.22 kB / 447.7 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.5455, allocations: 27.44 kB / 447.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5455, allocations: 3.938 kB / 447.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.5901, allocations: 1.825 MB / 449.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003633/0.5905, allocations: 198.4 kB / 449.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.471/3.062, allocations: 0 / 449.7 MB, free: 15.31 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat