Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 183.6 kB / 8.527 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.4 MB / 230.3 MB, free: 7.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008975, allocations: 92.72 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1623/0.1623, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.3431, allocations: 68.05 MB / 444.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.4433, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.7179, allocations: 106.8 MB / 0.5985 GB, free: 5.949 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.7182, allocations: 103.7 kB / 0.5986 GB, free: 5.852 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4393:11-4407: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 4.0.0+maint.om/Fluid/Dissipation.mo:4369:11-4383: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 4.0.0+maint.om/Fluid/Dissipation.mo:4418:11-4432: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.1019/0.8201, allocations: 39.63 MB / 0.6373 GB, free: 13.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8202, allocations: 19.88 kB / 0.6373 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.8204, allocations: 126.4 kB / 0.6374 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.821, allocations: 486.2 kB / 0.6379 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.8211, allocations: 31.94 kB / 0.6379 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.8212, allocations: 59.98 kB / 0.638 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/0.8226, allocations: 1.191 MB / 0.6391 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.8241, allocations: 1.181 MB / 0.6403 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.8242, allocations: 7.938 kB / 0.6403 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.8242, allocations: 0 / 0.6403 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.8243, allocations: 66.08 kB / 0.6403 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.8279, allocations: 2.695 MB / 0.643 GB, free: 7.711 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009249/0.8288, allocations: 0.691 MB / 0.6437 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.8291, allocations: 241.5 kB / 0.6439 GB, free: 6.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.8292, allocations: 12.22 kB / 0.6439 GB, free: 6.699 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8292, allocations: 50.72 kB / 0.6439 GB, free: 6.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.8292, allocations: 0 / 0.6439 GB, free: 6.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009818/0.8302, allocations: 0.5469 MB / 0.6445 GB, free: 6.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.8303, allocations: 187.9 kB / 0.6447 GB, free: 5.863 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.8309, allocations: 0.5659 MB / 0.6452 GB, free: 5.289 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.8309, allocations: 25.7 kB / 0.6452 GB, free: 5.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.8311, allocations: 493.8 kB / 0.6457 GB, free: 4.766 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.8312, allocations: 106.5 kB / 0.6458 GB, free: 4.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.8313, allocations: 0 / 0.6458 GB, free: 4.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8314, allocations: 386.7 kB / 0.6462 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.8318, allocations: 253.1 kB / 0.6464 GB, free: 4.027 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.8323, allocations: 0.5572 MB / 0.647 GB, free: 3.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.8328, allocations: 355.7 kB / 0.6473 GB, free: 2.961 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.8328, allocations: 0 / 0.6473 GB, free: 2.961 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001256/0.8341, allocations: 0.8213 MB / 0.6481 GB, free: 2.133 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8341, allocations: 4.938 kB / 0.6481 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.8341, allocations: 12 kB / 0.6481 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.8342, allocations: 23.94 kB / 0.6481 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.8349, allocations: 183.6 kB / 0.6483 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.8349, allocations: 27.86 kB / 0.6483 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.8355, allocations: 95.48 kB / 0.6484 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.8356, allocations: 43.98 kB / 0.6485 GB, free: 1.75 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.0001608/0.8357, allocations: 150.6 kB / 0.6486 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.8359, allocations: 75.06 kB / 0.6487 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.8374, allocations: 0.8273 MB / 0.6495 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8374, allocations: 4 kB / 0.6495 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8374, allocations: 4 kB / 0.6495 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8374, allocations: 0 / 0.6495 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.8385, allocations: 0.6499 MB / 0.6501 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8385, allocations: 4 kB / 0.6501 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.839, allocations: 123.8 kB / 0.6503 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.839, allocations: 0 / 0.6503 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.839, allocations: 19.98 kB / 0.6503 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.839, allocations: 7.938 kB / 0.6503 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.839, allocations: 0 / 0.6503 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001025/0.8401, allocations: 1.067 MB / 0.6513 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001113/0.8412, allocations: 1.473 MB / 0.6528 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8413, allocations: 136.2 kB / 0.6529 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8414, allocations: 3.984 kB / 0.6529 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.842, allocations: 47.97 kB / 0.653 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.8422, allocations: 43.84 kB / 0.653 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.8422, allocations: 20 kB / 0.653 GB, free: 12.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003981/0.8426, allocations: 419.1 kB / 0.6534 GB, free: 12.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0018/0.8444, allocations: 362.8 kB / 0.6538 GB, free: 12.16 MB / 474.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.0005373/0.845, allocations: 309.8 kB / 0.6541 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008935/0.8459, allocations: 0.5835 MB / 0.6546 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8459, allocations: 4 kB / 0.6546 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.8463, allocations: 260.7 kB / 0.6549 GB, free: 11.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.847, allocations: 111.1 kB / 0.655 GB, free: 10.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.8493, allocations: 1.355 MB / 0.6563 GB, free: 9.508 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.8503, allocations: 1.283 MB / 0.6576 GB, free: 8.199 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.8503, allocations: 0 / 0.6576 GB, free: 8.199 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat