Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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.Channel.kc_evenGapLaminar_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") [: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.004502/0.004502, allocations: 175.9 kB / 7.445 MB, free: 2.32 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.39 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.001724/0.001724, allocations: 116.3 kB / 217.7 MB, free: 8.156 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.2167/0.2167, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.373e-05, allocations: 1.594 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 48.7 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5932, allocations: 81.2 MB / 479.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.5937, allocations: 95.06 kB / 479.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03421/0.6279, allocations: 13.63 MB / 493.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.628, allocations: 3.875 kB / 493.1 MB, free: 11.86 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0008875/0.6289, allocations: 0.6262 MB / 493.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6289, allocations: 12.28 kB / 493.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.629, allocations: 58.12 kB / 493.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.6294, allocations: 300.8 kB / 494.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.6295, allocations: 23.25 kB / 494.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.6295, allocations: 27.19 kB / 494.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000848/0.6304, allocations: 0.6532 MB / 494.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.6313, allocations: 0.6131 MB / 495.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.6313, allocations: 0 / 495.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.6313, allocations: 0 / 495.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.6314, allocations: 43.88 kB / 495.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.6334, allocations: 1.316 MB / 496.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.6341, allocations: 0.5536 MB / 497.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.6343, allocations: 178.4 kB / 497.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.6344, allocations: 19.17 kB / 497.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6344, allocations: 38.5 kB / 497.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.803e-06/0.6344, allocations: 0 / 497.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006845/0.6351, allocations: 437.8 kB / 498 MB, free: 10.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.6351, allocations: 55.25 kB / 498.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.6353, allocations: 169.4 kB / 498.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6353, allocations: 29.58 kB / 498.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.6354, allocations: 232.8 kB / 498.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.6355, allocations: 120.5 kB / 498.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.6355, allocations: 4 kB / 498.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.6357, allocations: 337.4 kB / 499 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.6359, allocations: 170.5 kB / 499.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.6362, allocations: 267.2 kB / 499.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.6364, allocations: 219.9 kB / 499.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6365, allocations: 7.875 kB / 499.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006612/0.6371, allocations: 0.4974 MB / 0.4884 GB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6371, allocations: 3.875 kB / 0.4884 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6372, allocations: 3.875 kB / 0.4884 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6372, allocations: 8.188 kB / 0.4884 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6383, allocations: 218.9 kB / 0.4886 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.6421, allocations: 7.414 MB / 0.4958 GB, free: 17.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.6424, allocations: 31.48 kB / 0.4959 GB, free: 17.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.6425, allocations: 26.78 kB / 0.4959 GB, free: 17.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.6427, allocations: 124.5 kB / 0.496 GB, free: 17.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.6427, allocations: 19.47 kB / 0.496 GB, free: 17.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.6438, allocations: 0.6314 MB / 0.4967 GB, free: 17.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6438, allocations: 3.875 kB / 0.4967 GB, free: 17.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6438, allocations: 7.844 kB / 0.4967 GB, free: 17.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6438, allocations: 0 / 0.4967 GB, free: 17.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.6444, allocations: 401.7 kB / 0.497 GB, free: 17.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6444, allocations: 0 / 0.497 GB, free: 17.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.6454, allocations: 210.7 kB / 0.4972 GB, free: 16.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.6455, allocations: 0 / 0.4972 GB, free: 16.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.6455, allocations: 15.17 kB / 0.4973 GB, free: 16.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005795/0.6513, allocations: 7.404 MB / 0.5045 GB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6514, allocations: 3.906 kB / 0.5045 GB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008291/0.6522, allocations: 0.5361 MB / 0.505 GB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6523, allocations: 108.4 kB / 0.5051 GB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.6524, allocations: 0 / 0.5051 GB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6526, allocations: 19.83 kB / 0.5051 GB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.6528, allocations: 26.89 kB / 0.5052 GB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.6528, allocations: 14.81 kB / 0.5052 GB, free: 9.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001539/0.653, allocations: 134.3 kB / 0.5053 GB, free: 9.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008118/0.6538, allocations: 163 kB / 0.5055 GB, free: 9.227 MB / 346.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004515/0.6542, allocations: 180.5 kB / 0.5056 GB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.6558, allocations: 0.5756 MB / 0.5062 GB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6559, allocations: 0 / 0.5062 GB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.657, allocations: 392.1 kB / 0.5066 GB, free: 8.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.6573, allocations: 19.22 kB / 0.5066 GB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6589, allocations: 0.6896 MB / 0.5073 GB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.6595, allocations: 0.9581 MB / 0.5082 GB, free: 7.762 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6595, allocations: 0 / 0.5082 GB, free: 7.762 MB / 346.7 MB Notification: Performance of Templates: time 0.01068/0.6702, allocations: 6.013 MB / 0.5141 GB, free: 4.812 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1)