Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.2+maint.om/package.mo): time 0.004422/0.004422, allocations: 185.7 kB / 7.458 MB, free: 2.512 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.255/1.255, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001671/0.001671, allocations: 124.3 kB / 247.1 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1645/0.1645, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.022e-06/6.062e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09348, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/0.3615, allocations: 87.92 MB / 0.523 GB, free: 8.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3618, allocations: 97.52 kB / 0.5231 GB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02886/0.3907, allocations: 11.8 MB / 0.5347 GB, free: 1.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.3907, allocations: 4 kB / 0.5347 GB, free: 1.641 MB / 346.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.0009858/0.3917, allocations: 0.6615 MB / 0.5353 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3918, allocations: 12.03 kB / 0.5353 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3919, allocations: 51.34 kB / 0.5354 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.3923, allocations: 292.1 kB / 0.5356 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3923, allocations: 12 kB / 0.5357 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.3924, allocations: 31.91 kB / 0.5357 GB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005535/0.3929, allocations: 399.7 kB / 0.5361 GB, free: 256 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.3937, allocations: 0.5808 MB / 0.5366 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.3938, allocations: 4 kB / 0.5366 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3938, allocations: 0 / 0.5366 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.3938, allocations: 21 kB / 0.5367 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.3959, allocations: 1.385 MB / 0.538 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.3963, allocations: 273.1 kB / 0.5383 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.3966, allocations: 129.4 kB / 0.5384 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.3966, allocations: 16.06 kB / 0.5384 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3967, allocations: 34.56 kB / 0.5384 GB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.437e-06/0.3967, allocations: 3.984 kB / 0.5385 GB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006549/0.3973, allocations: 306 kB / 0.5387 GB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3974, allocations: 106.8 kB / 0.5388 GB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.3977, allocations: 222.1 kB / 0.5391 GB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3977, allocations: 25.7 kB / 0.5391 GB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3979, allocations: 237.5 kB / 0.5393 GB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.3979, allocations: 62.52 kB / 0.5394 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.398, allocations: 0 / 0.5394 GB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3981, allocations: 337.3 kB / 0.5397 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3984, allocations: 133.5 kB / 0.5398 GB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3987, allocations: 243.6 kB / 0.54 GB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3989, allocations: 174.6 kB / 0.5402 GB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3989, allocations: 0 / 0.5402 GB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000659/0.3996, allocations: 415.7 kB / 0.5406 GB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3996, allocations: 8 kB / 0.5406 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.792e-05/0.3997, allocations: 43.89 kB / 0.5407 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3997, allocations: 4.531 kB / 0.5407 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4, allocations: 55.09 kB / 0.5407 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.4, allocations: 11.92 kB / 0.5407 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.4003, allocations: 43.73 kB / 0.5408 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.4004, allocations: 22.98 kB / 0.5408 GB, free: 11.69 MB / 362.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.0001276/0.4005, allocations: 116.9 kB / 0.5409 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.4006, allocations: 23.72 kB / 0.5409 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008439/0.4015, allocations: 482.6 kB / 0.5414 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4015, allocations: 4 kB / 0.5414 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4015, allocations: 0 / 0.5414 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4015, allocations: 0 / 0.5414 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.402, allocations: 353.4 kB / 0.5417 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.87e-05/0.4021, allocations: 35.97 kB / 0.5418 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.4023, allocations: 35.97 kB / 0.5418 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4023, allocations: 0 / 0.5418 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.4023, allocations: 14.78 kB / 0.5418 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4024, allocations: 3.984 kB / 0.5418 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4024, allocations: 4 kB / 0.5418 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006199/0.403, allocations: 0.5663 MB / 0.5424 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.4031, allocations: 96.77 kB / 0.5425 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.4031, allocations: 4 kB / 0.5425 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.4034, allocations: 31.97 kB / 0.5425 GB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.4035, allocations: 18.92 kB / 0.5425 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4036, allocations: 15.89 kB / 0.5425 GB, free: 9.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001486/0.4037, allocations: 169.9 kB / 0.5427 GB, free: 9.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007021/0.4044, allocations: 158.8 kB / 0.5428 GB, free: 9.633 MB / 362.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.0004303/0.4049, allocations: 204.6 kB / 0.543 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.4056, allocations: 0.6144 MB / 0.5436 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4056, allocations: 4.062 kB / 0.5436 GB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.406, allocations: 457.7 kB / 0.5441 GB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4064, allocations: 27.44 kB / 0.5441 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.4081, allocations: 0.6404 MB / 0.5447 GB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.4088, allocations: 0.9029 MB / 0.5456 GB, free: 6.699 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4088, allocations: 0 / 0.5456 GB, free: 6.699 MB / 362.7 MB Notification: Performance of Templates: time 0.00986/0.4186, allocations: 5.153 MB / 0.5506 GB, free: 1.582 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)