Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001137, allocations: 190.1 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008986/0.0008985, allocations: 87.44 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2175/0.4168, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.8467, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/1.007, allocations: 105.6 MB / 0.5686 GB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004388/1.007, allocations: 99.92 kB / 0.5687 GB, free: 9.23 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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: 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.1103/1.118, allocations: 38.83 MB / 0.6066 GB, free: 1.883 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.118, allocations: 16 kB / 0.6066 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/1.118, allocations: 126.4 kB / 0.6068 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.119, allocations: 494.1 kB / 0.6072 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/1.119, allocations: 39.94 kB / 0.6073 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.119, allocations: 52 kB / 0.6073 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/1.121, allocations: 1.199 MB / 0.6085 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/1.123, allocations: 1.185 MB / 0.6096 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.123, allocations: 3.938 kB / 0.6096 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/1.123, allocations: 0 / 0.6096 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/1.123, allocations: 62.08 kB / 0.6097 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/1.128, allocations: 2.691 MB / 0.6123 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.129, allocations: 0.6991 MB / 0.613 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/1.129, allocations: 241.5 kB / 0.6132 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/1.129, allocations: 12.22 kB / 0.6133 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.129, allocations: 50.66 kB / 0.6133 GB, free: 10.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 4.218e-06/1.13, allocations: 0 / 0.6133 GB, free: 10.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001295/1.131, allocations: 0.5575 MB / 0.6138 GB, free: 10.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.131, allocations: 183.9 kB / 0.614 GB, free: 10.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/1.132, allocations: 0.5621 MB / 0.6146 GB, free: 9.445 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/1.132, allocations: 25.7 kB / 0.6146 GB, free: 9.414 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.132, allocations: 493.5 kB / 0.6151 GB, free: 8.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/1.132, allocations: 110.5 kB / 0.6152 GB, free: 8.812 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/1.132, allocations: 0 / 0.6152 GB, free: 8.812 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/1.132, allocations: 378.8 kB / 0.6155 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/1.133, allocations: 257.1 kB / 0.6158 GB, free: 8.184 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/1.134, allocations: 0.5611 MB / 0.6163 GB, free: 7.465 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/1.134, allocations: 343.5 kB / 0.6167 GB, free: 7.129 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.134, allocations: 4 kB / 0.6167 GB, free: 7.125 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001462/1.136, allocations: 0.8169 MB / 0.6175 GB, free: 6.301 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.136, allocations: 7.906 kB / 0.6175 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/1.136, allocations: 12 kB / 0.6175 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.136, allocations: 20 kB / 0.6175 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/1.137, allocations: 180.2 kB / 0.6177 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/1.137, allocations: 27.88 kB / 0.6177 GB, free: 6.059 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/1.137, allocations: 91.48 kB / 0.6178 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/1.137, allocations: 43.98 kB / 0.6178 GB, free: 5.926 MB / 458.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.0002247/1.138, allocations: 154.7 kB / 0.618 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.138, allocations: 75.06 kB / 0.618 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.139, allocations: 0.8199 MB / 0.6188 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.139, allocations: 7.938 kB / 0.6189 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.139, allocations: 8 kB / 0.6189 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.139, allocations: 0 / 0.6189 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.141, allocations: 0.6498 MB / 0.6195 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.141, allocations: 4 kB / 0.6195 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/1.141, allocations: 123.8 kB / 0.6196 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.141, allocations: 3.984 kB / 0.6196 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.141, allocations: 15.98 kB / 0.6196 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/1.141, allocations: 4 kB / 0.6196 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.141, allocations: 3.938 kB / 0.6196 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001176/1.143, allocations: 1.074 MB / 0.6207 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001309/1.144, allocations: 1.465 MB / 0.6221 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.144, allocations: 136.2 kB / 0.6223 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.144, allocations: 3.984 kB / 0.6223 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/1.145, allocations: 63.95 kB / 0.6223 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.145, allocations: 35.86 kB / 0.6223 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/1.145, allocations: 16 kB / 0.6224 GB, free: 1.086 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0005131/1.146, allocations: 423.1 kB / 0.6228 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002154/1.148, allocations: 354.8 kB / 0.6231 GB, free: 336 kB / 458.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.0007586/1.149, allocations: 316.7 kB / 0.6234 GB, free: 12 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/1.15, allocations: 0.5902 MB / 0.624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.15, allocations: 0 / 0.624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/1.15, allocations: 257.8 kB / 0.6242 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/1.151, allocations: 110.9 kB / 0.6243 GB, free: 15.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/1.154, allocations: 1.359 MB / 0.6257 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.155, allocations: 1.279 MB / 0.6269 GB, free: 12.36 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/1.155, allocations: 0 / 0.6269 GB, free: 12.36 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat