Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [: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.004524/0.004524, allocations: 179.8 kB / 7.451 MB, free: 2.512 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.424/1.424, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001748/0.001748, allocations: 119.8 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.1791/0.1791, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.025e-06, allocations: 1.062 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6146, allocations: 81.57 MB / 479.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.615, allocations: 95.25 kB / 479.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0538/0.6688, allocations: 13.31 MB / 493.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.6689, allocations: 7.75 kB / 493.2 MB, free: 12.48 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00163/0.6705, allocations: 0.629 MB / 493.8 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.6706, allocations: 11.75 kB / 493.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.6708, allocations: 42.97 kB / 493.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.6714, allocations: 282.7 kB / 494.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.6715, allocations: 19.55 kB / 494.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.6715, allocations: 19.38 kB / 494.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000976/0.6725, allocations: 340.3 kB / 494.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.6738, allocations: 492.9 kB / 495 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6738, allocations: 0 / 495 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.6739, allocations: 0 / 495 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.6739, allocations: 17.64 kB / 495 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.6768, allocations: 1.169 MB / 496.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.6775, allocations: 284.1 kB / 496.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.6778, allocations: 129 kB / 496.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.6779, allocations: 3.875 kB / 496.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6779, allocations: 37.91 kB / 496.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.335e-06/0.6779, allocations: 4 kB / 496.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009673/0.6789, allocations: 301.7 kB / 497 MB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.679, allocations: 109.6 kB / 497.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.6793, allocations: 206 kB / 497.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.6794, allocations: 25.81 kB / 497.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.6795, allocations: 211.6 kB / 497.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.6796, allocations: 55.52 kB / 497.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.6796, allocations: 0 / 497.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.6798, allocations: 336.2 kB / 497.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.6801, allocations: 116.3 kB / 498 MB, free: 9.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.6804, allocations: 201.5 kB / 498.2 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.6808, allocations: 151.5 kB / 498.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6808, allocations: 0 / 498.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009486/0.6818, allocations: 364.5 kB / 498.7 MB, free: 9.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.6818, allocations: 7.75 kB / 498.7 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.6819, allocations: 35.25 kB / 498.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.682, allocations: 3.969 kB / 498.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.6823, allocations: 42.78 kB / 498.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6823, allocations: 3.969 kB / 498.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.6827, allocations: 43 kB / 498.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.6828, allocations: 14.91 kB / 498.8 MB, free: 9.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001408/0.6829, allocations: 116.7 kB / 499 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6831, allocations: 19.47 kB / 499 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.6843, allocations: 454.4 kB / 499.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6844, allocations: 7.781 kB / 499.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6844, allocations: 7.828 kB / 499.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.6844, allocations: 3.984 kB / 499.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.6853, allocations: 346.1 kB / 499.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/0.6854, allocations: 27.33 kB / 499.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.6856, allocations: 35.03 kB / 499.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.6857, allocations: 3.938 kB / 499.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.6857, allocations: 14.08 kB / 499.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6857, allocations: 3.906 kB / 499.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6858, allocations: 0 / 499.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008339/0.6866, allocations: 0.5668 MB / 0.4887 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.6868, allocations: 140.4 kB / 0.4888 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.6869, allocations: 3.906 kB / 0.4888 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.6874, allocations: 27.39 kB / 0.4889 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.6876, allocations: 22.53 kB / 0.4889 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.6876, allocations: 11.38 kB / 0.4889 GB, free: 8.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001905/0.6878, allocations: 163.2 kB / 0.489 GB, free: 8.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001213/0.6891, allocations: 140.3 kB / 0.4892 GB, free: 8.379 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0007597/0.6898, allocations: 230 kB / 0.4894 GB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.6907, allocations: 0.5064 MB / 0.4899 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6907, allocations: 0 / 0.4899 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.6911, allocations: 372.4 kB / 0.4903 GB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.6917, allocations: 39.22 kB / 0.4903 GB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.6934, allocations: 0.5356 MB / 0.4908 GB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.6939, allocations: 0.8768 MB / 0.4917 GB, free: 6.531 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6939, allocations: 0 / 0.4917 GB, free: 6.531 MB / 330.7 MB Notification: Performance of Templates: time 0.01316/0.7071, allocations: 4.943 MB / 0.4965 GB, free: 4.012 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)