Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.544e-05, allocations: 4 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 48.71 MB / 316.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.5037, allocations: 77.48 MB / 393.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5041, allocations: 91.8 kB / 393.9 MB, free: 15.03 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02838/0.5325, allocations: 5.922 MB / 399.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5326, allocations: 0 / 399.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.5326, allocations: 0 / 399.8 MB, free: 10.06 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000708/0.5333, allocations: 446.4 kB / 400.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5334, allocations: 8.031 kB / 400.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/0.5341, allocations: 70.55 kB / 400.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.5345, allocations: 220.2 kB / 400.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5345, allocations: 4 kB / 400.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.5346, allocations: 8 kB / 400.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006143/0.5352, allocations: 228 kB / 400.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.5358, allocations: 242.1 kB / 401 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5358, allocations: 0 / 401 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.5359, allocations: 0 / 401 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.5359, allocations: 19.73 kB / 401 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.5378, allocations: 0.7526 MB / 401.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.5382, allocations: 165.4 kB / 402 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5384, allocations: 48.89 kB / 402 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.5385, allocations: 15.27 kB / 402 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5385, allocations: 31.38 kB / 402.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 5.64e-06/0.5385, allocations: 3.984 kB / 402.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005483/0.5391, allocations: 155.2 kB / 402.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5391, allocations: 55.34 kB / 402.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.5393, allocations: 125.8 kB / 402.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.5393, allocations: 25.7 kB / 402.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5395, allocations: 215.8 kB / 402.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.5395, allocations: 30.48 kB / 402.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.5396, allocations: 4 kB / 402.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5397, allocations: 318.1 kB / 403 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.5398, allocations: 50.58 kB / 403 MB, free: 6.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.54, allocations: 104.8 kB / 403.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.5403, allocations: 73.98 kB / 403.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5403, allocations: 0 / 403.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005663/0.5409, allocations: 199.2 kB / 403.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5409, allocations: 7.953 kB / 403.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5409, allocations: 4 kB / 403.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.541, allocations: 4 kB / 403.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.5417, allocations: 83.47 kB / 403.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.543, allocations: 1.789 MB / 405.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.5434, allocations: 32.08 kB / 405.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.5435, allocations: 11.98 kB / 405.3 MB, free: 4.535 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 (17): * Single equations (assignments): 14 * 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.0001305/0.5436, allocations: 112.4 kB / 405.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00046/0.5441, allocations: 154.4 kB / 405.6 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.5441, allocations: 11.86 kB / 405.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5452, allocations: 249.8 kB / 405.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5452, allocations: 4 kB / 405.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5452, allocations: 0 / 405.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5452, allocations: 3.984 kB / 405.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.5456, allocations: 206.8 kB / 406 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5456, allocations: 4 kB / 406 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.5462, allocations: 55.95 kB / 406.1 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.5462, allocations: 3.953 kB / 406.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5462, allocations: 4 kB / 406.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.5474, allocations: 1.787 MB / 407.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5475, allocations: 0.625 kB / 407.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.5479, allocations: 222.8 kB / 408.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.548, allocations: 92.97 kB / 408.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.548, allocations: 0 / 408.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.5483, allocations: 15.67 kB / 408.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.5484, allocations: 7.984 kB / 408.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5484, allocations: 4 kB / 408.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5485, allocations: 103.1 kB / 408.3 MB, free: 1.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5485, allocations: 0 / 408.3 MB, free: 1.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005443/0.5491, allocations: 71.23 kB / 408.4 MB, free: 1.395 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 (13): * Single equations (assignments): 10 * 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.0008807/0.55, allocations: 0.7999 MB / 409.2 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000715/0.5507, allocations: 152.9 kB / 409.3 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5507, allocations: 0 / 409.3 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.5512, allocations: 70.7 kB / 409.4 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5514, allocations: 11.31 kB / 409.4 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5526, allocations: 322.3 kB / 409.7 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.5531, allocations: 0.7475 MB / 410.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.5532, allocations: 59.39 kB / 410.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5533, allocations: 0 / 410.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.835/3.389, allocations: 5.548 MB / 416.1 MB, free: 9.691 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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat