Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.491e-05, allocations: 0 / 267.7 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/0.5718, allocations: 80.92 MB / 397.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/0.5722, allocations: 106.3 kB / 397.4 MB, free: 11.45 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.05197/0.6242, allocations: 10.05 MB / 407.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6243, allocations: 3.938 kB / 407.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.6243, allocations: 4 kB / 407.4 MB, free: 2.773 MB / 330.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.001398/0.6257, allocations: 0.6688 MB / 408.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.6258, allocations: 8.031 kB / 408.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.6259, allocations: 55.3 kB / 408.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.6266, allocations: 308.1 kB / 408.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.6266, allocations: 16 kB / 408.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.6267, allocations: 28 kB / 408.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/0.6281, allocations: 0.6298 MB / 409.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.6294, allocations: 0.5848 MB / 409.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.6295, allocations: 0 / 409.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.6295, allocations: 3.953 kB / 409.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.6297, allocations: 61.09 kB / 409.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.6335, allocations: 1.582 MB / 411.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.6343, allocations: 328.1 kB / 411.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.6347, allocations: 122.1 kB / 411.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.6347, allocations: 12.22 kB / 411.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6348, allocations: 34.11 kB / 411.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 4.177e-06/0.6348, allocations: 0 / 411.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009451/0.6357, allocations: 316.1 kB / 412.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6358, allocations: 59.41 kB / 412.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.6361, allocations: 205.5 kB / 412.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.6362, allocations: 25.7 kB / 412.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.6364, allocations: 279.3 kB / 412.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6366, allocations: 94.47 kB / 412.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.6366, allocations: 0 / 412.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6368, allocations: 334.3 kB / 413.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.6371, allocations: 114.9 kB / 413.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.6375, allocations: 235.3 kB / 413.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.638, allocations: 164.4 kB / 413.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.638, allocations: 0 / 413.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001085/0.6391, allocations: 394.4 kB / 414 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6391, allocations: 8 kB / 414 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6392, allocations: 4 kB / 414 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.6392, allocations: 4.469 kB / 414 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6405, allocations: 166.8 kB / 414.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.6435, allocations: 3.629 MB / 417.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.6441, allocations: 31.64 kB / 417.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.6441, allocations: 23.23 kB / 417.9 MB, free: 8.797 MB / 346.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.0001727/0.6443, allocations: 113.5 kB / 418 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008353/0.6452, allocations: 315.4 kB / 418.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.6453, allocations: 19.72 kB / 418.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.6469, allocations: 494.8 kB / 418.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6469, allocations: 4 kB / 418.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.647, allocations: 3.953 kB / 418.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.647, allocations: 0 / 418.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.6479, allocations: 390.7 kB / 419.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.6479, allocations: 0 / 419.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.649, allocations: 135.7 kB / 419.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.6491, allocations: 4 kB / 419.3 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.6491, allocations: 11.98 kB / 419.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.652, allocations: 3.622 MB / 423 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.652, allocations: 0 / 423 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6534, allocations: 0.587 MB / 423.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.6539, allocations: 155.7 kB / 423.7 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.654, allocations: 3.984 kB / 423.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.6544, allocations: 12 kB / 423.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6545, allocations: 34.86 kB / 423.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.6546, allocations: 12 kB / 423.8 MB, free: 2.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002577/0.6548, allocations: 173.3 kB / 423.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6549, allocations: 0 / 423.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009334/0.6558, allocations: 182.7 kB / 424.1 MB, free: 2.668 MB / 346.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.002216/0.658, allocations: 1.215 MB / 425.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.6596, allocations: 372.7 kB / 425.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6596, allocations: 0 / 425.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.6606, allocations: 211.4 kB / 425.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.661, allocations: 16.3 kB / 425.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.6635, allocations: 0.8282 MB / 426.7 MB, free: 192 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.6643, allocations: 0.9145 MB / 427.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006678/0.665, allocations: 119 kB / 427.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.6654, allocations: 164 kB / 427.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6654, allocations: 0 / 427.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/0.726, allocations: 8.006 MB / 435.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003763/0.7264, allocations: 199.7 kB / 436.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/3.715, allocations: 0 / 436.1 MB, free: 6.832 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat