Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 235.1 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.49e-05, allocations: 0 / 299.6 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3827, allocations: 54.85 MB / 354.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.5962, allocations: 96.75 MB / 451.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/0.5966, allocations: 95.94 kB / 451.3 MB, free: 14.19 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6108:11-6111: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.4087/1.005, allocations: 17.62 MB / 468.9 MB, free: 98.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.005, allocations: 0 / 468.9 MB, free: 98.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/1.005, allocations: 5.094 kB / 468.9 MB, free: 98.84 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.001315/1.007, allocations: 0.6249 MB / 469.6 MB, free: 98.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.007, allocations: 9.031 kB / 469.6 MB, free: 98.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/1.007, allocations: 32.19 kB / 469.6 MB, free: 98.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/1.007, allocations: 242.5 kB / 469.8 MB, free: 98.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.007, allocations: 13.69 kB / 469.8 MB, free: 98.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/1.007, allocations: 15.34 kB / 469.9 MB, free: 98.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009054/1.008, allocations: 401.2 kB / 470.3 MB, free: 98.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/1.009, allocations: 402.1 kB / 470.6 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.009, allocations: 0 / 470.6 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/1.009, allocations: 0 / 470.6 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/1.009, allocations: 42.03 kB / 470.7 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/1.012, allocations: 1.274 MB / 472 MB, free: 97.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/1.013, allocations: 256 kB / 472.2 MB, free: 97.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/1.013, allocations: 79.47 kB / 472.3 MB, free: 97.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.475e-05/1.013, allocations: 8.672 kB / 472.3 MB, free: 97.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/1.013, allocations: 38.34 kB / 472.3 MB, free: 97.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/1.013, allocations: 0 / 472.3 MB, free: 97.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006032/1.014, allocations: 211.2 kB / 472.5 MB, free: 97.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/1.014, allocations: 55.09 kB / 472.6 MB, free: 97.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.014, allocations: 128.8 kB / 472.7 MB, free: 97.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.014, allocations: 25.7 kB / 472.7 MB, free: 97.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/1.014, allocations: 191 kB / 472.9 MB, free: 97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/1.014, allocations: 81.81 kB / 473 MB, free: 96.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/1.014, allocations: 3.312 kB / 473 MB, free: 96.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/1.014, allocations: 330.2 kB / 473.3 MB, free: 96.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.014, allocations: 65.09 kB / 473.4 MB, free: 96.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/1.015, allocations: 152.2 kB / 473.6 MB, free: 96.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/1.015, allocations: 106.8 kB / 473.7 MB, free: 96.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.015, allocations: 0 / 473.7 MB, free: 96.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006055/1.015, allocations: 260.1 kB / 473.9 MB, free: 96.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.016, allocations: 7.719 kB / 473.9 MB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.016, allocations: 3.938 kB / 473.9 MB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.016, allocations: 3.875 kB / 473.9 MB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.017, allocations: 131.8 kB / 474.1 MB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.018, allocations: 2.373 MB / 476.4 MB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/1.018, allocations: 27.06 kB / 476.5 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/1.018, allocations: 18.22 kB / 476.5 MB, free: 94.14 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.0001043/1.018, allocations: 116.7 kB / 476.6 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004879/1.019, allocations: 200.8 kB / 476.8 MB, free: 93.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/1.019, allocations: 15.75 kB / 476.8 MB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.02, allocations: 338.4 kB / 477.1 MB, free: 93.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.02, allocations: 0 / 477.1 MB, free: 93.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.02, allocations: 0 / 477.1 MB, free: 93.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.02, allocations: 7.578 kB / 477.1 MB, free: 93.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/1.02, allocations: 266.2 kB / 477.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.02, allocations: 0 / 477.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/1.021, allocations: 128.7 kB / 477.5 MB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.021, allocations: 3.844 kB / 477.5 MB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.021, allocations: 3.5 kB / 477.5 MB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009901/1.022, allocations: 2.361 MB / 479.9 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.022, allocations: 7.688 kB / 479.9 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/1.023, allocations: 322 kB / 480.2 MB, free: 91.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/1.023, allocations: 100.6 kB / 480.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/1.023, allocations: 0 / 480.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.023, allocations: 11.17 kB / 480.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/1.023, allocations: 21.38 kB / 480.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/1.023, allocations: 10.91 kB / 480.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.791e-05/1.024, allocations: 95.52 kB / 480.4 MB, free: 91.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.024, allocations: 0 / 480.4 MB, free: 91.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001138/1.025, allocations: 250.5 kB / 480.7 MB, free: 90.98 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.001623/1.026, allocations: 1.152 MB / 481.8 MB, free: 90.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008662/1.027, allocations: 239.2 kB / 482.1 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.027, allocations: 0 / 482.1 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/1.028, allocations: 141.1 kB / 482.2 MB, free: 90.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.028, allocations: 7.594 kB / 482.2 MB, free: 90.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/1.03, allocations: 0.5504 MB / 482.8 MB, free: 89.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.03, allocations: 0.8188 MB / 483.6 MB, free: 89.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005772/1.031, allocations: 103.7 kB / 483.7 MB, free: 89.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.031, allocations: 91.05 kB / 483.8 MB, free: 89.02 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/1.031, allocations: 0 / 483.8 MB, free: 89.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/1.084, allocations: 7.515 MB / 491.3 MB, free: 85.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002831/1.085, allocations: 196.9 kB / 491.5 MB, free: 85.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.767/3.851, allocations: 4.688 kB / 491.5 MB, free: 85.51 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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat