Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.235e-05, allocations: 4 kB / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 48.7 MB / 316.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5265, allocations: 80.95 MB / 397.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.5269, allocations: 93.97 kB / 397.4 MB, free: 11.26 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.05096/0.5779, allocations: 10.05 MB / 407.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.5779, allocations: 0 / 407.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.578, allocations: 7.938 kB / 407.4 MB, free: 2.582 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.001343/0.5793, allocations: 0.6619 MB / 408.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.5794, allocations: 12.03 kB / 408.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.5795, allocations: 59.23 kB / 408.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.5802, allocations: 313.4 kB / 408.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.5802, allocations: 16 kB / 408.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.5803, allocations: 24 kB / 408.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/0.5817, allocations: 0.6371 MB / 409.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.583, allocations: 0.5839 MB / 409.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5831, allocations: 0 / 409.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.5832, allocations: 3.953 kB / 409.7 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.5833, allocations: 56.78 kB / 409.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.5873, allocations: 1.575 MB / 411.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.5881, allocations: 332 kB / 411.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.5884, allocations: 119.2 kB / 411.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.5885, allocations: 11.66 kB / 411.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5885, allocations: 34.8 kB / 411.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.567e-06/0.5886, allocations: 0 / 411.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009043/0.5895, allocations: 312.1 kB / 412.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5895, allocations: 63.34 kB / 412.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.5899, allocations: 211 kB / 412.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.5899, allocations: 25.7 kB / 412.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.5901, allocations: 338.3 kB / 412.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5903, allocations: 93.53 kB / 412.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.5903, allocations: 0 / 412.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5905, allocations: 330.1 kB / 413.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.5908, allocations: 112.7 kB / 413.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.5912, allocations: 228.6 kB / 413.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.5917, allocations: 165.2 kB / 413.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5917, allocations: 4 kB / 413.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001055/0.5928, allocations: 389.5 kB / 414.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.5928, allocations: 8 kB / 414.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.5928, allocations: 4.469 kB / 414.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.5929, allocations: 4 kB / 414.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5942, allocations: 163.6 kB / 414.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.5969, allocations: 3.629 MB / 417.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.5974, allocations: 31.64 kB / 417.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.5975, allocations: 23.11 kB / 417.9 MB, free: 8.555 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.0001879/0.5977, allocations: 113.1 kB / 418 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008219/0.5985, allocations: 313.1 kB / 418.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.5986, allocations: 23.72 kB / 418.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.6002, allocations: 493.7 kB / 418.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.6003, allocations: 7.984 kB / 418.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6003, allocations: 3.953 kB / 418.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6003, allocations: 0 / 418.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.6011, allocations: 382.2 kB / 419.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6012, allocations: 0 / 419.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6023, allocations: 139.8 kB / 419.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.6024, allocations: 0 / 419.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.6024, allocations: 19.8 kB / 419.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.6051, allocations: 3.617 MB / 423 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6051, allocations: 0 / 423 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.6065, allocations: 0.5905 MB / 423.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.6068, allocations: 156.6 kB / 423.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.6069, allocations: 0 / 423.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.6073, allocations: 8.141 kB / 423.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.6074, allocations: 31.91 kB / 423.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.6074, allocations: 15.42 kB / 423.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.6077, allocations: 175.9 kB / 424 MB, free: 2.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6077, allocations: 0 / 424 MB, free: 2.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009189/0.6086, allocations: 182.5 kB / 424.2 MB, free: 2.43 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.002092/0.6107, allocations: 1.222 MB / 425.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.6123, allocations: 371.8 kB / 425.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6123, allocations: 3.938 kB / 425.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009557/0.6133, allocations: 206.1 kB / 426 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.6136, allocations: 16.34 kB / 426 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.6161, allocations: 0.8552 MB / 426.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.6168, allocations: 0.907 MB / 427.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.6172, allocations: 168 kB / 427.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6172, allocations: 0 / 427.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.081/3.698, allocations: 18.58 MB / 446.5 MB, free: 12.36 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat