Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.692/2.692, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.527e-05, allocations: 0 / 299.6 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3799, allocations: 54.85 MB / 354.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.589, allocations: 104.5 MB / 459 MB, free: 6.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004135/0.5895, allocations: 95.94 kB / 459.1 MB, free: 6.434 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.4932/1.083, allocations: 27.45 MB / 486.5 MB, free: 91.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.083, allocations: 0 / 486.5 MB, free: 91.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/1.083, allocations: 8 kB / 486.5 MB, free: 91.92 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002603/1.085, allocations: 0.9002 MB / 487.4 MB, free: 90.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.085, allocations: 8.031 kB / 487.4 MB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/1.086, allocations: 75.06 kB / 487.5 MB, free: 90.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/1.086, allocations: 354.1 kB / 487.9 MB, free: 90.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/1.087, allocations: 28 kB / 487.9 MB, free: 90.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.087, allocations: 44 kB / 487.9 MB, free: 90.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002694/1.089, allocations: 1.218 MB / 489.1 MB, free: 89.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/1.092, allocations: 1.046 MB / 490.2 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.092, allocations: 0 / 490.2 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.092, allocations: 0 / 490.2 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/1.092, allocations: 73.97 kB / 490.3 MB, free: 88.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/1.099, allocations: 2.78 MB / 493 MB, free: 85.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.101, allocations: 387.6 kB / 493.4 MB, free: 84.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/1.101, allocations: 121.4 kB / 493.5 MB, free: 84.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/1.101, allocations: 15.62 kB / 493.6 MB, free: 84.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/1.101, allocations: 42.67 kB / 493.6 MB, free: 84.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.517e-06/1.101, allocations: 4 kB / 493.6 MB, free: 84.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008667/1.102, allocations: 315.7 kB / 493.9 MB, free: 84.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.102, allocations: 55.41 kB / 494 MB, free: 84.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/1.102, allocations: 181.6 kB / 494.1 MB, free: 84.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/1.102, allocations: 25.7 kB / 494.2 MB, free: 84.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.103, allocations: 378.3 kB / 494.5 MB, free: 83.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.103, allocations: 122.2 kB / 494.7 MB, free: 83.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.103, allocations: 0 / 494.7 MB, free: 83.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/1.103, allocations: 330.8 kB / 495 MB, free: 83.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/1.103, allocations: 129 kB / 495.1 MB, free: 83.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/1.104, allocations: 309.3 kB / 495.4 MB, free: 82.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/1.104, allocations: 183.7 kB / 495.6 MB, free: 82.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/1.104, allocations: 0 / 495.6 MB, free: 82.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001209/1.105, allocations: 461.5 kB / 496 MB, free: 82.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.105, allocations: 12 kB / 496 MB, free: 82.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.105, allocations: 8 kB / 496.1 MB, free: 82.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1.105, allocations: 11.95 kB / 496.1 MB, free: 82.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.107, allocations: 207.7 kB / 496.3 MB, free: 81.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/1.109, allocations: 3.001 MB / 499.3 MB, free: 78.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/1.109, allocations: 47.58 kB / 499.3 MB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/1.109, allocations: 39.92 kB / 499.4 MB, free: 78.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/1.109, allocations: 122.5 kB / 499.5 MB, free: 78.5 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007773/1.11, allocations: 317.8 kB / 499.8 MB, free: 78.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/1.11, allocations: 19.8 kB / 499.8 MB, free: 78.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/1.112, allocations: 0.5117 MB / 0.4886 GB, free: 77.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.112, allocations: 8 kB / 0.4886 GB, free: 77.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.112, allocations: 3.953 kB / 0.4886 GB, free: 77.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.112, allocations: 3.984 kB / 0.4886 GB, free: 77.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/1.115, allocations: 0.9539 MB / 0.4895 GB, free: 76.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.115, allocations: 7.953 kB / 0.4895 GB, free: 76.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.116, allocations: 167.8 kB / 0.4897 GB, free: 76.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/1.116, allocations: 4 kB / 0.4897 GB, free: 76.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.116, allocations: 15.98 kB / 0.4897 GB, free: 76.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/1.118, allocations: 2.969 MB / 0.4926 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.118, allocations: 4 kB / 0.4926 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/1.118, allocations: 0.544 MB / 0.4932 GB, free: 72.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/1.119, allocations: 100.8 kB / 0.4933 GB, free: 72.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/1.119, allocations: 8 kB / 0.4933 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/1.119, allocations: 15.98 kB / 0.4933 GB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.119, allocations: 35.95 kB / 0.4933 GB, free: 72.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/1.119, allocations: 23.98 kB / 0.4933 GB, free: 72.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001187/1.119, allocations: 123.2 kB / 0.4935 GB, free: 72.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.119, allocations: 0 / 0.4935 GB, free: 72.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001671/1.121, allocations: 366.6 kB / 0.4938 GB, free: 72.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002481/1.124, allocations: 1.932 MB / 0.4957 GB, free: 70.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001574/1.125, allocations: 389.1 kB / 0.4961 GB, free: 69.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.125, allocations: 0 / 0.4961 GB, free: 69.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000932/1.126, allocations: 208.3 kB / 0.4963 GB, free: 69.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/1.127, allocations: 20.14 kB / 0.4963 GB, free: 69.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/1.13, allocations: 1.076 MB / 0.4973 GB, free: 68.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/1.131, allocations: 1.003 MB / 0.4983 GB, free: 67.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001057/1.132, allocations: 166.9 kB / 0.4985 GB, free: 67.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.132, allocations: 207.3 kB / 0.4987 GB, free: 66.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.132, allocations: 0 / 0.4987 GB, free: 66.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06744/1.199, allocations: 11.13 MB / 0.5095 GB, free: 55.77 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002668/1.2, allocations: 211.7 kB / 0.5097 GB, free: 55.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.062/4.262, allocations: 0 / 0.5097 GB, free: 55.48 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.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat