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 1.996/1.996, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.449e-05, allocations: 0 / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5311, allocations: 77.91 MB / 399.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.5315, allocations: 99.17 kB / 399.9 MB, free: 11.92 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.02947/0.561, allocations: 5.97 MB / 405.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5611, allocations: 0 / 405.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.5611, allocations: 8 kB / 405.8 MB, free: 5.918 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.0007408/0.5618, allocations: 449.8 kB / 406.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5619, allocations: 12.03 kB / 406.3 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.562, allocations: 50.53 kB / 406.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.5628, allocations: 71.73 kB / 406.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.5632, allocations: 222.8 kB / 406.6 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5632, allocations: 8 kB / 406.6 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.5633, allocations: 16 kB / 406.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.5639, allocations: 261.4 kB / 406.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.564, allocations: 3.938 kB / 406.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.564, allocations: 4 kB / 406.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.5641, allocations: 15.94 kB / 406.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.5647, allocations: 239.8 kB / 407.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.5667, allocations: 0.8026 MB / 408 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.5673, allocations: 162.7 kB / 408.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.5675, allocations: 68.78 kB / 408.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.5676, allocations: 4 kB / 408.2 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5676, allocations: 30.56 kB / 408.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.5676, allocations: 0 / 408.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006332/0.5683, allocations: 173.2 kB / 408.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.5683, allocations: 51.41 kB / 408.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.5686, allocations: 170.4 kB / 408.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5687, allocations: 29.7 kB / 408.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5688, allocations: 202 kB / 408.8 MB, free: 2.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.5689, allocations: 35.5 kB / 408.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.5689, allocations: 0 / 408.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5691, allocations: 322.8 kB / 409.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.5693, allocations: 51.95 kB / 409.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.5695, allocations: 106.8 kB / 409.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.5698, allocations: 75.86 kB / 409.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5698, allocations: 0 / 409.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006634/0.5704, allocations: 221.2 kB / 409.6 MB, free: 1.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5705, allocations: 11.98 kB / 409.6 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5705, allocations: 0 / 409.6 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.5705, allocations: 4 kB / 409.6 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.5714, allocations: 79.86 kB / 409.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5727, allocations: 1.789 MB / 411.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.5731, allocations: 24.12 kB / 411.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.5732, allocations: 19.98 kB / 411.6 MB, free: 15.84 MB / 346.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.0001366/0.5733, allocations: 116.9 kB / 411.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.5734, allocations: 15.77 kB / 411.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5745, allocations: 254.9 kB / 411.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5745, allocations: 4 kB / 411.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5746, allocations: 0 / 411.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5746, allocations: 0 / 411.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.575, allocations: 241.5 kB / 412.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.575, allocations: 4 kB / 412.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.5756, allocations: 59.89 kB / 412.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5756, allocations: 3.953 kB / 412.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5757, allocations: 7.938 kB / 412.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.5769, allocations: 1.781 MB / 414 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5769, allocations: 4.031 kB / 414 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.5774, allocations: 223.5 kB / 414.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5775, allocations: 104.8 kB / 414.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.5776, allocations: 8.188 kB / 414.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.5778, allocations: 11.98 kB / 414.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.5779, allocations: 11.98 kB / 414.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.578, allocations: 7.938 kB / 414.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.5782, allocations: 139.2 kB / 414.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5782, allocations: 0 / 414.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.5787, allocations: 63.83 kB / 414.6 MB, free: 12.64 MB / 346.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.001091/0.5798, allocations: 0.8146 MB / 415.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008224/0.5807, allocations: 160.2 kB / 415.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5807, allocations: 4 kB / 415.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.5811, allocations: 75.89 kB / 415.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5814, allocations: 12.19 kB / 415.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5827, allocations: 339.2 kB / 416 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5831, allocations: 0.7513 MB / 416.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5833, allocations: 63.39 kB / 416.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5833, allocations: 0 / 416.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.434, allocations: 5.739 MB / 422.5 MB, free: 4.602 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