Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.77e-05, allocations: 4 kB / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 48.71 MB / 316.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5218, allocations: 77.01 MB / 393.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.5222, allocations: 101.4 kB / 393.4 MB, free: 15.18 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.5423, allocations: 4.158 MB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5423, allocations: 0 / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5423, allocations: 4 kB / 397.6 MB, free: 11.66 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006978/0.5431, allocations: 436.2 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.5431, allocations: 12.02 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5443, allocations: 98.77 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.5447, allocations: 213.5 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5447, allocations: 8 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.5448, allocations: 12 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005295/0.5453, allocations: 198.2 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.5458, allocations: 198.1 kB / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.5458, allocations: 0 / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.5459, allocations: 0 / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.5459, allocations: 15.98 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.5476, allocations: 0.6773 MB / 399.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.5479, allocations: 71.34 kB / 399.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.548, allocations: 35.09 kB / 399.6 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.548, allocations: 8.141 kB / 399.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.5481, allocations: 34.52 kB / 399.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 5.65e-06/0.5481, allocations: 0 / 399.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.5485, allocations: 103.7 kB / 399.7 MB, free: 9.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5485, allocations: 51.41 kB / 399.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.5487, allocations: 126.1 kB / 399.9 MB, free: 9.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.5487, allocations: 29.64 kB / 399.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5489, allocations: 212.5 kB / 400.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.5489, allocations: 30.94 kB / 400.1 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5489, allocations: 0 / 400.1 MB, free: 9.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5491, allocations: 318.8 kB / 400.4 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.5492, allocations: 31.05 kB / 400.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.5494, allocations: 81.09 kB / 400.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5495, allocations: 50.14 kB / 400.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5495, allocations: 0 / 400.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004415/0.55, allocations: 146.4 kB / 400.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.55, allocations: 8.031 kB / 400.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.55, allocations: 7.953 kB / 400.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5501, allocations: 0 / 400.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.5516, allocations: 107.8 kB / 400.9 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5537, allocations: 1.826 MB / 402.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.554, allocations: 19.98 kB / 402.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.554, allocations: 8.625 kB / 402.7 MB, free: 6.477 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.5542, allocations: 108 kB / 402.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002797/0.5545, allocations: 99.11 kB / 402.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.5545, allocations: 11.86 kB / 402.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.555, allocations: 146 kB / 403.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.555, allocations: 0 / 403.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.555, allocations: 4 kB / 403.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.555, allocations: 0 / 403.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.5554, allocations: 199.2 kB / 403.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5555, allocations: 4 kB / 403.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.5568, allocations: 91.89 kB / 403.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.5569, allocations: 4 kB / 403.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5569, allocations: 7.891 kB / 403.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.559, allocations: 1.773 MB / 405.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.559, allocations: 3.938 kB / 405.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.5595, allocations: 211 kB / 405.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.5596, allocations: 89 kB / 405.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.5597, allocations: 3.953 kB / 405.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.56, allocations: 8 kB / 405.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.5601, allocations: 7.984 kB / 405.5 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.5601, allocations: 4 kB / 405.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.5602, allocations: 105.6 kB / 405.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5602, allocations: 0 / 405.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.5608, allocations: 55.52 kB / 405.6 MB, free: 3.492 MB / 330.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009188/0.5617, allocations: 0.7658 MB / 406.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.5635, allocations: 157.7 kB / 406.6 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5635, allocations: 0 / 406.6 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.5646, allocations: 89.97 kB / 406.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.565, allocations: 19.62 kB / 406.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.5661, allocations: 290.4 kB / 406.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.5666, allocations: 0.7386 MB / 407.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5667, allocations: 40.55 kB / 407.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5667, allocations: 4 kB / 407.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.331, allocations: 4.881 MB / 412.6 MB, free: 12.51 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat