Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.192e-05, allocations: 0 / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3624, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.535, allocations: 89.36 MB / 443.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/0.5354, allocations: 99.88 kB / 443.9 MB, free: 5.605 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6238:11-6241: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.08178/0.6172, allocations: 11.14 MB / 455.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6173, allocations: 0 / 455.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.6173, allocations: 4 kB / 455.1 MB, free: 10.38 MB / 394.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.001528/0.6188, allocations: 0.5801 MB / 455.6 MB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.6189, allocations: 8.031 kB / 455.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.619, allocations: 31.62 kB / 455.7 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.6195, allocations: 234.7 kB / 455.9 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.6195, allocations: 12 kB / 455.9 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.6196, allocations: 16 kB / 455.9 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/0.6207, allocations: 401.3 kB / 456.3 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6219, allocations: 398 kB / 456.7 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6219, allocations: 7.891 kB / 456.7 MB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.622, allocations: 3.984 kB / 456.7 MB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-05/0.6221, allocations: 40.75 kB / 456.8 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.6254, allocations: 1.266 MB / 458 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008526/0.6263, allocations: 252.5 kB / 458.3 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.6266, allocations: 76.83 kB / 458.4 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.6266, allocations: 12.36 kB / 458.4 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.6267, allocations: 38.56 kB / 458.4 MB, free: 6.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.336e-06/0.6267, allocations: 3.938 kB / 458.4 MB, free: 6.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006994/0.6274, allocations: 201.8 kB / 458.6 MB, free: 6.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.6275, allocations: 51.41 kB / 458.7 MB, free: 6.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.6276, allocations: 131.3 kB / 458.8 MB, free: 6.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.6277, allocations: 25.7 kB / 458.8 MB, free: 6.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.6279, allocations: 191.9 kB / 459 MB, free: 6.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.628, allocations: 86.75 kB / 459.1 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.628, allocations: 0 / 459.1 MB, free: 6.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6282, allocations: 330.8 kB / 459.4 MB, free: 5.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.6284, allocations: 71.95 kB / 459.5 MB, free: 5.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.6287, allocations: 144.6 kB / 459.6 MB, free: 5.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.6291, allocations: 104 kB / 459.7 MB, free: 5.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6291, allocations: 0 / 459.7 MB, free: 5.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007668/0.6299, allocations: 265.1 kB / 460 MB, free: 5.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6299, allocations: 8 kB / 460 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6299, allocations: 4 kB / 460 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.63, allocations: 8 kB / 460 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.6312, allocations: 136.2 kB / 460.1 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.633, allocations: 2.371 MB / 462.5 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.6334, allocations: 23.75 kB / 462.5 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.6334, allocations: 19.98 kB / 462.6 MB, free: 2.492 MB / 394.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.0001539/0.6336, allocations: 112.9 kB / 462.7 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006029/0.6342, allocations: 213.5 kB / 462.9 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.6343, allocations: 11.81 kB / 462.9 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.6355, allocations: 317.9 kB / 463.2 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6356, allocations: 7.953 kB / 463.2 MB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6356, allocations: 0 / 463.2 MB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6356, allocations: 7.969 kB / 463.2 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.6361, allocations: 266 kB / 463.5 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6362, allocations: 0 / 463.5 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.6373, allocations: 115.8 kB / 463.6 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.6373, allocations: 4 kB / 463.6 MB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.6373, allocations: 4 kB / 463.6 MB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.301/0.9383, allocations: 2.365 MB / 466 MB, free: 98.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.9384, allocations: 8.406 kB / 466 MB, free: 98.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.9391, allocations: 325.6 kB / 466.3 MB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.9392, allocations: 98.83 kB / 466.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.9392, allocations: 2.328 kB / 466.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.9395, allocations: 7.828 kB / 466.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9396, allocations: 22.09 kB / 466.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.9397, allocations: 13.3 kB / 466.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.779e-05/0.9398, allocations: 96.44 kB / 466.5 MB, free: 98.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9398, allocations: 0 / 466.5 MB, free: 98.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000988/0.9408, allocations: 174.6 kB / 466.7 MB, free: 98.65 MB / 394.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.001651/0.9425, allocations: 1.015 MB / 467.7 MB, free: 97.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.9436, allocations: 237.3 kB / 467.9 MB, free: 97.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.9436, allocations: 0 / 467.9 MB, free: 97.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.9443, allocations: 142.8 kB / 468.1 MB, free: 97.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.9446, allocations: 5.422 kB / 468.1 MB, free: 97.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.9464, allocations: 0.5209 MB / 468.6 MB, free: 97.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.9468, allocations: 0.8087 MB / 469.4 MB, free: 97.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005945/0.9474, allocations: 101.8 kB / 469.5 MB, free: 97.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.9476, allocations: 91.09 kB / 469.6 MB, free: 97.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9476, allocations: 0 / 469.6 MB, free: 97.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/1, allocations: 6.108 MB / 475.7 MB, free: 96.74 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002638/1.001, allocations: 204.5 kB / 475.9 MB, free: 96.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.72/3.721, allocations: 7.969 kB / 475.9 MB, free: 96.47 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_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat