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.035/2.035, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.326e-05, allocations: 0 / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5418, allocations: 81.36 MB / 403.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005191/0.5424, allocations: 95.94 kB / 403.3 MB, free: 8.441 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.06991/0.6123, allocations: 10.17 MB / 413.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6124, allocations: 0 / 413.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.6124, allocations: 11.94 kB / 413.5 MB, free: 14.09 MB / 346.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.001368/0.6138, allocations: 0.658 MB / 414.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.6138, allocations: 8.031 kB / 414.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.614, allocations: 106.4 kB / 414.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.6142, allocations: 59.28 kB / 414.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.6148, allocations: 314.3 kB / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.6149, allocations: 41 kB / 414.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.615, allocations: 43.98 kB / 414.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6166, allocations: 0.6427 MB / 415.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6166, allocations: 3.938 kB / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.6167, allocations: 23.98 kB / 415.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-05/0.6168, allocations: 49.23 kB / 415.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.6184, allocations: 0.6819 MB / 416.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.6228, allocations: 1.739 MB / 417.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.6238, allocations: 335.2 kB / 418.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.6242, allocations: 129.2 kB / 418.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.6243, allocations: 16.2 kB / 418.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.6243, allocations: 38.8 kB / 418.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/0.6243, allocations: 0 / 418.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001042/0.6254, allocations: 339.8 kB / 418.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.6254, allocations: 55.41 kB / 418.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.6262, allocations: 403.4 kB / 419.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.6263, allocations: 33.7 kB / 419.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6265, allocations: 306 kB / 419.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.6267, allocations: 102.6 kB / 419.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.6267, allocations: 8 kB / 419.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6269, allocations: 322.8 kB / 419.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.6273, allocations: 123.9 kB / 420 MB, free: 7.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.6278, allocations: 237.4 kB / 420.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.6283, allocations: 168 kB / 420.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6283, allocations: 0 / 420.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001197/0.6295, allocations: 413.1 kB / 420.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6296, allocations: 4 kB / 420.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6296, allocations: 4 kB / 420.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.6296, allocations: 8 kB / 420.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.6309, allocations: 164.2 kB / 421 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.6338, allocations: 3.61 MB / 424.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.6345, allocations: 63.64 kB / 424.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.6346, allocations: 23.98 kB / 424.7 MB, free: 2.406 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.0001767/0.6348, allocations: 120.9 kB / 424.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6349, allocations: 47.52 kB / 424.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.6368, allocations: 0.509 MB / 425.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6368, allocations: 4 kB / 425.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6368, allocations: 3.953 kB / 425.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.6368, allocations: 0 / 425.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.638, allocations: 453 kB / 425.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.638, allocations: 4 kB / 425.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.6392, allocations: 143.8 kB / 426 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.6393, allocations: 0 / 426 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.6393, allocations: 15.98 kB / 426 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.6422, allocations: 3.598 MB / 429.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.6423, allocations: 7.938 kB / 429.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.6439, allocations: 0.6173 MB / 430.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.6443, allocations: 172.4 kB / 430.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.6444, allocations: 8 kB / 430.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.6448, allocations: 19.98 kB / 430.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.645, allocations: 23.91 kB / 430.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.645, allocations: 23.94 kB / 430.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.6457, allocations: 337.2 kB / 430.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6457, allocations: 3.938 kB / 430.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009522/0.6467, allocations: 183.5 kB / 431 MB, free: 11.9 MB / 362.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.002418/0.6491, allocations: 1.251 MB / 432.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.6508, allocations: 381 kB / 432.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.6508, allocations: 4.062 kB / 432.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.6519, allocations: 227.6 kB / 432.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.6523, allocations: 25.56 kB / 432.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.655, allocations: 0.9071 MB / 433.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.6558, allocations: 0.9131 MB / 434.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.6562, allocations: 171.4 kB / 434.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6562, allocations: 0 / 434.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.135/3.791, allocations: 19.35 MB / 454.2 MB, free: 4.586 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