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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [: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.005891/0.005891, allocations: 177.3 kB / 7.453 MB, free: 2.508 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.448/1.448, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001743/0.001743, allocations: 111.8 kB / 217.7 MB, free: 8.16 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.1927/0.1927, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.336e-06, allocations: 1.062 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 48.71 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4945, allocations: 82.3 MB / 480.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.4949, allocations: 92.25 kB / 480.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02079/0.5157, allocations: 7.391 MB / 488 MB, free: 12.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.5158, allocations: 0 / 488 MB, free: 12.94 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007096/0.5165, allocations: 463.7 kB / 488.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5165, allocations: 11.44 kB / 488.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.5166, allocations: 24.81 kB / 488.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.5169, allocations: 210.6 kB / 488.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5169, allocations: 7.75 kB / 488.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.517, allocations: 11.66 kB / 488.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002424/0.5172, allocations: 110.1 kB / 488.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.5175, allocations: 166.2 kB / 489 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.5175, allocations: 3.984 kB / 489 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.5176, allocations: 0 / 489 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5176, allocations: 3.906 kB / 489 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.5186, allocations: 0.5218 MB / 489.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.5187, allocations: 51.3 kB / 489.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.5188, allocations: 19.8 kB / 489.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.5188, allocations: 9.062 kB / 489.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5188, allocations: 33.62 kB / 489.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.5189, allocations: 0 / 489.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002752/0.5191, allocations: 76.67 kB / 489.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.5192, allocations: 51.41 kB / 489.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.5193, allocations: 159.7 kB / 489.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5193, allocations: 25.7 kB / 490 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.5194, allocations: 172.7 kB / 490.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.5195, allocations: 21.48 kB / 490.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.5195, allocations: 0 / 490.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.5195, allocations: 329.8 kB / 490.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.5196, allocations: 21.19 kB / 490.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.5197, allocations: 108.5 kB / 490.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.5198, allocations: 42.73 kB / 490.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5198, allocations: 3.875 kB / 490.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002559/0.5201, allocations: 148.8 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5201, allocations: 7.844 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.5201, allocations: 12.95 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5201, allocations: 3.719 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5203, allocations: 35.52 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5203, allocations: 5.641 kB / 490.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5205, allocations: 24.42 kB / 490.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5205, allocations: 8.984 kB / 490.9 MB, free: 10.99 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.397e-05/0.5206, allocations: 116.1 kB / 491 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.5206, allocations: 11.53 kB / 491 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.5209, allocations: 126.2 kB / 491.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.521, allocations: 0 / 491.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.521, allocations: 3.75 kB / 491.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.521, allocations: 0.9844 kB / 491.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.5212, allocations: 198 kB / 491.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.5212, allocations: 8.547 kB / 491.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.5213, allocations: 18.59 kB / 491.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5213, allocations: 3.938 kB / 491.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5214, allocations: 11.66 kB / 491.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5214, allocations: 0 / 491.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5214, allocations: 0 / 491.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001787/0.5216, allocations: 173.6 kB / 491.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.5216, allocations: 86.52 kB / 491.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.5217, allocations: 3.875 kB / 491.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5218, allocations: 9.609 kB / 491.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.5218, allocations: 5.75 kB / 491.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.5219, allocations: 7.844 kB / 491.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.126e-05/0.5219, allocations: 120.2 kB / 491.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.5224, allocations: 84.14 kB / 491.8 MB, free: 10.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004739/0.5229, allocations: 213.3 kB / 492.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.5232, allocations: 136.1 kB / 492.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5232, allocations: 0.875 kB / 492.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5234, allocations: 93.61 kB / 492.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5236, allocations: 20.42 kB / 492.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.5242, allocations: 194.7 kB / 492.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.5246, allocations: 0.7493 MB / 493.2 MB, free: 25.22 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5246, allocations: 0 / 493.2 MB, free: 25.22 MB / 346.7 MB Notification: Performance of Templates: time 0.008534/0.5332, allocations: 3.415 MB / 496.7 MB, free: 24.85 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)