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 1.972/1.972, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.767e-05, allocations: 8 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5666, allocations: 87.08 MB / 409 MB, free: 2.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.5671, allocations: 95.88 kB / 409.1 MB, free: 2.613 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.1367/0.7038, allocations: 24.03 MB / 433.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7038, allocations: 0 / 433.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.7039, allocations: 28 kB / 433.1 MB, free: 10.54 MB / 362.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.004242/0.7082, allocations: 1.457 MB / 434.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.7082, allocations: 12.03 kB / 434.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006771/0.7089, allocations: 312.5 kB / 434.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.7094, allocations: 177.8 kB / 435.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.711, allocations: 0.6296 MB / 435.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.7112, allocations: 147.9 kB / 435.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.7116, allocations: 192 kB / 436 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006264/0.7179, allocations: 2.596 MB / 438.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.718, allocations: 3.938 kB / 438.6 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.7183, allocations: 80 kB / 438.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.7185, allocations: 140.4 kB / 438.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008961/0.7275, allocations: 3.577 MB / 442.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.7471, allocations: 6.688 MB / 449.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.7489, allocations: 0.6117 MB / 449.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.7495, allocations: 226.5 kB / 449.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7496, allocations: 24.52 kB / 450 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.7497, allocations: 39.12 kB / 450 MB, free: 9.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.316e-06/0.7497, allocations: 0 / 450 MB, free: 9.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002012/0.7517, allocations: 0.6341 MB / 450.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.7518, allocations: 64.19 kB / 450.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.7542, allocations: 1.226 MB / 451.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.7544, allocations: 29.7 kB / 452 MB, free: 7.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.7557, allocations: 1.36 MB / 453.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.7561, allocations: 272.7 kB / 453.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.7563, allocations: 60 kB / 453.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003151/0.7566, allocations: 445.3 kB / 454.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.7584, allocations: 0.6191 MB / 454.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.762, allocations: 2.657 MB / 457.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.7652, allocations: 1.229 MB / 458.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/0.7653, allocations: 20 kB / 458.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008371/0.7737, allocations: 2.925 MB / 461.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.7738, allocations: 43.94 kB / 461.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.774, allocations: 72 kB / 461.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.7741, allocations: 108.8 kB / 461.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005193/0.7793, allocations: 0.8735 MB / 462.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.7838, allocations: 6.052 MB / 468.7 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.7869, allocations: 400.1 kB / 469.1 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/0.7874, allocations: 224 kB / 469.3 MB, free: 4.637 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.0006553/0.7881, allocations: 368.6 kB / 469.6 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.7884, allocations: 118.5 kB / 469.8 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/0.7933, allocations: 1.194 MB / 470.9 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.7934, allocations: 8 kB / 471 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7934, allocations: 0 / 471 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7934, allocations: 3.984 kB / 471 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.7955, allocations: 0.9516 MB / 471.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.7956, allocations: 0 / 471.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/0.7979, allocations: 323.7 kB / 472.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.7979, allocations: 8 kB / 472.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.798, allocations: 35.97 kB / 472.3 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.8022, allocations: 5.915 MB / 478.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8022, allocations: 0 / 478.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.8043, allocations: 0.8034 MB / 479 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.805, allocations: 299.2 kB / 479.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.8052, allocations: 12 kB / 479.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.806, allocations: 35.97 kB / 479.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.8062, allocations: 68.64 kB / 479.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.8064, allocations: 39.98 kB / 479.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001673/0.808, allocations: 0.7784 MB / 480.2 MB, free: 9.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8081, allocations: 0 / 480.2 MB, free: 9.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003243/0.8113, allocations: 0.4913 MB / 480.7 MB, free: 8.863 MB / 410.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.003024/0.8144, allocations: 1.549 MB / 482.3 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005373/0.8198, allocations: 1.65 MB / 483.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.8198, allocations: 0.9375 kB / 483.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.8217, allocations: 422.7 kB / 484.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.8223, allocations: 92.69 kB / 484.4 MB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/0.8299, allocations: 2.431 MB / 486.8 MB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.8316, allocations: 1.46 MB / 488.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.8329, allocations: 0.5969 MB / 488.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8329, allocations: 0 / 488.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.867/4.7, allocations: 90.5 MB / 0.5658 GB, free: 84.7 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