Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.1+maint.om/package.mo): time 0.005554/0.005554, allocations: 180.6 kB / 7.451 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.437/1.437, allocations: 170.6 MB / 178.4 MB, free: 15.79 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0017/0.001701, allocations: 112.6 kB / 217.7 MB, free: 8.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2318/0.2318, allocations: 37.98 MB / 294.8 MB, free: 9.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.394e-06, allocations: 1.281 kB / 349.5 MB, free: 37.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 48.72 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4646, allocations: 80.23 MB / 478.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.465, allocations: 93.61 kB / 478.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0175/0.4825, allocations: 6.388 MB / 484.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.4826, allocations: 4 kB / 484.9 MB, free: 13.1 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005565/0.4831, allocations: 468 kB / 485.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4832, allocations: 7.75 kB / 485.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.4833, allocations: 27 kB / 485.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4836, allocations: 206 kB / 485.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4836, allocations: 7.875 kB / 485.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.4836, allocations: 11.72 kB / 485.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003393/0.484, allocations: 211.8 kB / 485.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.4843, allocations: 180 kB / 486 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4843, allocations: 3.875 kB / 486 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4843, allocations: 7.844 kB / 486 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4844, allocations: 5.047 kB / 486.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.4854, allocations: 0.5562 MB / 486.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.4857, allocations: 99.33 kB / 486.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.4857, allocations: 34.25 kB / 486.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4858, allocations: 0 / 486.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4858, allocations: 41.58 kB / 486.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4858, allocations: 0 / 486.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002805/0.4861, allocations: 92.53 kB / 486.9 MB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.4861, allocations: 58.78 kB / 486.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4863, allocations: 163.9 kB / 487.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4863, allocations: 29.7 kB / 487.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.4864, allocations: 173.7 kB / 487.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4865, allocations: 32.05 kB / 487.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.4865, allocations: 0 / 487.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.4866, allocations: 330.4 kB / 487.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.4866, allocations: 30.31 kB / 487.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4867, allocations: 132 kB / 487.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.4869, allocations: 51 kB / 487.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4869, allocations: 0 / 487.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003046/0.4872, allocations: 184.7 kB / 488 MB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4872, allocations: 3.875 kB / 488 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4872, allocations: 5.562 kB / 488 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4872, allocations: 7.406 kB / 488 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.4877, allocations: 80.45 kB / 488.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/0.4883, allocations: 1.229 MB / 489.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.4885, allocations: 34.36 kB / 489.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4885, allocations: 15.75 kB / 489.4 MB, free: 9.926 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.4886, allocations: 111.9 kB / 489.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.4887, allocations: 15.66 kB / 489.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.4891, allocations: 156 kB / 489.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4891, allocations: 0 / 489.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4891, allocations: 0 / 489.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4891, allocations: 3.906 kB / 489.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.4896, allocations: 392.3 kB / 490.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4896, allocations: 0 / 490.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4899, allocations: 60.27 kB / 490.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4899, allocations: 0 / 490.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4899, allocations: 5.516 kB / 490.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006252/0.4905, allocations: 1.222 MB / 491.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4906, allocations: 0 / 491.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002533/0.4908, allocations: 233.5 kB / 491.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.4909, allocations: 92.77 kB / 491.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.4909, allocations: 9.516 kB / 491.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.4911, allocations: 10.52 kB / 491.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.4912, allocations: 6.453 kB / 491.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4912, allocations: 4.125 kB / 491.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.212e-05/0.4913, allocations: 126.7 kB / 491.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004817/0.4918, allocations: 78.88 kB / 491.9 MB, free: 7.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.4922, allocations: 186.7 kB / 492.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.4926, allocations: 138.6 kB / 492.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4926, allocations: 0 / 492.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.4929, allocations: 72.78 kB / 492.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.4932, allocations: 21.36 kB / 492.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.4938, allocations: 215.7 kB / 492.5 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.4943, allocations: 0.7619 MB / 493.3 MB, free: 22.89 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4943, allocations: 0 / 493.3 MB, free: 22.89 MB / 346.7 MB Notification: Performance of Templates: time 0.008415/0.5027, allocations: 3.023 MB / 496.3 MB, free: 22.63 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1)