Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 183.4 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 110.4 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6585/0.6585, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3402/0.9988, allocations: 89.71 MB / 0.529 GB, free: 51.68 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/1.108, allocations: 82.85 MB / 0.6099 GB, free: 2.742 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/1.572, allocations: 125.1 MB / 0.7321 GB, free: 4.195 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/1.573, allocations: 58.3 kB / 0.7322 GB, free: 4.176 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.1839/1.757, allocations: 63.26 MB / 0.7939 GB, free: 9.246 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.757, allocations: 8 kB / 0.7939 GB, free: 9.238 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.758, allocations: 320.3 kB / 0.7942 GB, free: 8.918 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/1.773, allocations: 6.913 MB / 0.801 GB, free: 2.035 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/1.773, allocations: 107.9 kB / 0.8011 GB, free: 1.93 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/1.774, allocations: 338.8 kB / 0.8014 GB, free: 1.637 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01143/1.786, allocations: 7.305 MB / 0.8086 GB, free: 11.26 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/1.797, allocations: 4.093 MB / 0.8126 GB, free: 7.973 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.797, allocations: 0 / 0.8126 GB, free: 7.973 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008995/1.798, allocations: 0 / 0.8126 GB, free: 7.973 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/1.798, allocations: 76 kB / 0.8126 GB, free: 7.898 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006911/1.805, allocations: 3.784 MB / 0.8163 GB, free: 4.648 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02333/1.828, allocations: 10.29 MB / 0.8264 GB, free: 11.96 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005735/1.834, allocations: 3.372 MB / 0.8297 GB, free: 9.547 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007389/1.835, allocations: 238.5 kB / 0.8299 GB, free: 9.312 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.743e-05/1.835, allocations: 126.8 kB / 0.83 GB, free: 9.227 MB / 0.589 GB Notification: Performance of pre-optimization done (n=803): time 1.015e-05/1.835, allocations: 0 / 0.83 GB, free: 9.227 MB / 0.589 GB Notification: Performance of matching and sorting (n=803): time 0.02623/1.861, allocations: 9.024 MB / 0.8388 GB, free: 1.691 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.861, allocations: 133.7 kB / 0.839 GB, free: 1.547 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/1.862, allocations: 472.4 kB / 0.8394 GB, free: 1.152 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0009144/1.863, allocations: 25.7 kB / 0.8394 GB, free: 1.121 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/1.863, allocations: 151.8 kB / 0.8396 GB, free: 0.9883 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.002896/1.866, allocations: 2.982 MB / 0.8425 GB, free: 14.37 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008745/1.867, allocations: 4 kB / 0.8425 GB, free: 14.37 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0005807/1.867, allocations: 0.7222 MB / 0.8432 GB, free: 13.79 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006377/1.874, allocations: 3.765 MB / 0.8469 GB, free: 10.99 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006465/1.88, allocations: 3.81 MB / 0.8506 GB, free: 8.16 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/1.898, allocations: 6.393 MB / 0.8568 GB, free: 2.82 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.672e-05/1.898, allocations: 0 / 0.8568 GB, free: 2.82 MB / 0.6046 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02865/1.927, allocations: 11.46 MB / 0.868 GB, free: 9.348 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.927, allocations: 8 kB / 0.868 GB, free: 9.34 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/1.927, allocations: 4 kB / 0.868 GB, free: 9.336 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.994e-05/1.927, allocations: 36 kB / 0.8681 GB, free: 9.301 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0311/1.958, allocations: 2.136 MB / 0.8702 GB, free: 7.23 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001494/1.958, allocations: 39.98 kB / 0.8702 GB, free: 7.191 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/1.962, allocations: 405.3 kB / 0.8706 GB, free: 6.789 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.964, allocations: 303.6 kB / 0.8709 GB, free: 6.562 MB / 0.6203 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1124): * Single equations (assignments): 1124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00254/1.967, allocations: 211.3 kB / 0.8711 GB, free: 6.348 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.968, allocations: 324.2 kB / 0.8714 GB, free: 6.027 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03509/2.003, allocations: 12.18 MB / 0.8833 GB, free: 12.2 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.54e-05/2.003, allocations: 111.9 kB / 0.8834 GB, free: 12.09 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/2.003, allocations: 0 / 0.8834 GB, free: 12.09 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001967/2.004, allocations: 59.73 kB / 0.8834 GB, free: 12.03 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008587/2.012, allocations: 4.58 MB / 0.8879 GB, free: 8.148 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/2.012, allocations: 0 / 0.8879 GB, free: 8.148 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03498/2.047, allocations: 2.407 MB / 0.8903 GB, free: 5.824 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/2.048, allocations: 36 kB / 0.8903 GB, free: 5.789 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001825/2.049, allocations: 277.8 kB / 0.8906 GB, free: 5.559 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.57e-05/2.049, allocations: 36 kB / 0.8906 GB, free: 5.523 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/2.049, allocations: 0 / 0.8906 GB, free: 5.523 MB / 0.6359 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03305/2.082, allocations: 15.63 MB / 0.9059 GB, free: 9.156 MB / 0.6515 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04207/2.125, allocations: 21.21 MB / 0.9266 GB, free: 8.668 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003684/2.128, allocations: 1.338 MB / 0.9279 GB, free: 7.383 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/2.13, allocations: 147.8 kB / 0.928 GB, free: 7.238 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/2.133, allocations: 3.906 kB / 0.928 GB, free: 7.234 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009903/2.134, allocations: 0.5557 MB / 0.9286 GB, free: 6.742 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000658/2.135, allocations: 325.5 kB / 0.9289 GB, free: 6.496 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.0003928/2.135, allocations: 373 kB / 0.9292 GB, free: 6.195 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.004007/2.139, allocations: 1.387 MB / 0.9306 GB, free: 4.812 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 321 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],Tu[81],Tu[82],Tu[83],Tu[84],Tu[85],Tu[86],Tu[87],Tu[88],Tu[89],Tu[90],Tu[91],Tu[92],Tu[93],Tu[94],Tu[95],Tu[96],Tu[97],Tu[98],Tu[99],Tu[100],Tu[101],Tu[102],Tu[103],Tu[104],Tu[105],Tu[106],Tu[107],Tu[108],Tu[109],Tu[110],Tu[111],Tu[112],Tu[113],Tu[114],Tu[115],Tu[116],Tu[117],Tu[118],Tu[119],Tu[120],Tu[121],Tu[122],Tu[123],Tu[124],Tu[125],Tu[126],Tu[127],Tu[128],Tu[129],Tu[130],Tu[131],Tu[132],Tu[133],Tu[134],Tu[135],Tu[136],Tu[137],Tu[138],Tu[139],Tu[140],Tu[141],Tu[142],Tu[143],Tu[144],Tu[145],Tu[146],Tu[147],Tu[148],Tu[149],Tu[150],Tu[151],Tu[152],Tu[153],Tu[154],Tu[155],Tu[156],Tu[157],Tu[158],Tu[159],Tu[160],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],x[101],x[102],x[103],x[104],x[105],x[106],x[107],x[108],x[109],x[110],x[111],x[112],x[113],x[114],x[115],x[116],x[117],x[118],x[119],x[120],x[121],x[122],x[123],x[124],x[125],x[126],x[127],x[128],x[129],x[130],x[131],x[132],x[133],x[134],x[135],x[136],x[137],x[138],x[139],x[140],x[141],x[142],x[143],x[144],x[145],x[146],x[147],x[148],x[149],x[150],x[151],x[152],x[153],x[154],x[155],x[156],x[157],x[158],x[159],x[160]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1124): * Single equations (assignments): 1124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008827/2.14, allocations: 374.3 kB / 0.9309 GB, free: 4.449 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01416/2.154, allocations: 9.024 MB / 0.9398 GB, free: 13.52 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.154, allocations: 4 kB / 0.9398 GB, free: 13.51 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.008833/2.163, allocations: 4.913 MB / 0.9446 GB, free: 9.777 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/2.166, allocations: 402.5 kB / 0.9449 GB, free: 9.465 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1855/2.351, allocations: 22.1 MB / 0.9665 GB, free: 313.3 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006278/2.358, allocations: 4.288 MB / 0.9707 GB, free: 312.5 MB / 0.6828 GB Notification: Performance of SimCode: time 7.01e-07/2.358, allocations: 0 / 0.9707 GB, free: 312.5 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160.pipe 2>&1)