Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.558/2.558, allocations: 235.2 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.201e-05, allocations: 0 / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 54.87 MB / 354.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.6178, allocations: 95.75 MB / 450.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.6183, allocations: 103.9 kB / 450.3 MB, free: 2.293 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1341/0.7524, allocations: 22.36 MB / 472.7 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7524, allocations: 0 / 472.7 MB, free: 11.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.7525, allocations: 4 kB / 472.7 MB, free: 11.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001602/0.7541, allocations: 0.6075 MB / 473.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.7542, allocations: 8.031 kB / 473.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.7543, allocations: 35.53 kB / 473.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.7549, allocations: 266.5 kB / 473.6 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.7549, allocations: 8 kB / 473.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.755, allocations: 20 kB / 473.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001176/0.7562, allocations: 449.7 kB / 474.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7573, allocations: 437.1 kB / 474.5 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.7573, allocations: 0 / 474.5 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.7574, allocations: 4 kB / 474.5 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.7575, allocations: 41.28 kB / 474.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.761, allocations: 1.223 MB / 475.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.7623, allocations: 342.5 kB / 476.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.7626, allocations: 104.8 kB / 476.2 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.7627, allocations: 4.172 kB / 476.2 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.7628, allocations: 38.52 kB / 476.2 MB, free: 8.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.747e-06/0.7628, allocations: 0 / 476.2 MB, free: 8.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009664/0.7638, allocations: 273.7 kB / 476.5 MB, free: 7.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.7638, allocations: 55.41 kB / 476.6 MB, free: 7.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.7641, allocations: 161.4 kB / 476.7 MB, free: 7.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.7642, allocations: 25.7 kB / 476.7 MB, free: 7.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.7644, allocations: 207.9 kB / 476.9 MB, free: 7.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7645, allocations: 82.75 kB / 477 MB, free: 7.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.7645, allocations: 0 / 477 MB, free: 7.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7647, allocations: 330.8 kB / 477.3 MB, free: 6.855 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.765, allocations: 99.94 kB / 477.4 MB, free: 6.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.7654, allocations: 131.4 kB / 477.6 MB, free: 6.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.7658, allocations: 133.2 kB / 477.7 MB, free: 6.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7658, allocations: 0 / 477.7 MB, free: 6.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/0.7669, allocations: 315.4 kB / 478 MB, free: 6.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.7669, allocations: 6.188 kB / 478 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7669, allocations: 0 / 478 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.767, allocations: 16 kB / 478 MB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.7683, allocations: 115.8 kB / 478.1 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.7709, allocations: 3.012 MB / 481.2 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.7715, allocations: 32.03 kB / 481.2 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.7715, allocations: 19.98 kB / 481.2 MB, free: 2.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.0001687/0.7717, allocations: 104.9 kB / 481.3 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008469/0.7726, allocations: 265.3 kB / 481.6 MB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.7727, allocations: 19.72 kB / 481.6 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.7742, allocations: 401.6 kB / 482 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.7742, allocations: 4 kB / 482 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7742, allocations: 3.953 kB / 482 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7743, allocations: 3.984 kB / 482 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.775, allocations: 321.9 kB / 482.3 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7751, allocations: 4 kB / 482.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.7763, allocations: 111.8 kB / 482.4 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.7764, allocations: 0 / 482.4 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.7765, allocations: 11.94 kB / 482.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.779, allocations: 3.016 MB / 485.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.7791, allocations: 0 / 485.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.7801, allocations: 391 kB / 485.8 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.7802, allocations: 100.8 kB / 485.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.7803, allocations: 0 / 485.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.7807, allocations: 7.984 kB / 485.9 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.7808, allocations: 27.91 kB / 486 MB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.7809, allocations: 20.08 kB / 486 MB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.7811, allocations: 128.3 kB / 486.1 MB, free: 13.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7811, allocations: 0 / 486.1 MB, free: 13.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001142/0.7822, allocations: 203.4 kB / 486.3 MB, free: 13.56 MB / 426.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 (31): * Single equations (assignments): 26 * 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.002222/0.7845, allocations: 1.103 MB / 487.4 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.7859, allocations: 307.7 kB / 487.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.786, allocations: 0 / 487.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.7869, allocations: 179.9 kB / 487.9 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.7873, allocations: 8 kB / 487.9 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.7894, allocations: 0.6084 MB / 488.5 MB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.7901, allocations: 0.8419 MB / 489.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006565/0.7908, allocations: 109.8 kB / 489.5 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.7911, allocations: 111.4 kB / 489.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7911, allocations: 0 / 489.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/0.8456, allocations: 7.818 MB / 497.4 MB, free: 2.398 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003602/0.846, allocations: 197.9 kB / 497.6 MB, free: 2.203 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.935/3.781, allocations: 0 / 497.6 MB, free: 2.203 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat