Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.323e-05, allocations: 0 / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4022, allocations: 54.87 MB / 354.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.6002, allocations: 100.4 MB / 454.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/0.6006, allocations: 103.9 kB / 455 MB, free: 13.65 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.1938/0.7945, allocations: 37.76 MB / 492.7 MB, free: 7.426 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7945, allocations: 4 kB / 492.7 MB, free: 7.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.994e-05/0.7946, allocations: 20 kB / 492.8 MB, free: 7.402 MB / 426.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.003216/0.7978, allocations: 1.184 MB / 493.9 MB, free: 6.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.7979, allocations: 8.031 kB / 493.9 MB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.7983, allocations: 126.4 kB / 494.1 MB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.7996, allocations: 498.1 kB / 494.6 MB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.7997, allocations: 32 kB / 494.6 MB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.7999, allocations: 56 kB / 494.6 MB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002936/0.8029, allocations: 1.16 MB / 495.8 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.8059, allocations: 1.161 MB / 497 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.806, allocations: 3.984 kB / 497 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.8061, allocations: 0 / 497 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.8063, allocations: 62.09 kB / 497 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007223/0.8135, allocations: 2.676 MB / 499.7 MB, free: 252 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3773/1.191, allocations: 0.6299 MB / 0.4886 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/1.192, allocations: 226.2 kB / 0.4888 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.918e-05/1.192, allocations: 10.73 kB / 0.4888 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.192, allocations: 44.05 kB / 0.4889 GB, free: 120 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 3.907e-06/1.192, allocations: 0 / 0.4889 GB, free: 120 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.001788/1.194, allocations: 0.5141 MB / 0.4894 GB, free: 120 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.194, allocations: 191 kB / 0.4896 GB, free: 119.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/1.195, allocations: 0.5496 MB / 0.4901 GB, free: 119.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/1.195, allocations: 25.7 kB / 0.4901 GB, free: 119.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/1.195, allocations: 0.5792 MB / 0.4907 GB, free: 119.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.195, allocations: 109.7 kB / 0.4908 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/1.195, allocations: 0 / 0.4908 GB, free: 119.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/1.195, allocations: 389.6 kB / 0.4912 GB, free: 119 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/1.196, allocations: 231.7 kB / 0.4914 GB, free: 119 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/1.197, allocations: 0.5408 MB / 0.4919 GB, free: 118.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/1.198, allocations: 321 kB / 0.4922 GB, free: 118.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/1.198, allocations: 3.125 kB / 0.4922 GB, free: 118.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002342/1.2, allocations: 0.7905 MB / 0.493 GB, free: 118.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/1.2, allocations: 9.656 kB / 0.493 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.2, allocations: 11.97 kB / 0.493 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.476e-05/1.2, allocations: 17.09 kB / 0.493 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.202, allocations: 173 kB / 0.4932 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/1.202, allocations: 22.66 kB / 0.4932 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.203, allocations: 82.09 kB / 0.4933 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.203, allocations: 47.11 kB / 0.4933 GB, free: 118.5 MB / 426.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 () * 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.0002611/1.203, allocations: 150.2 kB / 0.4935 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001667/1.205, allocations: 0.5164 MB / 0.494 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.205, allocations: 79.56 kB / 0.4941 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.208, allocations: 0.6786 MB / 0.4947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.208, allocations: 4.469 kB / 0.4947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.208, allocations: 1.562 kB / 0.4947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.208, allocations: 2.344 kB / 0.4947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.209, allocations: 0.6452 MB / 0.4954 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.209, allocations: 4.812 kB / 0.4954 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/1.21, allocations: 113.5 kB / 0.4955 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.21, allocations: 8.078 kB / 0.4955 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/1.211, allocations: 17.05 kB / 0.4955 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.211, allocations: 2.75 kB / 0.4955 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.211, allocations: 4.656 kB / 0.4955 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.212, allocations: 1.035 MB / 0.4965 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/1.212, allocations: 149 kB / 0.4967 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/1.213, allocations: 6.312 kB / 0.4967 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.214, allocations: 46.48 kB / 0.4967 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.214, allocations: 44.67 kB / 0.4967 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/1.214, allocations: 23.14 kB / 0.4968 GB, free: 117.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006713/1.215, allocations: 409.2 kB / 0.4972 GB, free: 117.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.215, allocations: 3.828 kB / 0.4972 GB, free: 117.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001973/1.217, allocations: 348.7 kB / 0.4975 GB, free: 117.1 MB / 426.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 () * 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.002701/1.219, allocations: 2.135 MB / 0.4996 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/1.221, allocations: 0.5449 MB / 0.5001 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.221, allocations: 2.094 kB / 0.5001 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006919/1.222, allocations: 243.7 kB / 0.5003 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.223, allocations: 115.6 kB / 0.5005 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/1.228, allocations: 1.603 MB / 0.502 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/1.229, allocations: 1.185 MB / 0.5032 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001319/1.231, allocations: 300.3 kB / 0.5035 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/1.231, allocations: 371.4 kB / 0.5038 GB, free: 114.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.231, allocations: 0 / 0.5038 GB, free: 114.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07672/1.308, allocations: 16.41 MB / 0.5198 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002889/1.309, allocations: 209.9 kB / 0.52 GB, free: 107.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.443/4.751, allocations: 7.375 kB / 0.5201 GB, free: 107.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat