Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 15.94 kB / 282.7 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3862, allocations: 48.7 MB / 331.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.5577, allocations: 92.8 MB / 424.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004419/0.5582, allocations: 95.94 kB / 424.3 MB, free: 1.469 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4477:11-4491:77:writable] Error: Got type mismatch error, but matching types Real. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4453:11-4467:78:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4502:11-4516:76:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1961/0.7544, allocations: 38.2 MB / 462.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7544, allocations: 0 / 462.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.7545, allocations: 16 kB / 462.5 MB, free: 10.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.00338/0.7579, allocations: 1.285 MB / 463.8 MB, free: 9.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.758, allocations: 8.031 kB / 463.8 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003946/0.7584, allocations: 172.9 kB / 464 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.7587, allocations: 134.3 kB / 464.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.7599, allocations: 0.4903 MB / 464.6 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.76, allocations: 70 kB / 464.6 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.7602, allocations: 96 kB / 464.7 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.7638, allocations: 1.388 MB / 466.1 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.7639, allocations: 0 / 466.1 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.764, allocations: 36 kB / 466.2 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.7641, allocations: 66.08 kB / 466.2 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.7681, allocations: 1.413 MB / 467.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007153/0.7753, allocations: 3.098 MB / 470.7 MB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.7777, allocations: 0.7341 MB / 471.5 MB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.7779, allocations: 24.2 kB / 471.5 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.7779, allocations: 42.73 kB / 471.5 MB, free: 1.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.577e-06/0.7779, allocations: 0 / 471.5 MB, free: 1.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.004247/0.7822, allocations: 1.006 MB / 472.5 MB, free: 436 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.7823, allocations: 187.9 kB / 472.7 MB, free: 204 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2921/1.074, allocations: 1.183 MB / 473.9 MB, free: 112 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/1.075, allocations: 32.05 kB / 473.9 MB, free: 111.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/1.075, allocations: 0.5031 MB / 474.4 MB, free: 111.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.076, allocations: 116.9 kB / 474.6 MB, free: 111.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.076, allocations: 11.42 kB / 474.6 MB, free: 111.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/1.076, allocations: 342.4 kB / 474.9 MB, free: 111.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.078, allocations: 327.7 kB / 475.2 MB, free: 111.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/1.08, allocations: 0.6365 MB / 475.9 MB, free: 111 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.083, allocations: 411.6 kB / 476.3 MB, free: 111 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.083, allocations: 3.5 kB / 476.3 MB, free: 111 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.005289/1.088, allocations: 0.9926 MB / 477.3 MB, free: 111 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.088, allocations: 8.719 kB / 477.3 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.088, allocations: 15.11 kB / 477.3 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.375e-05/1.088, allocations: 16.31 kB / 477.3 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.09, allocations: 173.2 kB / 477.5 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.904e-05/1.09, allocations: 27.75 kB / 477.5 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.092, allocations: 164.9 kB / 477.7 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.092, allocations: 42.53 kB / 477.7 MB, free: 110.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001112/1.093, allocations: 368.4 kB / 478.1 MB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/1.094, allocations: 122.6 kB / 478.2 MB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/1.098, allocations: 0.7787 MB / 479 MB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.098, allocations: 5.281 kB / 479 MB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.098, allocations: 1.438 kB / 479 MB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.098, allocations: 7.5 kB / 479 MB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/1.101, allocations: 0.715 MB / 479.7 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.101, allocations: 1.156 kB / 479.7 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.102, allocations: 124.6 kB / 479.8 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/1.103, allocations: 2.344 kB / 479.8 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.103, allocations: 17.91 kB / 479.8 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.103, allocations: 2.438 kB / 479.8 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.103, allocations: 1.438 kB / 479.8 MB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/1.107, allocations: 1.28 MB / 481.1 MB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/1.108, allocations: 273.5 kB / 481.4 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/1.108, allocations: 10.84 kB / 481.4 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.11, allocations: 50.66 kB / 481.4 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.111, allocations: 43 kB / 481.5 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.111, allocations: 19.06 kB / 481.5 MB, free: 109.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002604/1.114, allocations: 0.9209 MB / 482.4 MB, free: 109.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.114, allocations: 0 / 482.4 MB, free: 109.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002616/1.116, allocations: 314.8 kB / 482.7 MB, free: 109.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004876/1.121, allocations: 2.36 MB / 485.1 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002898/1.124, allocations: 0.7442 MB / 485.8 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.124, allocations: 4.656 kB / 485.8 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.125, allocations: 325.8 kB / 486.2 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.127, allocations: 243.4 kB / 486.4 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.146, allocations: 15.23 MB / 0.4899 GB, free: 97.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.147, allocations: 1.177 MB / 0.491 GB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009415/1.148, allocations: 406.7 kB / 0.4914 GB, free: 96.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/1.148, allocations: 0 / 0.4914 GB, free: 96.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.916/4.064, allocations: 21.86 MB / 0.5127 GB, free: 83.43 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat