Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",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.001113/0.001113, allocations: 181.9 kB / 8.135 MB, free: 2.133 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.062/1.062, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0009017/0.0009017, allocations: 101 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6184/0.6184, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3044/0.9228, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/1.024, allocations: 82.84 MB / 0.6092 GB, free: 3.496 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.875/4.899, allocations: 2.809 GB / 3.418 GB, free: 216.9 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/4.899, allocations: 58.25 kB / 3.418 GB, free: 216.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.2398/5.139, allocations: 102.2 MB / 3.518 GB, free: 125.2 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/5.139, allocations: 12 kB / 3.518 GB, free: 125.2 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/5.14, allocations: 99.3 kB / 3.518 GB, free: 125.1 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/5.14, allocations: 346.3 kB / 3.518 GB, free: 124.7 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/5.14, allocations: 20 kB / 3.518 GB, free: 124.7 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/5.14, allocations: 43.91 kB / 3.518 GB, free: 124.6 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008466/5.141, allocations: 0.67 MB / 3.519 GB, free: 124 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/5.142, allocations: 0.7457 MB / 3.52 GB, free: 123.2 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/5.142, allocations: 0 / 3.52 GB, free: 123.2 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/5.142, allocations: 3.984 kB / 3.52 GB, free: 123.2 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/5.142, allocations: 16 kB / 3.52 GB, free: 123.2 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/5.144, allocations: 2.278 MB / 3.522 GB, free: 120.8 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/5.145, allocations: 0.6694 MB / 3.523 GB, free: 120.1 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/5.145, allocations: 362.7 kB / 3.523 GB, free: 119.8 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05534/5.201, allocations: 32.02 MB / 3.554 GB, free: 83.92 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/5.201, allocations: 43.42 kB / 3.554 GB, free: 83.87 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/5.201, allocations: 0 / 3.554 GB, free: 83.87 MB / 0.6984 GB Notification: Performance of matching and sorting (n=102): time 0.00892/5.21, allocations: 3.941 MB / 3.558 GB, free: 79.88 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/5.21, allocations: 64.39 kB / 3.558 GB, free: 79.8 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/5.21, allocations: 158.2 kB / 3.558 GB, free: 79.64 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/5.21, allocations: 29.7 kB / 3.558 GB, free: 79.61 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/5.21, allocations: 185 kB / 3.559 GB, free: 79.42 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/5.21, allocations: 366.6 kB / 3.559 GB, free: 79.05 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/5.21, allocations: 0 / 3.559 GB, free: 79.05 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/5.21, allocations: 358.8 kB / 3.559 GB, free: 78.7 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/5.211, allocations: 0.5335 MB / 3.56 GB, free: 78.16 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/5.212, allocations: 0.6647 MB / 3.56 GB, free: 77.46 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/5.213, allocations: 0.6547 MB / 3.561 GB, free: 76.81 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/5.213, allocations: 4 kB / 3.561 GB, free: 76.8 MB / 0.6984 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00278/5.216, allocations: 1.811 MB / 3.563 GB, free: 74.96 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/5.216, allocations: 4 kB / 3.563 GB, free: 74.95 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/5.216, allocations: 4 kB / 3.563 GB, free: 74.95 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/5.216, allocations: 380.3 kB / 3.563 GB, free: 74.55 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/5.217, allocations: 223.7 kB / 3.563 GB, free: 74.33 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/5.22, allocations: 5.848 MB / 3.569 GB, free: 68.22 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/5.22, allocations: 23.91 kB / 3.569 GB, free: 68.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/5.22, allocations: 40 kB / 3.569 GB, free: 68.16 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (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 (122): * Single equations (assignments): 112 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.0001702/5.22, allocations: 132.8 kB / 3.569 GB, free: 68.02 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/5.221, allocations: 255.2 kB / 3.57 GB, free: 67.77 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/5.225, allocations: 4.668 MB / 3.574 GB, free: 63.03 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/5.225, allocations: 43.94 kB / 3.574 GB, free: 62.99 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/5.225, allocations: 0 / 3.574 GB, free: 62.99 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/5.225, allocations: 3.984 kB / 3.574 GB, free: 62.98 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/5.226, allocations: 1.517 MB / 3.576 GB, free: 61.43 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/5.226, allocations: 4 kB / 3.576 GB, free: 61.42 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/5.227, allocations: 171.8 kB / 3.576 GB, free: 61.25 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/5.228, allocations: 0.601 MB / 3.576 GB, free: 60.62 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/5.228, allocations: 39.86 kB / 3.576 GB, free: 60.58 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/5.231, allocations: 6.421 MB / 3.583 GB, free: 53.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/5.231, allocations: 0 / 3.583 GB, free: 53.9 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004612/5.235, allocations: 5.173 MB / 3.588 GB, free: 48.64 MB / 0.6984 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005551/5.241, allocations: 6.951 MB / 3.595 GB, free: 41.57 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/5.241, allocations: 144.1 kB / 3.595 GB, free: 41.41 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/5.241, allocations: 23.97 kB / 3.595 GB, free: 41.39 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/5.242, allocations: 19.83 kB / 3.595 GB, free: 41.37 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/5.242, allocations: 64.89 kB / 3.595 GB, free: 41.31 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/5.242, allocations: 35.98 kB / 3.595 GB, free: 41.27 MB / 0.6984 GB Notification: Performance of sort global known variables: time 6.397e-05/5.242, allocations: 119.8 kB / 3.595 GB, free: 41.16 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004294/5.246, allocations: 1.042 MB / 3.596 GB, free: 40.11 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10]) * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.005918/5.252, allocations: 1.16 MB / 3.597 GB, free: 38.95 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.002817/5.255, allocations: 2.483 MB / 3.599 GB, free: 36.45 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.255, allocations: 0.625 kB / 3.599 GB, free: 36.45 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/5.257, allocations: 2.144 MB / 3.602 GB, free: 34.3 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/5.258, allocations: 175.8 kB / 3.602 GB, free: 34.13 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/5.262, allocations: 3.907 MB / 3.606 GB, free: 30.2 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/5.263, allocations: 1.256 MB / 3.607 GB, free: 28.92 MB / 0.6984 GB Notification: Performance of SimCode: time 4.71e-07/5.263, allocations: 0 / 3.607 GB, free: 28.92 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1)