Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.0009891/0.0009892, allocations: 185.1 kB / 7.454 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.268/1.268, allocations: 194.2 MB / 202.1 MB, free: 13.18 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001739/0.001739, allocations: 125 kB / 247.1 MB, free: 180 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1438/0.1438, allocations: 39.95 MB / 331.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.51e-06, allocations: 0 / 392.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 54.87 MB / 447.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3196, allocations: 88.11 MB / 0.5232 GB, free: 5.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.3199, allocations: 99.92 kB / 0.5233 GB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.188/0.5079, allocations: 13.29 MB / 0.5363 GB, free: 87.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.508, allocations: 8.438 kB / 0.5363 GB, free: 87.12 MB / 378.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.0008196/0.5088, allocations: 0.6262 MB / 0.5369 GB, free: 86.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5089, allocations: 10.52 kB / 0.5369 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.509, allocations: 44.12 kB / 0.537 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.5093, allocations: 275.1 kB / 0.5372 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5093, allocations: 12.81 kB / 0.5372 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.5094, allocations: 25.88 kB / 0.5373 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005314/0.5099, allocations: 331.6 kB / 0.5376 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.5106, allocations: 491.7 kB / 0.5381 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5106, allocations: 5.188 kB / 0.5381 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.5106, allocations: 3.938 kB / 0.5381 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.5107, allocations: 18.12 kB / 0.5381 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.5123, allocations: 1.174 MB / 0.5392 GB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.5126, allocations: 279.5 kB / 0.5395 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5128, allocations: 128.3 kB / 0.5396 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.5129, allocations: 15.2 kB / 0.5396 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.5129, allocations: 44.36 kB / 0.5397 GB, free: 85.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.5129, allocations: 1.469 kB / 0.5397 GB, free: 85.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000562/0.5135, allocations: 290.1 kB / 0.54 GB, free: 85.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.5135, allocations: 113.5 kB / 0.5401 GB, free: 84.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5137, allocations: 203.8 kB / 0.5403 GB, free: 84.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5137, allocations: 25.7 kB / 0.5403 GB, free: 84.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.5138, allocations: 209.5 kB / 0.5405 GB, free: 84.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.5138, allocations: 58.28 kB / 0.5405 GB, free: 84.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.5139, allocations: 1.344 kB / 0.5405 GB, free: 84.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.5139, allocations: 331.9 kB / 0.5409 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5141, allocations: 125.2 kB / 0.541 GB, free: 84.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5143, allocations: 203.6 kB / 0.5412 GB, free: 83.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.5145, allocations: 149.7 kB / 0.5413 GB, free: 83.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5145, allocations: 1.188 kB / 0.5413 GB, free: 83.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005442/0.5151, allocations: 370.6 kB / 0.5417 GB, free: 83.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5151, allocations: 8.484 kB / 0.5417 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.101e-05/0.5152, allocations: 28.58 kB / 0.5417 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5152, allocations: 4.625 kB / 0.5417 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.5154, allocations: 48.89 kB / 0.5417 GB, free: 83.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5154, allocations: 6.781 kB / 0.5418 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.5156, allocations: 36.64 kB / 0.5418 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5157, allocations: 16.86 kB / 0.5418 GB, free: 83.7 MB / 378.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 7.967e-05/0.5158, allocations: 119.7 kB / 0.5419 GB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.5159, allocations: 20.56 kB / 0.5419 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.5166, allocations: 446.4 kB / 0.5424 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.5166, allocations: 11.89 kB / 0.5424 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5166, allocations: 1.125 kB / 0.5424 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5166, allocations: 0 / 0.5424 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.5171, allocations: 345.8 kB / 0.5427 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-05/0.5171, allocations: 34.84 kB / 0.5427 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5173, allocations: 35.59 kB / 0.5428 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5173, allocations: 1.312 kB / 0.5428 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.5174, allocations: 6.375 kB / 0.5428 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5174, allocations: 4.906 kB / 0.5428 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5174, allocations: 0.9375 kB / 0.5428 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004661/0.5178, allocations: 0.569 MB / 0.5433 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.5179, allocations: 96.77 kB / 0.5434 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.5179, allocations: 0 / 0.5434 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5182, allocations: 31.97 kB / 0.5435 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.5183, allocations: 15.92 kB / 0.5435 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.5183, allocations: 15.98 kB / 0.5435 GB, free: 82.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.672e-05/0.5184, allocations: 160.5 kB / 0.5436 GB, free: 82.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.519, allocations: 147.4 kB / 0.5438 GB, free: 82.02 MB / 378.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.000319/0.5193, allocations: 231.8 kB / 0.544 GB, free: 81.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.5197, allocations: 0.5074 MB / 0.5445 GB, free: 81.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5197, allocations: 128 / 0.5445 GB, free: 81.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.52, allocations: 383.2 kB / 0.5449 GB, free: 80.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.5203, allocations: 25.34 kB / 0.5449 GB, free: 80.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.5213, allocations: 0.5262 MB / 0.5454 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.5216, allocations: 0.8835 MB / 0.5463 GB, free: 79.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5216, allocations: 0 / 0.5463 GB, free: 79.32 MB / 378.7 MB Notification: Performance of Templates: time 0.006915/0.5285, allocations: 4.929 MB / 0.5511 GB, free: 74.42 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)