Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.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.Advection.ScaledExperiments.SteamPipe_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_40",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.001029/0.001029, allocations: 186 kB / 8.136 MB, free: 2.219 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.071/1.071, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.000853/0.000853, allocations: 92.11 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5932/0.5932, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3008/0.8941, allocations: 88.97 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.9947, allocations: 82.85 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.967/4.961, allocations: 2.809 GB / 3.418 GB, free: 215.9 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/4.962, allocations: 69.5 kB / 3.418 GB, free: 215.9 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 * Number of variables: 566 Notification: Performance of Generate backend data structure: time 0.2813/5.243, allocations: 122 MB / 3.537 GB, free: 103.6 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/5.243, allocations: 8 kB / 3.537 GB, free: 103.6 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/5.244, allocations: 333.5 kB / 3.538 GB, free: 103.3 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/5.246, allocations: 0.8206 MB / 3.538 GB, free: 102.4 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/5.246, allocations: 75.91 kB / 3.538 GB, free: 102.4 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/5.246, allocations: 163.7 kB / 3.539 GB, free: 102.2 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003202/5.249, allocations: 2.617 MB / 3.541 GB, free: 99.57 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/5.253, allocations: 2.856 MB / 3.544 GB, free: 96.54 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/5.253, allocations: 7.938 kB / 3.544 GB, free: 96.53 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/5.253, allocations: 4 kB / 3.544 GB, free: 96.52 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/5.253, allocations: 56 kB / 3.544 GB, free: 96.47 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007866/5.261, allocations: 8.401 MB / 3.552 GB, free: 87.86 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/5.263, allocations: 2.656 MB / 3.555 GB, free: 85.21 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/5.265, allocations: 1.409 MB / 3.556 GB, free: 83.79 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0527/5.318, allocations: 32.08 MB / 3.587 GB, free: 47.87 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/5.318, allocations: 64.78 kB / 3.588 GB, free: 47.8 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=282): time 4.218e-06/5.318, allocations: 0 / 3.588 GB, free: 47.8 MB / 0.6984 GB Notification: Performance of matching and sorting (n=402): time 0.03341/5.351, allocations: 15.51 MB / 3.603 GB, free: 32.52 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/5.351, allocations: 94.56 kB / 3.603 GB, free: 32.41 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/5.351, allocations: 259.9 kB / 3.603 GB, free: 32.15 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/5.351, allocations: 25.7 kB / 3.603 GB, free: 32.12 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/5.352, allocations: 475.6 kB / 3.603 GB, free: 31.64 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006457/5.352, allocations: 1.424 MB / 3.605 GB, free: 30.2 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/5.352, allocations: 3.938 kB / 3.605 GB, free: 30.19 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0001217/5.353, allocations: 487.6 kB / 3.605 GB, free: 29.7 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/5.355, allocations: 2.144 MB / 3.607 GB, free: 27.55 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/5.357, allocations: 2.608 MB / 3.61 GB, free: 24.8 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/5.362, allocations: 2.621 MB / 3.613 GB, free: 22.18 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/5.362, allocations: 0 / 3.613 GB, free: 22.18 MB / 0.6984 GB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01101/5.373, allocations: 7.102 MB / 3.619 GB, free: 14.94 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/5.373, allocations: 11.91 kB / 3.619 GB, free: 14.93 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/5.373, allocations: 8 kB / 3.619 GB, free: 14.92 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/5.376, allocations: 1.458 MB / 3.621 GB, free: 13.34 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/5.379, allocations: 0.8816 MB / 3.622 GB, free: 12.45 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1792/5.558, allocations: 23.38 MB / 3.645 GB, free: 228.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/5.56, allocations: 93.88 kB / 3.645 GB, free: 228.1 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/5.56, allocations: 173.3 kB / 3.645 GB, free: 228.1 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 40 (state[40].phase,state[39].phase,state[38].phase,state[37].phase,state[36].phase,state[35].phase,state[34].phase,state[33].phase,state[32].phase,state[31].phase,state[30].phase,state[29].phase,state[28].phase,state[27].phase,state[26].phase,state[25].phase,state[24].phase,state[23].phase,state[22].phase,state[21].phase,state[20].phase,state[19].phase,state[18].phase,state[17].phase,state[16].phase,state[15].phase,state[14].phase,state[13].phase,state[12].phase,state[11].phase,state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 442 * 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: 40 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 40 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005819/5.561, allocations: 200.8 kB / 3.645 GB, free: 228 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/5.563, allocations: 0.9513 MB / 3.646 GB, free: 228 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/5.579, allocations: 18.57 MB / 3.664 GB, free: 226.6 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.449e-05/5.579, allocations: 162.2 kB / 3.664 GB, free: 226.6 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/5.58, allocations: 2.438 kB / 3.664 GB, free: 226.6 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/5.58, allocations: 29.25 kB / 3.664 GB, free: 226.6 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/5.584, allocations: 5.65 MB / 3.67 GB, free: 226.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/5.584, allocations: 1.312 kB / 3.67 GB, free: 226.4 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/5.586, allocations: 0.6618 MB / 3.67 GB, free: 226.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/5.591, allocations: 2.435 MB / 3.673 GB, free: 226 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/5.592, allocations: 136.4 kB / 3.673 GB, free: 226 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/5.602, allocations: 25.68 MB / 3.698 GB, free: 205.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/5.602, allocations: 0 / 3.698 GB, free: 205.2 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01772/5.619, allocations: 20.22 MB / 3.718 GB, free: 198.4 MB / 0.6984 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02185/5.641, allocations: 26.19 MB / 3.743 GB, free: 187.3 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/5.642, allocations: 339.2 kB / 3.744 GB, free: 187.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/5.642, allocations: 74.98 kB / 3.744 GB, free: 187.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/5.643, allocations: 83.05 kB / 3.744 GB, free: 187.1 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/5.644, allocations: 248.4 kB / 3.744 GB, free: 187 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/5.644, allocations: 147 kB / 3.744 GB, free: 187 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.0001228/5.644, allocations: 177.2 kB / 3.744 GB, free: 186.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.005125/5.649, allocations: 1.657 MB / 3.746 GB, free: 186.8 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15],p[16],p[17],p[18],p[19],p[20],p[21],p[22],p[23],p[24],p[25],p[26],p[27],p[28],p[29],p[30],p[31],p[32],p[33],p[34],p[35],p[36],p[37],p[38],p[39],p[40],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15],h[16],h[17],h[18],h[19],h[20],h[21],h[22],h[23],h[24],h[25],h[26],h[27],h[28],h[29],h[30],h[31],h[32],h[33],h[34],h[35],h[36],h[37],h[38],h[39],h[40]) * Number of discrete variables: 80 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (402): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 40 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 40 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003744/5.653, allocations: 1.247 MB / 3.747 GB, free: 186.7 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.009865/5.663, allocations: 9.883 MB / 3.757 GB, free: 183.3 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.663, allocations: 0 / 3.757 GB, free: 183.3 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.009049/5.672, allocations: 8.555 MB / 3.765 GB, free: 179.4 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/5.675, allocations: 0.6828 MB / 3.766 GB, free: 179.3 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/5.69, allocations: 15.71 MB / 3.781 GB, free: 170.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/5.692, allocations: 2.895 MB / 3.784 GB, free: 168.1 MB / 0.6984 GB Notification: Performance of SimCode: time 9.92e-07/5.692, allocations: 0 / 3.784 GB, free: 168.1 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe 2>&1)