Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") [: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.2+maint.om/package.mo): time 0.002203/0.002203, allocations: 182.7 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.219/1.219, allocations: 194.2 MB / 202.1 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 125 kB / 247.1 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1982/0.1982, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.58e-06/5.67e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.44, allocations: 100.3 MB / 0.5352 GB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.4404, allocations: 94.23 kB / 0.5353 GB, free: 15.79 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2+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.2+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: Performance of FrontEnd: time 0.1344/0.5748, allocations: 37.58 MB / 0.572 GB, free: 360 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-05/0.5749, allocations: 16 kB / 0.572 GB, free: 344 kB / 378.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.002947/0.5779, allocations: 1.204 MB / 0.5731 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5779, allocations: 12.03 kB / 0.5732 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.5782, allocations: 126.4 kB / 0.5733 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.5792, allocations: 488.2 kB / 0.5737 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.5792, allocations: 35.91 kB / 0.5738 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5793, allocations: 55.98 kB / 0.5738 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001581/0.5809, allocations: 1.2 MB / 0.575 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.5826, allocations: 1.177 MB / 0.5762 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.5827, allocations: 7.938 kB / 0.5762 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.5827, allocations: 0 / 0.5762 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.97e-05/0.5828, allocations: 69.39 kB / 0.5762 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.5871, allocations: 2.699 MB / 0.5789 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/0.5881, allocations: 0.6888 MB / 0.5795 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.5885, allocations: 238.4 kB / 0.5798 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.5885, allocations: 16.16 kB / 0.5798 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5886, allocations: 45.86 kB / 0.5798 GB, free: 9.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.5886, allocations: 0 / 0.5798 GB, free: 9.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.5897, allocations: 0.5453 MB / 0.5804 GB, free: 8.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.5898, allocations: 183.9 kB / 0.5805 GB, free: 8.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.5904, allocations: 0.5652 MB / 0.5811 GB, free: 8.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.5905, allocations: 29.86 kB / 0.5811 GB, free: 8.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.5908, allocations: 492.9 kB / 0.5816 GB, free: 7.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5909, allocations: 111.5 kB / 0.5817 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.5909, allocations: 0 / 0.5817 GB, free: 7.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5911, allocations: 386.2 kB / 0.5821 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.5914, allocations: 250.4 kB / 0.5823 GB, free: 6.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.592, allocations: 0.5565 MB / 0.5828 GB, free: 6.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.5925, allocations: 349.1 kB / 0.5832 GB, free: 5.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5925, allocations: 7.938 kB / 0.5832 GB, free: 5.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001356/0.5939, allocations: 0.8203 MB / 0.584 GB, free: 5.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5939, allocations: 8.219 kB / 0.584 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.594, allocations: 15.98 kB / 0.584 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.594, allocations: 16 kB / 0.584 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5947, allocations: 178.8 kB / 0.5842 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.5947, allocations: 27.86 kB / 0.5842 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.5954, allocations: 99.11 kB / 0.5843 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.5955, allocations: 39.94 kB / 0.5843 GB, free: 4.816 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 () * 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.0001847/0.5957, allocations: 146.2 kB / 0.5845 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.5959, allocations: 67.16 kB / 0.5846 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.5973, allocations: 0.8272 MB / 0.5854 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5973, allocations: 4 kB / 0.5854 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5973, allocations: 4 kB / 0.5854 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.5974, allocations: 0 / 0.5854 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5985, allocations: 0.6537 MB / 0.586 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5985, allocations: 7.984 kB / 0.586 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.599, allocations: 122.8 kB / 0.5861 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.599, allocations: 0 / 0.5861 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.5991, allocations: 15.98 kB / 0.5861 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.5991, allocations: 4 kB / 0.5862 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5991, allocations: 3.938 kB / 0.5862 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001048/0.6001, allocations: 1.082 MB / 0.5872 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.6003, allocations: 140.2 kB / 0.5873 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6004, allocations: 4 kB / 0.5873 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.6011, allocations: 55.94 kB / 0.5874 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6012, allocations: 38.17 kB / 0.5874 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.6012, allocations: 23.48 kB / 0.5875 GB, free: 1.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005451/0.6018, allocations: 423.1 kB / 0.5879 GB, free: 1.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001745/0.6036, allocations: 346.2 kB / 0.5882 GB, free: 1.074 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 () * 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.000976/0.6045, allocations: 310.6 kB / 0.5885 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.6056, allocations: 0.5911 MB / 0.5891 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6056, allocations: 0 / 0.5891 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.6061, allocations: 260.1 kB / 0.5893 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.6068, allocations: 100.8 kB / 0.5894 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.6097, allocations: 1.363 MB / 0.5907 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.6108, allocations: 1.273 MB / 0.592 GB, free: 13.34 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6108, allocations: 0 / 0.592 GB, free: 13.34 MB / 410.7 MB Notification: Performance of Templates: time 0.02039/0.6312, allocations: 11.47 MB / 0.6032 GB, free: 1.93 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)