Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [: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.004124/0.004124, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.516/1.516, 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.001646/0.001646, allocations: 117.1 kB / 217.7 MB, free: 8.168 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.1493/0.1493, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.104e-05, allocations: 1.219 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4629, allocations: 81.63 MB / 479.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4632, allocations: 92.02 kB / 480 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03005/0.4933, allocations: 11.81 MB / 491.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.4934, allocations: 7.719 kB / 491.8 MB, free: 12.52 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00116/0.4945, allocations: 0.6631 MB / 492.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4946, allocations: 12.03 kB / 492.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.4948, allocations: 46.53 kB / 492.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4953, allocations: 297 kB / 492.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4953, allocations: 11.59 kB / 492.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.4953, allocations: 26.94 kB / 492.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000607/0.496, allocations: 398.8 kB / 493.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.4968, allocations: 0.581 MB / 493.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4968, allocations: 0 / 493.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.4969, allocations: 0 / 493.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.4969, allocations: 22.61 kB / 493.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.499, allocations: 1.381 MB / 495.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.4994, allocations: 275.4 kB / 495.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4996, allocations: 134.2 kB / 495.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.4996, allocations: 21.19 kB / 495.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4997, allocations: 43.02 kB / 495.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.4997, allocations: 0 / 495.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006288/0.5003, allocations: 296.7 kB / 496 MB, free: 10.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5004, allocations: 106.9 kB / 496.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.5006, allocations: 226.8 kB / 496.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.5007, allocations: 25.7 kB / 496.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5008, allocations: 232 kB / 496.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.5009, allocations: 67.48 kB / 496.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.5009, allocations: 4.062 kB / 496.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.501, allocations: 336.7 kB / 496.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5012, allocations: 134 kB / 497.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.5015, allocations: 246.2 kB / 497.3 MB, free: 9.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.5018, allocations: 173.9 kB / 497.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5018, allocations: 0 / 497.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000649/0.5024, allocations: 418.2 kB / 497.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5025, allocations: 3.875 kB / 497.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.912e-05/0.5025, allocations: 44.28 kB / 497.9 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5026, allocations: 11.28 kB / 497.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.5028, allocations: 54.44 kB / 498 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5029, allocations: 11.67 kB / 498 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.5032, allocations: 43.66 kB / 498 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.5032, allocations: 15.47 kB / 498.1 MB, free: 9.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001017/0.5033, allocations: 122.1 kB / 498.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.5034, allocations: 23.41 kB / 498.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.5041, allocations: 481 kB / 498.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5042, allocations: 7.953 kB / 498.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5042, allocations: 0 / 498.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5042, allocations: 3.906 kB / 498.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.5047, allocations: 353.7 kB / 499 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.959e-05/0.5048, allocations: 35.22 kB / 499.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.5049, allocations: 35.34 kB / 499.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5049, allocations: 0 / 499.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.505, allocations: 11.7 kB / 499.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.505, allocations: 0 / 499.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.505, allocations: 3.781 kB / 499.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005321/0.5055, allocations: 0.5679 MB / 499.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.5057, allocations: 148.9 kB / 499.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.5057, allocations: 0 / 499.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.506, allocations: 34.72 kB / 499.9 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.5061, allocations: 19.28 kB / 499.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5062, allocations: 14.55 kB / 499.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001136/0.5063, allocations: 170.9 kB / 0.4883 GB, free: 8.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000709/0.507, allocations: 159.1 kB / 0.4885 GB, free: 8.613 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004623/0.5075, allocations: 211.6 kB / 0.4887 GB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.5081, allocations: 0.6164 MB / 0.4893 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5081, allocations: 0 / 0.4893 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.5084, allocations: 461.8 kB / 0.4897 GB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5087, allocations: 22.23 kB / 0.4898 GB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.5104, allocations: 0.6259 MB / 0.4904 GB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.5109, allocations: 0.9027 MB / 0.4912 GB, free: 22.54 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5109, allocations: 0 / 0.4912 GB, free: 22.54 MB / 346.7 MB Notification: Performance of Templates: time 0.008961/0.5198, allocations: 5.188 MB / 0.4963 GB, free: 19.91 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)