Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.218e-05, allocations: 0 / 299.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4096, allocations: 54.87 MB / 354.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.6232, allocations: 87.12 MB / 441.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004886/0.6238, allocations: 99.94 kB / 441.7 MB, free: 10.95 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07424/0.698, allocations: 10.06 MB / 451.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6981, allocations: 0 / 451.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.6981, allocations: 8 kB / 451.8 MB, free: 0.6953 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00159/0.6997, allocations: 0.6545 MB / 452.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.6998, allocations: 8.031 kB / 452.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.7, allocations: 55.34 kB / 452.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/0.7007, allocations: 318.2 kB / 452.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.7008, allocations: 16 kB / 452.8 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.7009, allocations: 31.95 kB / 452.8 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/0.7026, allocations: 0.6311 MB / 453.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.7042, allocations: 0.5817 MB / 454 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.7043, allocations: 7.938 kB / 454.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.7044, allocations: 0 / 454.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.7045, allocations: 53.22 kB / 454.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.7088, allocations: 1.57 MB / 455.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.7099, allocations: 327.2 kB / 456 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.7103, allocations: 125.2 kB / 456.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.7103, allocations: 12.2 kB / 456.1 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.7104, allocations: 38.75 kB / 456.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 7.875e-06/0.7104, allocations: 0 / 456.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001112/0.7115, allocations: 319.9 kB / 456.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.7116, allocations: 55.41 kB / 456.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.712, allocations: 204.1 kB / 456.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.712, allocations: 25.7 kB / 456.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.7123, allocations: 283.7 kB / 457 MB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.7124, allocations: 86.66 kB / 457.1 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.7125, allocations: 0 / 457.1 MB, free: 11.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7127, allocations: 334.8 kB / 457.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.7131, allocations: 127.6 kB / 457.6 MB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.7135, allocations: 225.6 kB / 457.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.7141, allocations: 159.8 kB / 457.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7141, allocations: 0 / 457.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001302/0.7154, allocations: 404.9 kB / 458.3 MB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.7155, allocations: 4 kB / 458.3 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7155, allocations: 4 kB / 458.3 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.7155, allocations: 12.42 kB / 458.4 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.7171, allocations: 151.8 kB / 458.5 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.72, allocations: 3.631 MB / 462.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.7206, allocations: 31.67 kB / 462.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.7207, allocations: 27.98 kB / 462.2 MB, free: 5.777 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7208, allocations: 104.9 kB / 462.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009668/0.7218, allocations: 325.6 kB / 462.6 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.7219, allocations: 19.77 kB / 462.6 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.7238, allocations: 492.2 kB / 463.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.7239, allocations: 4 kB / 463.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7239, allocations: 0 / 463.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.7239, allocations: 3.984 kB / 463.1 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009196/0.7248, allocations: 385.8 kB / 463.5 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7248, allocations: 0 / 463.5 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7262, allocations: 135.8 kB / 463.6 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.7262, allocations: 4 kB / 463.6 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.7263, allocations: 15.94 kB / 463.7 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.7292, allocations: 3.618 MB / 467.3 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.7292, allocations: 4.031 kB / 467.3 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.7307, allocations: 0.5781 MB / 467.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.7311, allocations: 156.7 kB / 468 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7312, allocations: 7.891 kB / 468 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.7317, allocations: 19.98 kB / 468 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.7318, allocations: 28.06 kB / 468.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.7319, allocations: 19.98 kB / 468.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.7322, allocations: 176 kB / 468.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7322, allocations: 0 / 468.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.7333, allocations: 183.2 kB / 468.4 MB, free: 15.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/0.7356, allocations: 1.224 MB / 469.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.7373, allocations: 372.4 kB / 470 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7373, allocations: 0 / 470 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.7384, allocations: 207.8 kB / 470.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.7388, allocations: 16.38 kB / 470.2 MB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.7415, allocations: 0.8093 MB / 471 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.7422, allocations: 0.9203 MB / 472 MB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007083/0.7429, allocations: 127 kB / 472.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.7433, allocations: 155.4 kB / 472.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7434, allocations: 0 / 472.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.7933, allocations: 8.019 MB / 480.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002615/0.7937, allocations: 207.4 kB / 480.5 MB, free: 3.133 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.835/3.629, allocations: 0 / 480.5 MB, free: 3.133 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat