Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20",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.001055/0.001055, allocations: 183.8 kB / 8.136 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.069/1.069, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009493/0.0009493, allocations: 106.4 kB / 280.8 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6229/0.6229, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3152/0.9381, allocations: 88.96 MB / 0.5283 GB, free: 52.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/1.046, allocations: 82.85 MB / 0.6092 GB, free: 3.469 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.975, allocations: 2.809 GB / 3.418 GB, free: 234.2 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/4.976, allocations: 63.59 kB / 3.418 GB, free: 234.2 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.2538/5.229, allocations: 108.8 MB / 3.524 GB, free: 136.1 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/5.229, allocations: 12 kB / 3.524 GB, free: 136.1 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/5.23, allocations: 170.8 kB / 3.524 GB, free: 135.9 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/5.231, allocations: 0.4977 MB / 3.525 GB, free: 135.3 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/5.231, allocations: 36 kB / 3.525 GB, free: 135.3 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/5.231, allocations: 83.8 kB / 3.525 GB, free: 135.2 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001636/5.233, allocations: 1.316 MB / 3.526 GB, free: 133.9 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/5.235, allocations: 1.451 MB / 3.528 GB, free: 132.4 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/5.235, allocations: 0 / 3.528 GB, free: 132.4 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/5.235, allocations: 4 kB / 3.528 GB, free: 132.4 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/5.235, allocations: 28 kB / 3.528 GB, free: 132.3 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/5.239, allocations: 4.322 MB / 3.532 GB, free: 127.9 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/5.24, allocations: 1.325 MB / 3.533 GB, free: 126.6 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/5.241, allocations: 0.7036 MB / 3.534 GB, free: 125.9 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0548/5.296, allocations: 32.05 MB / 3.565 GB, free: 89.98 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/5.296, allocations: 55.81 kB / 3.565 GB, free: 89.91 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=142): time 3.406e-06/5.296, allocations: 0 / 3.565 GB, free: 89.91 MB / 0.6984 GB Notification: Performance of matching and sorting (n=202): time 0.0175/5.313, allocations: 7.742 MB / 3.573 GB, free: 82.2 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/5.313, allocations: 81.41 kB / 3.573 GB, free: 82.11 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/5.313, allocations: 177.8 kB / 3.573 GB, free: 81.93 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 8.683e-05/5.314, allocations: 25.7 kB / 3.573 GB, free: 81.89 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/5.314, allocations: 281.8 kB / 3.573 GB, free: 81.61 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/5.314, allocations: 0.72 MB / 3.574 GB, free: 80.88 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/5.314, allocations: 3.938 kB / 3.574 GB, free: 80.88 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/5.314, allocations: 398.7 kB / 3.575 GB, free: 80.48 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/5.315, allocations: 1.074 MB / 3.576 GB, free: 79.4 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/5.317, allocations: 1.305 MB / 3.577 GB, free: 78.02 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/5.319, allocations: 1.317 MB / 3.578 GB, free: 76.71 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/5.319, allocations: 0 / 3.578 GB, free: 76.71 MB / 0.6984 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005499/5.324, allocations: 3.577 MB / 3.582 GB, free: 73.06 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/5.324, allocations: 4 kB / 3.582 GB, free: 73.05 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/5.324, allocations: 4 kB / 3.582 GB, free: 73.05 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/5.326, allocations: 0.7278 MB / 3.582 GB, free: 72.26 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/5.327, allocations: 451.4 kB / 3.583 GB, free: 71.82 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/5.332, allocations: 11.7 MB / 3.594 GB, free: 59.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/5.333, allocations: 40.06 kB / 3.594 GB, free: 59.56 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/5.333, allocations: 87.97 kB / 3.594 GB, free: 59.48 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 20 (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 (242): * Single equations (assignments): 222 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {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.0002873/5.333, allocations: 155.4 kB / 3.594 GB, free: 59.32 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/5.335, allocations: 494.5 kB / 3.595 GB, free: 58.84 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/5.343, allocations: 9.304 MB / 3.604 GB, free: 49.38 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/5.343, allocations: 87.88 kB / 3.604 GB, free: 49.3 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/5.343, allocations: 4 kB / 3.604 GB, free: 49.29 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/5.343, allocations: 7.969 kB / 3.604 GB, free: 49.29 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/5.345, allocations: 2.895 MB / 3.607 GB, free: 46.34 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/5.345, allocations: 0 / 3.607 GB, free: 46.34 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/5.346, allocations: 339.6 kB / 3.607 GB, free: 46.01 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/5.349, allocations: 1.218 MB / 3.608 GB, free: 44.73 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/5.349, allocations: 75.81 kB / 3.609 GB, free: 44.66 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/5.354, allocations: 12.82 MB / 3.621 GB, free: 31.32 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/5.354, allocations: 8.219 kB / 3.621 GB, free: 31.31 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008852/5.362, allocations: 10.19 MB / 3.631 GB, free: 20.94 MB / 0.6984 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01094/5.373, allocations: 13.36 MB / 3.644 GB, free: 7.383 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/5.374, allocations: 211 kB / 3.644 GB, free: 7.156 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/5.374, allocations: 39.95 kB / 3.644 GB, free: 7.117 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/5.374, allocations: 39.81 kB / 3.644 GB, free: 7.078 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/5.375, allocations: 129.7 kB / 3.644 GB, free: 6.953 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/5.375, allocations: 75.89 kB / 3.645 GB, free: 6.879 MB / 0.6984 GB Notification: Performance of sort global known variables: time 7.642e-05/5.375, allocations: 144.3 kB / 3.645 GB, free: 6.738 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004469/5.379, allocations: 1.242 MB / 3.646 GB, free: 5.496 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * Number of discrete variables: 40 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {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.005526/5.385, allocations: 1.192 MB / 3.647 GB, free: 4.297 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.1658/5.551, allocations: 4.947 MB / 3.652 GB, free: 271.1 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.551, allocations: 3.5 kB / 3.652 GB, free: 271.1 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/5.555, allocations: 4.276 MB / 3.656 GB, free: 271.1 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/5.557, allocations: 346.5 kB / 3.656 GB, free: 271.1 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/5.564, allocations: 7.827 MB / 3.664 GB, free: 270.3 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/5.566, allocations: 1.799 MB / 3.666 GB, free: 269.6 MB / 0.6984 GB Notification: Performance of SimCode: time 7.32e-07/5.566, allocations: 3.75 kB / 3.666 GB, free: 269.6 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe 2>&1)