Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.119/2.119, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.353e-05, allocations: 4 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.69 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.5641, allocations: 86.67 MB / 403 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/0.5645, allocations: 99.55 kB / 403.1 MB, free: 5.633 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.6738, allocations: 23.68 MB / 426.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6739, allocations: 0 / 426.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.794e-05/0.674, allocations: 24 kB / 426.8 MB, free: 2.027 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003655/0.6776, allocations: 1.452 MB / 428.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6777, allocations: 12.03 kB / 428.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.6782, allocations: 177.8 kB / 428.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.6799, allocations: 0.6297 MB / 429.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.68, allocations: 60 kB / 429.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.6804, allocations: 112 kB / 429.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007397/0.6878, allocations: 3.198 MB / 432.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005801/0.6936, allocations: 2.346 MB / 434.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.6937, allocations: 0 / 434.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.6939, allocations: 0 / 434.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.6941, allocations: 144.4 kB / 434.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.7128, allocations: 6.42 MB / 441.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.7143, allocations: 0.6002 MB / 441.9 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.7148, allocations: 198.5 kB / 442.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.7149, allocations: 32.52 kB / 442.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.715, allocations: 39.12 kB / 442.2 MB, free: 2.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.306e-06/0.715, allocations: 0 / 442.2 MB, free: 2.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001717/0.7167, allocations: 0.6028 MB / 442.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7168, allocations: 59.97 kB / 442.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.7189, allocations: 1.17 MB / 444 MB, free: 408 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.442e-05/0.719, allocations: 25.7 kB / 444 MB, free: 376 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.7203, allocations: 1.341 MB / 445.4 MB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.7207, allocations: 276.7 kB / 445.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7208, allocations: 0 / 445.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.7211, allocations: 437.5 kB / 446.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.7225, allocations: 0.5644 MB / 446.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.7258, allocations: 2.599 MB / 449.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.7286, allocations: 1.149 MB / 450.4 MB, free: 8.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.976e-05/0.7287, allocations: 24 kB / 450.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.007966/0.7366, allocations: 2.679 MB / 453.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.7368, allocations: 39.94 kB / 453.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.964e-05/0.7369, allocations: 76 kB / 453.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.7371, allocations: 108 kB / 453.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/0.7422, allocations: 0.8738 MB / 454.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.7465, allocations: 6.059 MB / 460.3 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.7495, allocations: 348.1 kB / 460.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005876/0.7501, allocations: 220 kB / 460.8 MB, free: 14.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005869/0.7507, allocations: 296.4 kB / 461.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001658/0.7524, allocations: 0.6068 MB / 461.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.7526, allocations: 126.4 kB / 461.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.7573, allocations: 1.144 MB / 463 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.7573, allocations: 11.98 kB / 463 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7574, allocations: 0 / 463 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7574, allocations: 0 / 463 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.7592, allocations: 0.7786 MB / 463.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7592, allocations: 0 / 463.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/0.7616, allocations: 323.7 kB / 464.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.7616, allocations: 4 kB / 464.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.7617, allocations: 19.98 kB / 464.1 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.7659, allocations: 5.935 MB / 470 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7659, allocations: 0 / 470 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.7678, allocations: 0.7686 MB / 470.8 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.7685, allocations: 295.3 kB / 471.1 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.7688, allocations: 8.125 kB / 471.1 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/0.7695, allocations: 23.97 kB / 471.1 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.7698, allocations: 64.7 kB / 471.2 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.7699, allocations: 39.98 kB / 471.2 MB, free: 3.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001456/0.7714, allocations: 0.7145 MB / 471.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7714, allocations: 0 / 471.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003415/0.7748, allocations: 427 kB / 472.4 MB, free: 2.395 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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/0.7778, allocations: 1.515 MB / 473.9 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005278/0.7832, allocations: 1.566 MB / 475.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.7832, allocations: 0 / 475.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7852, allocations: 403.9 kB / 475.8 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.7859, allocations: 76.75 kB / 475.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.7943, allocations: 2.333 MB / 478.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.7961, allocations: 1.464 MB / 479.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.7976, allocations: 0.593 MB / 480.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/0.7976, allocations: 0 / 480.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.78/4.578, allocations: 90.49 MB / 0.5574 GB, free: 99.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat